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(ClusteringBound newEnd) |
LegacyLayout.LegacyRangeTombstone |
withNewEnd(LegacyLayout.LegacyBound newStop) |
LegacyLayout.LegacyRangeTombstone |
withNewStart(ClusteringBound newStart) |
LegacyLayout.LegacyRangeTombstone |
withNewStart(LegacyLayout.LegacyBound 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.LegacyAtomfor static inconsistencies explainedpublic LegacyLayout.LegacyRangeTombstone withNewStart(LegacyLayout.LegacyBound newStart)
public LegacyLayout.LegacyRangeTombstone withNewStart(ClusteringBound newStart)
public LegacyLayout.LegacyRangeTombstone withNewEnd(LegacyLayout.LegacyBound newStop)
public LegacyLayout.LegacyRangeTombstone withNewEnd(ClusteringBound newEnd)
public boolean isCell()
isCell in interface LegacyLayout.LegacyAtompublic boolean isStatic()
isStatic in interface LegacyLayout.LegacyAtompublic LegacyLayout.LegacyCell asCell()
asCell in interface LegacyLayout.LegacyAtompublic LegacyLayout.LegacyRangeTombstone asRangeTombstone()
asRangeTombstone in interface LegacyLayout.LegacyAtompublic boolean isRowAtom(CFMetaData metadata)
LegacyLayout.LegacyAtomRow 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.LegacyAtompublic boolean isCollectionTombstone()
public boolean isRowDeletion(CFMetaData metadata)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2022 The Apache Software Foundation