Class AbstractRowIndexEntry

  • All Implemented Interfaces:
    IMeasurableMemory
    Direct Known Subclasses:
    RowIndexEntry

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

      • position

        public final long position
    • Constructor Detail

      • AbstractRowIndexEntry

        public AbstractRowIndexEntry​(long position)
    • Method Detail

      • 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.
      • blockCount

        public int blockCount()
      • getSSTableFormat

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

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