Package org.apache.cassandra.db
Class RangeTombstone
- java.lang.Object
-
- org.apache.cassandra.db.RangeTombstone
-
public class RangeTombstone extends java.lang.ObjectA 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 aPartitionobject, and more precisely through the use of aRangeTombstoneListin aDeletionInfoobject.
-
-
Constructor Summary
Constructors Constructor Description RangeTombstone(Slice slice, DeletionTime deletion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlicedeletedSlice()The slice of rows that is deleted by this range tombstone.DeletionTimedeletionTime()The deletion time for this (range) tombstone.booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString(ClusteringComparator comparator)
-
-
-
Constructor Detail
-
RangeTombstone
public RangeTombstone(Slice slice, DeletionTime deletion)
-
-
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.
-
toString
public java.lang.String toString(ClusteringComparator comparator)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-