Modifier and Type | Method and Description |
---|---|
static CounterCacheKey |
CounterCacheKey.create(java.util.UUID cfId,
java.nio.ByteBuffer partitionKey,
Clustering clustering,
ColumnDefinition c,
CellPath path) |
Modifier and Type | Method and Description |
---|---|
Clustering |
UpdateParameters.currentClustering() |
Modifier and Type | Method and Description |
---|---|
Row |
UpdateParameters.getPrefetchedRow(DecoratedKey key,
Clustering clustering) |
void |
UpdateParameters.newRow(Clustering clustering) |
Modifier and Type | Method and Description |
---|---|
java.util.NavigableSet<Clustering> |
StatementRestrictions.getClusteringColumns(QueryOptions options)
Returns the requested clustering columns.
|
java.util.NavigableSet<Clustering> |
TokenRestriction.valuesAsClustering(QueryOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
CQL3CasRequest.addConditions(Clustering clustering,
java.util.Collection<ColumnCondition> conds,
QueryOptions options) |
void |
ModificationStatement.addConditions(Clustering clustering,
CQL3CasRequest request,
QueryOptions options) |
void |
CQL3CasRequest.addExist(Clustering clustering) |
void |
CQL3CasRequest.addNotExist(Clustering clustering) |
Modifier and Type | Field and Description |
---|---|
Clustering |
LegacyLayout.LegacyCellName.clustering |
static Clustering |
Clustering.EMPTY
Empty clustering for tables having no clustering columns.
|
static Clustering |
Clustering.STATIC_CLUSTERING
The special cased clustering used by all static rows.
|
Modifier and Type | Method and Description |
---|---|
abstract Clustering |
CBuilder.build() |
abstract Clustering |
CBuilder.buildWith(java.nio.ByteBuffer value) |
abstract Clustering |
CBuilder.buildWith(java.util.List<java.nio.ByteBuffer> newValues) |
Clustering |
Clustering.copy(AbstractAllocator allocator) |
static Clustering |
LegacyLayout.decodeClustering(CFMetaData metadata,
java.nio.ByteBuffer value) |
Clustering |
Clustering.Serializer.deserialize(DataInputPlus in,
int version,
java.util.List<AbstractType<?>> types) |
Clustering |
ClusteringPrefix.Deserializer.deserializeNextClustering() |
Clustering |
LegacyLayout.LegacyBound.getAsClustering(CFMetaData metadata) |
Clustering |
ClusteringComparator.make(java.lang.Object... values)
Creates a row clustering based on the clustering values.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.NavigableSet<Clustering> |
MultiCBuilder.build()
Builds the
clusterings . |
Modifier and Type | Method and Description |
---|---|
int |
ClusteringComparator.compare(Clustering c1,
Clustering c2) |
static java.nio.ByteBuffer |
LegacyLayout.encodeCellName(CFMetaData metadata,
Clustering clustering,
java.nio.ByteBuffer columnName,
java.nio.ByteBuffer collectionElement) |
static java.nio.ByteBuffer |
LegacyLayout.encodeClustering(CFMetaData metadata,
Clustering clustering) |
DataRange |
DataRange.forPaging(AbstractBounds<PartitionPosition> range,
ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive)
Returns a new
DataRange for use when paging this range. |
Slice |
Slice.forPaging(ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive,
boolean reversed)
Returns a slice for continuing paging from the last returned clustering prefix.
|
abstract Slices |
Slices.forPaging(ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive,
boolean reversed)
Returns slices for continuing the paging of those slices given the last returned clustering prefix.
|
SinglePartitionReadCommand |
SinglePartitionReadCommand.forPaging(Clustering lastReturned,
int pageSize)
Returns a new command suitable to paging from the last returned row.
|
ClockAndCount |
ColumnFamilyStore.getCachedCounter(java.nio.ByteBuffer partitionKey,
Clustering clustering,
ColumnDefinition column,
CellPath path) |
boolean |
Slices.InOrderTester.includes(Clustering value) |
boolean |
RangeTombstoneList.isDeleted(Clustering clustering,
Cell cell)
Returns whether the given name/timestamp pair is deleted by one of the tombstone
of this RangeTombstoneList.
|
static Slice |
Slice.make(Clustering clustering) |
static Slice |
Slice.make(Clustering start,
Clustering end) |
void |
ColumnFamilyStore.putCachedCounter(java.nio.ByteBuffer partitionKey,
Clustering clustering,
ColumnDefinition column,
CellPath path,
ClockAndCount clockAndCount) |
RangeTombstone |
DeletionInfo.rangeCovering(Clustering name) |
RangeTombstone |
MutableDeletionInfo.rangeCovering(Clustering name) |
RangeTombstone |
RangeTombstoneList.search(Clustering name) |
DeletionTime |
RangeTombstoneList.searchDeletionTime(Clustering name)
Returns the DeletionTime for the tombstone overlapping
name (there can't be more than one),
or null if name is not covered by any tombstone. |
abstract boolean |
Slices.selects(Clustering clustering)
Whether a given clustering (row) is selected by this
Slices object. |
boolean |
Slice.selects(ClusteringComparator comparator,
Clustering clustering)
Returns whether a given clustering is selected by this slice.
|
boolean |
PartitionRangeReadCommand.selects(DecoratedKey partitionKey,
Clustering clustering) |
abstract boolean |
ReadCommand.selects(DecoratedKey partitionKey,
Clustering clustering)
Whether the provided row, identified by its primary key components, is selected by
this read command.
|
boolean |
SinglePartitionReadCommand.selects(DecoratedKey partitionKey,
Clustering clustering) |
void |
Clustering.Serializer.serialize(Clustering clustering,
DataOutputPlus out,
int version,
java.util.List<AbstractType<?>> types) |
long |
Clustering.Serializer.serializedSize(Clustering clustering,
int version,
java.util.List<AbstractType<?>> types) |
Modifier and Type | Method and Description |
---|---|
java.util.NavigableSet<Clustering> |
ClusteringIndexNamesFilter.requestedRows()
The set of requested rows.
|
Modifier and Type | Method and Description |
---|---|
ClusteringIndexFilter |
ClusteringIndexFilter.forPaging(ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive)
Returns a filter for continuing the paging of this filter given the last returned clustering prefix.
|
ClusteringIndexNamesFilter |
ClusteringIndexNamesFilter.forPaging(ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive) |
ClusteringIndexSliceFilter |
ClusteringIndexSliceFilter.forPaging(ClusteringComparator comparator,
Clustering lastReturned,
boolean inclusive) |
boolean |
ClusteringIndexFilter.selects(Clustering clustering)
Whether a given row is selected by this filter.
|
boolean |
ClusteringIndexNamesFilter.selects(Clustering clustering) |
boolean |
ClusteringIndexSliceFilter.selects(Clustering clustering) |
Constructor and Description |
---|
ClusteringIndexNamesFilter(java.util.NavigableSet<Clustering> clusterings,
boolean reversed) |
Modifier and Type | Method and Description |
---|---|
protected Clustering |
AbstractSimplePerColumnSecondaryIndex.makeIndexClustering(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell) |
protected Clustering |
AbstractSimplePerColumnSecondaryIndex.makeIndexClustering(java.nio.ByteBuffer rowKey,
Clustering clustering,
CellPath path) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractSimplePerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path,
DeletionTime deletion,
OpOrder.Group opGroup) |
void |
AbstractSimplePerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
Called when a column has been tombstoned or replaced.
|
void |
AbstractSimplePerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.deleteForCleanup(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
Called when a column has been removed due to a cleanup operation.
|
protected abstract java.nio.ByteBuffer |
AbstractSimplePerColumnSecondaryIndex.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath cellPath) |
protected java.nio.ByteBuffer |
AbstractSimplePerColumnSecondaryIndex.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell) |
void |
AbstractSimplePerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
LivenessInfo info,
OpOrder.Group opGroup) |
void |
AbstractSimplePerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup) |
abstract void |
PerColumnSecondaryIndex.insert(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup)
insert a column to the index
|
void |
SecondaryIndexManager.Updater.insert(Clustering clustering,
Cell cell)
called when constructing the index against pre-existing data
|
protected Clustering |
AbstractSimplePerColumnSecondaryIndex.makeIndexClustering(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell) |
protected Clustering |
AbstractSimplePerColumnSecondaryIndex.makeIndexClustering(java.nio.ByteBuffer rowKey,
Clustering clustering,
CellPath path) |
void |
PerColumnSecondaryIndex.maybeDelete(java.nio.ByteBuffer partitionKey,
Clustering clustering,
DeletionTime deletion,
OpOrder.Group opGroup)
For indexes on the primary key, delete the given PK.
|
void |
PerColumnSecondaryIndex.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec)
For indexes on the primary key, index the given PK.
|
void |
SecondaryIndexManager.Updater.maybeIndex(Clustering clustering,
long timestamp,
int ttl,
DeletionTime deletion)
Called when a row with the provided clustering and row infos is inserted
|
void |
SecondaryIndexManager.Updater.remove(Clustering clustering,
Cell current)
called when lazy-updating the index during compaction (CASSANDRA-2897)
|
void |
AbstractSimplePerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell oldCell,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
abstract void |
PerColumnSecondaryIndex.update(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell oldCell,
Cell cell,
OpOrder.Group opGroup,
int nowInSec)
update a column from the index
|
void |
SecondaryIndexManager.Updater.update(Clustering clustering,
Cell oldCell,
Cell cell)
called when updating the index from a memtable
|
void |
AbstractSimplePerColumnSecondaryIndex.validate(Clustering clustering) |
abstract void |
SecondaryIndex.validate(Clustering clustering) |
void |
SecondaryIndexManager.validate(Clustering clustering) |
Modifier and Type | Field and Description |
---|---|
Clustering |
CompositesIndex.IndexedEntry.indexClustering |
Clustering |
CompositesIndex.IndexedEntry.indexedEntryClustering |
Modifier and Type | Method and Description |
---|---|
void |
CompositesIndexOnClusteringKey.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndexOnPartitionKey.delete(java.nio.ByteBuffer rowKey,
Clustering clustering,
Cell cell,
OpOrder.Group opGroup,
int nowInSec) |
protected java.nio.ByteBuffer |
CompositesIndexOnClusteringKey.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected java.nio.ByteBuffer |
CompositesIndexOnCollectionKey.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected java.nio.ByteBuffer |
CompositesIndexOnCollectionKeyAndValue.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected java.nio.ByteBuffer |
CompositesIndexOnCollectionValue.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected java.nio.ByteBuffer |
CompositesIndexOnPartitionKey.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected java.nio.ByteBuffer |
CompositesIndexOnRegular.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
void |
CompositesIndexOnClusteringKey.maybeDelete(java.nio.ByteBuffer partitionKey,
Clustering clustering,
DeletionTime deletion,
OpOrder.Group opGroup) |
void |
CompositesIndexOnClusteringKey.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec) |
void |
CompositesIndexOnPartitionKey.maybeIndex(java.nio.ByteBuffer partitionKey,
Clustering clustering,
long timestamp,
int ttl,
OpOrder.Group opGroup,
int nowInSec) |
Constructor and Description |
---|
IndexedEntry(DecoratedKey indexValue,
Clustering indexClustering,
long timestamp,
java.nio.ByteBuffer indexedKey,
Clustering indexedEntryClustering) |
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
KeysIndex.getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
Modifier and Type | Method and Description |
---|---|
Clustering |
PartitionUpdate.CounterMark.clustering() |
Modifier and Type | Method and Description |
---|---|
SearchIterator<Clustering,Row> |
AbstractThreadUnsafePartition.searchIterator(ColumnFilter columns,
boolean reversed) |
SearchIterator<Clustering,Row> |
AtomicBTreePartition.searchIterator(ColumnFilter columns,
boolean reversed) |
SearchIterator<Clustering,Row> |
Partition.searchIterator(ColumnFilter columns,
boolean reversed)
Returns an iterator that allows to search specific rows efficiently.
|
Modifier and Type | Method and Description |
---|---|
Row |
AbstractThreadUnsafePartition.getRow(Clustering clustering) |
Row |
AtomicBTreePartition.getRow(Clustering clustering) |
Row |
Partition.getRow(Clustering clustering)
Returns the row corresponding to the provided clustering, or null if there is not such row.
|
Modifier and Type | Field and Description |
---|---|
protected Clustering |
BTreeBackedRow.Builder.clustering |
Modifier and Type | Method and Description |
---|---|
Clustering |
BTreeBackedRow.clustering() |
Clustering |
BTreeBackedRow.Builder.clustering() |
Clustering |
Row.clustering()
The clustering values for this row.
|
Clustering |
Row.Builder.clustering()
The clustering for the row that is currently being built.
|
Clustering |
Row.Merger.mergedClustering() |
Modifier and Type | Method and Description |
---|---|
static BTreeBackedRow |
BTreeBackedRow.create(Clustering clustering,
Columns columns,
LivenessInfo primaryKeyLivenessInfo,
DeletionTime deletion,
java.lang.Object[] btree) |
static BTreeBackedRow |
BTreeBackedRow.emptyDeletedRow(Clustering clustering,
DeletionTime deletion) |
static BTreeBackedRow |
BTreeBackedRow.emptyRow(Clustering clustering) |
void |
BTreeBackedRow.Builder.newRow(Clustering clustering) |
void |
Row.Builder.newRow(Clustering clustering)
Prepares the builder to build a new row of clustering
clustering . |
static BTreeBackedRow |
BTreeBackedRow.noCellLiveRow(Clustering clustering,
LivenessInfo primaryKeyLivenessInfo) |
void |
RowDiffListener.onCell(int i,
Clustering clustering,
Cell merged,
Cell original)
Called for any cell that is either in the merged row or in input
i . |
void |
RowDiffListener.onComplexDeletion(int i,
Clustering clustering,
ColumnDefinition column,
DeletionTime merged,
DeletionTime original)
Called for every (non-live) complex deletion of any complex column present in either the merged row of input
i . |
void |
RowDiffListener.onDeletion(int i,
Clustering clustering,
DeletionTime merged,
DeletionTime original)
Called for the row deletion of input
i . |
void |
RowDiffListener.onPrimaryKeyLivenessInfo(int i,
Clustering clustering,
LivenessInfo merged,
LivenessInfo original)
Called for the row primary key liveness info of input
i . |
static long |
Cells.reconcile(Clustering clustering,
Cell existing,
Cell update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater)
Reconciles/merges two cells, one being an update to an existing cell,
yielding index updates if appropriate.
|
static long |
Cells.reconcileComplex(Clustering clustering,
ColumnDefinition column,
java.util.Iterator<Cell> existing,
java.util.Iterator<Cell> update,
DeletionTime deletion,
Row.Builder builder,
int nowInSec,
SecondaryIndexManager.Updater indexUpdater)
Computes the reconciliation of a complex column given its pre-existing
cells and the ones it is updated with, and generating index update if
appropriate.
|
static BTreeBackedRow |
BTreeBackedRow.singleCellRow(Clustering clustering,
Cell cell) |
Copyright © 2015 The Apache Software Foundation