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 |
isRowDeletion(CFMetaData metadata) |
boolean |
isStatic() |
java.lang.String |
toString() |
LegacyLayout.LegacyRangeTombstone |
withNewEnd(LegacyLayout.LegacyBound newStop) |
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.LegacyAtompublic LegacyLayout.LegacyRangeTombstone withNewStart(LegacyLayout.LegacyBound newStart)
public LegacyLayout.LegacyRangeTombstone withNewEnd(LegacyLayout.LegacyBound newStop)
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 isCollectionTombstone()
public boolean isRowDeletion(CFMetaData metadata)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation