public abstract class CollectionKeyIndexBase extends CassandraIndex
Index.CollatedViewIndexBuildingSupport, Index.IndexBuildingSupport, Index.Indexer, Index.LoadType, Index.Searcher
baseCfs, functions, indexCfs, indexedColumn, metadata
INDEX_BUILDER_SUPPORT
Constructor and Description |
---|
CollectionKeyIndexBase(ColumnFamilyStore baseCfs,
IndexMetadata indexDef) |
Modifier and Type | Method and Description |
---|---|
<T> CBuilder |
buildIndexClusteringPrefix(java.nio.ByteBuffer partitionKey,
ClusteringPrefix<T> prefix,
CellPath path)
Used to construct an the clustering for an entry in the index table based on values from the base data.
|
IndexEntry |
decodeEntry(DecoratedKey indexedValue,
Row indexEntry)
Used at search time to convert a row in the index table into a simple struct containing the values required
to retrieve the corresponding row from the base table.
|
customExpressionValueType, deleteStaleEntry, dependsOn, getBackingTable, getBlockingFlushTask, getEstimatedResultRows, getIndexCfs, getIndexComparator, getIndexedColumn, getIndexedValue, getIndexMetadata, getInitializationTask, getInvalidateTask, getMetadataReloadTask, getPostIndexQueryFilter, getTruncateTask, indexCfsMetadata, indexerFor, isStale, newIndex, postProcessorFor, register, searcherFor, shouldBuildBlocking, supportsExpression, supportsOperator, validate, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlockingFlushTask, getBuildTaskSupport, getFlushObserver, getPreJoinTask, getRecoveryTaskSupport, getSupportedLoadTypeOnFailure, supportsReplicaFilteringProtection
public CollectionKeyIndexBase(ColumnFamilyStore baseCfs, IndexMetadata indexDef)
public <T> CBuilder buildIndexClusteringPrefix(java.nio.ByteBuffer partitionKey, ClusteringPrefix<T> prefix, CellPath path)
CassandraIndex
buildIndexClusteringPrefix
in class CassandraIndex
partitionKey
- from the base data being indexedprefix
- from the base data being indexedpath
- from the base data being indexedpublic IndexEntry decodeEntry(DecoratedKey indexedValue, Row indexEntry)
CassandraIndex
decodeEntry
in class CassandraIndex
indexedValue
- the partition key of the indexed table (i.e. the value that was indexed)indexEntry
- a row from the index tableCopyright © 2009-2022 The Apache Software Foundation