public static class LegacyLayout.LegacyRangeTombstone extends java.lang.Object implements LegacyLayout.LegacyAtom
This is used as a temporary object to facilitate dealing with the legacy format, this is not meant to be optimal.
Modifier and Type | Field and Description |
---|---|
DeletionTime |
deletionTime |
LegacyLayout.LegacyBound |
start |
LegacyLayout.LegacyBound |
stop |
Constructor and Description |
---|
LegacyRangeTombstone(LegacyLayout.LegacyBound start,
LegacyLayout.LegacyBound stop,
DeletionTime deletionTime) |
Modifier and Type | Method and Description |
---|---|
LegacyLayout.LegacyCell |
asCell() |
LegacyLayout.LegacyRangeTombstone |
asRangeTombstone() |
ClusteringPrefix |
clustering() |
boolean |
isCell() |
boolean |
isCollectionTombstone() |
boolean |
isRowAtom(CFMetaData metadata)
Whether the atom is one that becomes part of a
Row in the new storage engine, meaning it is either
as cell or a legacy range tombstone that covers a single row, or parts of one. |
boolean |
isRowDeletion(CFMetaData metadata) |
boolean |
isStatic() |
java.lang.String |
toString() |
LegacyLayout.LegacyRangeTombstone |
withNewEnd(LegacyLayout.LegacyBound newStop) |
LegacyLayout.LegacyRangeTombstone |
withNewEnd(Slice.Bound newEnd) |
LegacyLayout.LegacyRangeTombstone |
withNewStart(LegacyLayout.LegacyBound newStart) |
LegacyLayout.LegacyRangeTombstone |
withNewStart(Slice.Bound newStart) |
public final LegacyLayout.LegacyBound start
public final LegacyLayout.LegacyBound stop
public final DeletionTime deletionTime
public LegacyRangeTombstone(LegacyLayout.LegacyBound start, LegacyLayout.LegacyBound stop, DeletionTime deletionTime)
public ClusteringPrefix clustering()
clustering
in interface LegacyLayout.LegacyAtom
for static inconsistencies explained
public LegacyLayout.LegacyRangeTombstone withNewStart(LegacyLayout.LegacyBound newStart)
public LegacyLayout.LegacyRangeTombstone withNewStart(Slice.Bound newStart)
public LegacyLayout.LegacyRangeTombstone withNewEnd(LegacyLayout.LegacyBound newStop)
public LegacyLayout.LegacyRangeTombstone withNewEnd(Slice.Bound newEnd)
public boolean isCell()
isCell
in interface LegacyLayout.LegacyAtom
public boolean isStatic()
isStatic
in interface LegacyLayout.LegacyAtom
public LegacyLayout.LegacyCell asCell()
asCell
in interface LegacyLayout.LegacyAtom
public LegacyLayout.LegacyRangeTombstone asRangeTombstone()
asRangeTombstone
in interface LegacyLayout.LegacyAtom
public boolean isRowAtom(CFMetaData metadata)
LegacyLayout.LegacyAtom
Row
in the new storage engine, meaning it is either
as cell or a legacy range tombstone that covers a single row, or parts of one.isRowAtom
in interface LegacyLayout.LegacyAtom
public boolean isCollectionTombstone()
public boolean isRowDeletion(CFMetaData metadata)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2021 The Apache Software Foundation