Class RangeTombstone

java.lang.Object
org.apache.cassandra.db.RangeTombstone

public class RangeTombstone extends 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 Details

  • Method Details

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

      public String toString(ClusteringComparator comparator)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object