Package org.apache.cassandra.io.sstable
Class AbstractRowIndexEntry
java.lang.Object
org.apache.cassandra.io.sstable.AbstractRowIndexEntry
- All Implemented Interfaces:
IMeasurableMemory
- Direct Known Subclasses:
RowIndexEntry
The base RowIndexEntry is not stored on disk, only specifies a position in the data file
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongRow position in a data fileabstract SSTableFormat<?,?> booleanabstract voidSerialize this entry for key cacheMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.cache.IMeasurableMemory
unsharedHeapSize
-
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
-
blockCount
public int blockCount() -
getSSTableFormat
-
serializeForCache
Serialize this entry for key cache- Parameters:
out- the output stream for serialized entry- Throws:
IOException
-