public class CompositesIndexOnCollectionValue extends CompositesIndex
CompositesIndex.IndexedEntrycolumnDef, indexCfsbaseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, INDEX_ENTRIES_OPTION_NAME, INDEX_KEYS_OPTION_NAME, INDEX_VALUES_OPTION_NAME, keyComparator, logger| Constructor and Description |
|---|
CompositesIndexOnCollectionValue() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addClusteringColumns(CFMetaData.Builder indexMetadata,
CFMetaData baseMetadata,
ColumnDefinition columnDef) |
protected CBuilder |
buildIndexClusteringPrefix(java.nio.ByteBuffer rowKey,
ClusteringPrefix prefix,
CellPath path) |
CompositesIndex.IndexedEntry |
decodeEntry(DecoratedKey indexedValue,
Row indexEntry) |
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.
|
addGenericClusteringColumns, addIndexClusteringColumns, create, createSecondaryIndexSearcher, delete, validateOptionsdelete, delete, deleteForCleanup, estimateResultRows, forceBlockingFlush, getIndexCfs, getIndexComparator, getIndexedValue, getIndexName, indexedColumn, indexes, init, insert, insert, invalidate, makeIndexBound, makeIndexClustering, makeIndexClustering, reload, removeIndex, toString, truncateBlocking, update, validate, validate, validategetNameForSystemKeyspace, indexPrimaryKeyColumn, indexRow, maybeDelete, maybeIndexbaseKeyspace, baseTable, buildIndexAsync, buildIndexBlocking, createInstance, getBaseCfs, getColumnDefs, getIndexKeyFor, isIndexBuilt, newIndexMetadata, setIndexBuilt, setIndexRemovedpublic static void addClusteringColumns(CFMetaData.Builder indexMetadata, CFMetaData baseMetadata, ColumnDefinition columnDef)
protected AbstractType<?> getIndexKeyComparator()
getIndexKeyComparator in class AbstractSimplePerColumnSecondaryIndexprotected java.nio.ByteBuffer getIndexedValue(java.nio.ByteBuffer rowKey,
Clustering clustering,
java.nio.ByteBuffer cellValue,
CellPath path)
getIndexedValue in class AbstractSimplePerColumnSecondaryIndexprotected CBuilder buildIndexClusteringPrefix(java.nio.ByteBuffer rowKey, ClusteringPrefix prefix, CellPath path)
buildIndexClusteringPrefix in class AbstractSimplePerColumnSecondaryIndexpublic CompositesIndex.IndexedEntry decodeEntry(DecoratedKey indexedValue, Row indexEntry)
decodeEntry in class CompositesIndexpublic boolean supportsOperator(Operator operator)
SecondaryIndexsupportsOperator in class SecondaryIndexpublic boolean isStale(Row data, java.nio.ByteBuffer indexValue, int nowInSec)
isStale in class CompositesIndexCopyright © 2015 The Apache Software Foundation