Class RangeTombstone


  • public class RangeTombstone
    extends java.lang.Object
    A range tombstone is a tombstone that covers a slice/range of rows.

    Note that in most of the storage engine, a range tombstone is actually represented by its separated opening and closing bound, see RangeTombstoneMarker. So in practice, this is only used when full partitions are materialized in memory in a Partition object, and more precisely through the use of a RangeTombstoneList in a DeletionInfo object.

    • Constructor Detail

    • Method Detail

      • deletedSlice

        public Slice deletedSlice()
        The slice of rows that is deleted by this range tombstone.
        Returns:
        the slice of rows that is deleted by this range tombstone.
      • deletionTime

        public DeletionTime deletionTime()
        The deletion time for this (range) tombstone.
        Returns:
        the deletion time for this range tombstone.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object