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 CellNameType |
buildIndexComparator(CFMetaData baseMetadata,
ColumnDefinition columnDef) |
CompositesIndex.IndexedEntry |
decodeEntry(DecoratedKey indexedValue,
Cell indexEntry) |
protected java.nio.ByteBuffer |
getIndexedValue(java.nio.ByteBuffer rowKey,
Cell cell) |
protected AbstractType<?> |
getIndexKeyComparator() |
boolean |
indexes(CellName name)
Returns true if the provided cell name is indexed by this secondary index.
|
boolean |
isStale(CompositesIndex.IndexedEntry entry,
ColumnFamily data,
long now) |
protected Composite |
makeIndexColumnPrefix(java.nio.ByteBuffer rowKey,
Composite cellName) |
boolean |
supportsOperator(Operator operator)
Returns true if the index supports lookups for the given operator, false otherwise.
|
create, createSecondaryIndexSearcher, delete, getExpressionComparator, getIndexComparator, getIndexComparator, makeIndexColumnName, validateOptionsdelete, deleteForCleanup, estimateResultRows, expressionString, forceBlockingFlush, getIndexCfs, getIndexName, init, insert, invalidate, reload, removeIndex, truncateBlocking, update, validategetNameForSystemKeyspace, validatebuildIndexAsync, buildIndexBlocking, createInstance, getBaseCfs, getColumnDefs, getIndexKeyFor, indexes, isIndexBuilt, isQueryable, setIndexBuilt, setIndexRemoved, toStringpublic static CellNameType buildIndexComparator(CFMetaData baseMetadata, ColumnDefinition columnDef)
protected AbstractType<?> getIndexKeyComparator()
getIndexKeyComparator in class AbstractSimplePerColumnSecondaryIndexprotected java.nio.ByteBuffer getIndexedValue(java.nio.ByteBuffer rowKey,
Cell cell)
getIndexedValue in class AbstractSimplePerColumnSecondaryIndexprotected Composite makeIndexColumnPrefix(java.nio.ByteBuffer rowKey, Composite cellName)
makeIndexColumnPrefix in class CompositesIndexpublic CompositesIndex.IndexedEntry decodeEntry(DecoratedKey indexedValue, Cell indexEntry)
decodeEntry in class CompositesIndexpublic boolean supportsOperator(Operator operator)
SecondaryIndexsupportsOperator in class SecondaryIndexpublic boolean indexes(CellName name)
SecondaryIndexindexes in class SecondaryIndexpublic boolean isStale(CompositesIndex.IndexedEntry entry, ColumnFamily data, long now)
isStale in class CompositesIndexCopyright © 2018 The Apache Software Foundation