public class KeysIndex extends AbstractSimplePerColumnSecondaryIndex
baseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, 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() |
void |
init(ColumnDefinition columnDef) |
protected java.nio.ByteBuffer |
makeIndexColumnName(java.nio.ByteBuffer rowKey,
IColumn column) |
void |
validateOptions()
Validates the index_options passed in the ColumnDef
|
delete, expressionString, forceBlockingFlush, getIndexCfs, getIndexName, getLiveSize, init, insert, invalidate, reload, removeIndex, truncate, update
getNameForSystemTable, validate
buildIndexAsync, buildIndexBlocking, createInstance, getBaseCfs, getColumnDefs, getIndexComparator, getIndexKeyFor, indexes, isIndexBuilt, setIndexBuilt, setIndexRemoved
public void init(ColumnDefinition columnDef)
init
in class AbstractSimplePerColumnSecondaryIndex
protected java.nio.ByteBuffer makeIndexColumnName(java.nio.ByteBuffer rowKey, IColumn column)
makeIndexColumnName
in class AbstractSimplePerColumnSecondaryIndex
public SecondaryIndexSearcher createSecondaryIndexSearcher(java.util.Set<java.nio.ByteBuffer> columns)
SecondaryIndex
createSecondaryIndexSearcher
in class SecondaryIndex
columns
- the list of columns which belong to this index typepublic void validateOptions() throws ConfigurationException
SecondaryIndex
validateOptions
in class SecondaryIndex
ConfigurationException
protected AbstractType getExpressionComparator()
getExpressionComparator
in class AbstractSimplePerColumnSecondaryIndex
Copyright © 2014 The Apache Software Foundation