Class ColumnIndex
java.lang.Object
org.apache.cassandra.index.sasi.conf.ColumnIndex
-
Constructor Summary
ConstructorsConstructorDescriptionColumnIndex(AbstractType<?> keyValidator, ColumnMetadata column, IndexMetadata metadata) -
Method Summary
Modifier and TypeMethodDescriptionvoiddiscardMemtable(Memtable parent) voiddropData(long truncateUntil) voiddropData(Collection<SSTableReader> sstablesToRebuild) getMode()AbstractType<?>static ByteBuffergetValueOf(ColumnMetadata column, Row row, long nowInSecs) getView()booleanhasSSTable(SSTableReader sstable) longindex(DecoratedKey key, Row row) init(Set<SSTableReader> sstables) Initialize this column index with specific set of SSTables.booleanbooleanAbstractType<?>booleanvoidvoidswitchMemtable(Memtable parent) voidupdate(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables)
-
Constructor Details
-
ColumnIndex
-
-
Method Details
-
init
Initialize this column index with specific set of SSTables.- Parameters:
sstables- The sstables to be used by index initially.- Returns:
- A collection of sstables which don't have this specific index attached to them.
-
keyValidator
-
index
-
switchMemtable
public void switchMemtable() -
switchMemtable
-
discardMemtable
-
getCurrentMemtable
-
getPendingMemtables
-
searchMemtable
-
update
-
getDefinition
-
getValidator
-
getComponent
-
getMode
-
getColumnName
-
getIndexName
-
getAnalyzer
-
getView
-
hasSSTable
-
dropData
-
dropData
public void dropData(long truncateUntil) -
isIndexed
public boolean isIndexed() -
isLiteral
public boolean isLiteral() -
supports
-
getValueOf
-