public class CompositesIndexOnCollectionKey extends CompositesIndexIncludingCollectionKey
CompositesIndex.IndexedEntry
columnDef, indexCfs
baseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, INDEX_ENTRIES_OPTION_NAME, INDEX_KEYS_OPTION_NAME, INDEX_VALUES_OPTION_NAME, keyComparator, logger
Constructor and Description |
---|
CompositesIndexOnCollectionKey() |
Modifier and Type | Method and Description |
---|---|
protected java.nio.ByteBuffer |
getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path) |
protected AbstractType<?> |
getIndexKeyComparator() |
boolean |
isStale(Row data,
java.nio.ByteBuffer indexValue,
int nowInSec) |
boolean |
supportsOperator(Operator operator)
Returns true if the index supports lookups for the given operator, false otherwise.
|
buildIndexClusteringPrefix, decodeEntry
addGenericClusteringColumns, addIndexClusteringColumns, create, createSecondaryIndexSearcher, delete, validateOptions
delete, delete, deleteForCleanup, estimateResultRows, forceBlockingFlush, getIndexCfs, getIndexComparator, getIndexedValue, getIndexName, indexedColumn, indexes, init, insert, insert, invalidate, makeIndexBound, makeIndexClustering, makeIndexClustering, reload, removeIndex, toString, truncateBlocking, update, validate, validate, validate
getNameForSystemKeyspace, indexPrimaryKeyColumn, indexRow, maybeDelete, maybeIndex
baseKeyspace, baseTable, buildIndexAsync, buildIndexBlocking, createInstance, getBaseCfs, getColumnDefs, getIndexKeyFor, isIndexBuilt, newIndexMetadata, setIndexBuilt, setIndexRemoved
protected AbstractType<?> getIndexKeyComparator()
getIndexKeyComparator
in class AbstractSimplePerColumnSecondaryIndex
protected java.nio.ByteBuffer getIndexedValue(java.nio.ByteBuffer rowKey, Clustering clustering, java.nio.ByteBuffer cellValue, CellPath path)
getIndexedValue
in class AbstractSimplePerColumnSecondaryIndex
public boolean supportsOperator(Operator operator)
SecondaryIndex
supportsOperator
in class SecondaryIndex
public boolean isStale(Row data, java.nio.ByteBuffer indexValue, int nowInSec)
isStale
in class CompositesIndex
Copyright © 2015 The Apache Software Foundation