Class DataTracker

java.lang.Object
org.apache.cassandra.index.sasi.conf.DataTracker

public class DataTracker extends Object
a pared-down version of DataTracker and DT.View. need one for each index of each column family
  • Constructor Details

  • Method Details

    • getView

      public View 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

      public boolean hasSSTable(SSTableReader sstable)
    • dropData

      public void dropData(Collection<SSTableReader> sstablesToRebuild)
    • dropData

      public void dropData(long truncateUntil)