public abstract class PerColumnSecondaryIndex extends SecondaryIndex
baseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, keyComparator, logger| Constructor and Description |
|---|
PerColumnSecondaryIndex() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
delete(java.nio.ByteBuffer rowKey,
Column col)
Called when a column has been tombstoned or replaced.
|
abstract void |
deleteForCleanup(java.nio.ByteBuffer rowKey,
Column col)
Called when a column has been removed due to a cleanup operation.
|
java.lang.String |
getNameForSystemKeyspace(java.nio.ByteBuffer column)
Return the unique name for this index and column
to be stored in the SystemKeyspace that tracks if each column is built
|
abstract void |
insert(java.nio.ByteBuffer rowKey,
Column col)
insert a column to the index
|
abstract void |
update(java.nio.ByteBuffer rowKey,
Column col)
update a column from the index
|
boolean |
validate(Column column) |
buildIndexAsync, buildIndexBlocking, createInstance, createSecondaryIndexSearcher, forceBlockingFlush, getBaseCfs, getColumnDefs, getIndexCfs, getIndexComparator, getIndexKeyFor, getIndexName, getLiveSize, indexes, init, invalidate, isIndexBuilt, reload, removeIndex, setIndexBuilt, setIndexRemoved, toString, truncateBlocking, validateOptionspublic abstract void delete(java.nio.ByteBuffer rowKey,
Column col)
rowKey - the underlying row key which is indexedcol - all the column infopublic abstract void deleteForCleanup(java.nio.ByteBuffer rowKey,
Column col)
public abstract void insert(java.nio.ByteBuffer rowKey,
Column col)
rowKey - the underlying row key which is indexedcol - all the column infopublic abstract void update(java.nio.ByteBuffer rowKey,
Column col)
rowKey - the underlying row key which is indexedcol - all the column infopublic java.lang.String getNameForSystemKeyspace(java.nio.ByteBuffer column)
SecondaryIndexgetNameForSystemKeyspace in class SecondaryIndexcolumn - the name of the columnpublic boolean validate(Column column)
validate in class SecondaryIndexCopyright © 2015 The Apache Software Foundation