public abstract class PerRowSecondaryIndex extends SecondaryIndex
baseCfs, columnDefs, CUSTOM_INDEX_OPTION_NAME, keyComparator, logger| Constructor and Description |
|---|
PerRowSecondaryIndex() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
delete(DecoratedKey key)
cleans up deleted columns from cassandra cleanup compaction
|
java.lang.String |
getNameForSystemKeyspace(java.nio.ByteBuffer columnName)
Return the unique name for this index and column
to be stored in the SystemKeyspace that tracks if each column is built
|
abstract void |
index(java.nio.ByteBuffer rowKey,
ColumnFamily cf)
Index the given row.
|
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 index(java.nio.ByteBuffer rowKey,
ColumnFamily cf)
rowKey - the row keycf - the cf data to be indexedpublic abstract void delete(DecoratedKey key)
key - public java.lang.String getNameForSystemKeyspace(java.nio.ByteBuffer columnName)
SecondaryIndexgetNameForSystemKeyspace in class SecondaryIndexcolumnName - the name of the columnpublic boolean validate(Column column)
validate in class SecondaryIndexCopyright © 2015 The Apache Software Foundation