Class DataTracker
java.lang.Object
org.apache.cassandra.index.sasi.conf.DataTracker
a pared-down version of DataTracker and DT.View. need one for each index of each column family
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddropData(long truncateUntil) voiddropData(Collection<SSTableReader> sstablesToRebuild) getView()booleanhasSSTable(SSTableReader sstable) update(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables) Replaces old SSTables with new by creating new immutable tracker.
-
Constructor Details
-
DataTracker
-
-
Method Details
-
getView
-
update
public Iterable<SSTableReader> update(Collection<SSTableReader> oldSSTables, Collection<SSTableReader> newSSTables) Replaces old SSTables with new by creating new immutable tracker.- Parameters:
oldSSTables- A set of SSTables to remove.newSSTables- A set of SSTables to add to tracker.- Returns:
- A collection of SSTables which don't have component attached for current index.
-
hasSSTable
-
dropData
-
dropData
public void dropData(long truncateUntil)
-