Class AbstractRowIndexEntry

java.lang.Object
org.apache.cassandra.io.sstable.AbstractRowIndexEntry
All Implemented Interfaces:
IMeasurableMemory
Direct Known Subclasses:
RowIndexEntry

public abstract class AbstractRowIndexEntry extends Object implements IMeasurableMemory
The base RowIndexEntry is not stored on disk, only specifies a position in the data file
  • Field Details

    • position

      public final long position
  • Constructor Details

    • AbstractRowIndexEntry

      public AbstractRowIndexEntry(long position)
  • Method Details

    • getPosition

      public long getPosition()
      Row position in a data file
    • isIndexed

      public boolean isIndexed()
      Returns:
      true if this index entry contains the row-level tombstone and column summary. Otherwise, caller should fetch these from the row header.
    • deletionTime

      public DeletionTime deletionTime()
    • blockCount

      public int blockCount()
    • getSSTableFormat

      public abstract SSTableFormat<?,?> getSSTableFormat()
    • serializeForCache

      public abstract void serializeForCache(DataOutputPlus out) throws IOException
      Serialize this entry for key cache
      Parameters:
      out - the output stream for serialized entry
      Throws:
      IOException