public class KeysIndex extends AbstractSimplePerColumnSecondaryIndex
columnDef, indexCfsbaseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, keyComparator, logger| Constructor and Description |
|---|
KeysIndex() |
| Modifier and Type | Method and Description |
|---|---|
SecondaryIndexSearcher |
createSecondaryIndexSearcher(java.util.Set<java.nio.ByteBuffer> columns)
Called at query time
Creates a implementation specific searcher instance for this index type
|
protected AbstractType |
getExpressionComparator() |
protected java.nio.ByteBuffer |
getIndexedValue(java.nio.ByteBuffer rowKey,
Column column) |
boolean |
isIndexEntryStale(java.nio.ByteBuffer indexedValue,
ColumnFamily data,
long now) |
protected java.nio.ByteBuffer |
makeIndexColumnName(java.nio.ByteBuffer rowKey,
Column column) |
void |
validateOptions()
Validates the index_options passed in the ColumnDef
|
delete, deleteForCleanup, expressionString, forceBlockingFlush, getIndexCfs, getIndexName, getLiveSize, init, insert, invalidate, reload, removeIndex, truncateBlocking, updategetNameForSystemKeyspace, validatebuildIndexAsync, buildIndexBlocking, createInstance, getBaseCfs, getColumnDefs, getIndexComparator, getIndexKeyFor, indexes, isIndexBuilt, setIndexBuilt, setIndexRemoved, toStringprotected java.nio.ByteBuffer getIndexedValue(java.nio.ByteBuffer rowKey,
Column column)
getIndexedValue in class AbstractSimplePerColumnSecondaryIndexprotected java.nio.ByteBuffer makeIndexColumnName(java.nio.ByteBuffer rowKey,
Column column)
makeIndexColumnName in class AbstractSimplePerColumnSecondaryIndexpublic SecondaryIndexSearcher createSecondaryIndexSearcher(java.util.Set<java.nio.ByteBuffer> columns)
SecondaryIndexcreateSecondaryIndexSearcher in class SecondaryIndexcolumns - the list of columns which belong to this index typepublic boolean isIndexEntryStale(java.nio.ByteBuffer indexedValue,
ColumnFamily data,
long now)
public void validateOptions()
throws ConfigurationException
SecondaryIndexvalidateOptions in class SecondaryIndexConfigurationExceptionprotected AbstractType getExpressionComparator()
getExpressionComparator in class AbstractSimplePerColumnSecondaryIndexCopyright © 2015 The Apache Software Foundation