public class RangeTombstone extends Interval<Composite,DeletionTime> implements OnDiskAtom
| Modifier and Type | Class and Description |
|---|---|
static class |
RangeTombstone.Serializer |
static class |
RangeTombstone.Tracker
Tracks opened RangeTombstones when iterating over a partition.
|
OnDiskAtom.SerializerForWriting| Constructor and Description |
|---|
RangeTombstone(Composite start,
Composite stop,
DeletionTime delTime) |
RangeTombstone(Composite start,
Composite stop,
long markedForDeleteAt,
int localDeletionTime) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLocalDeletionTime() |
boolean |
includes(java.util.Comparator<Composite> comparator,
Composite name) |
Composite |
name() |
boolean |
supersedes(RangeTombstone rt,
java.util.Comparator<Composite> comparator)
This tombstone supersedes another one if it is more recent and cover a
bigger range than rt.
|
long |
timestamp()
For a standard column, this is the same as timestamp().
|
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
create, create, equals, hashCode, maxOrdering, minOrdering, toStringpublic RangeTombstone(Composite start, Composite stop, long markedForDeleteAt, int localDeletionTime)
public RangeTombstone(Composite start, Composite stop, DeletionTime delTime)
public Composite name()
name in interface OnDiskAtompublic int getLocalDeletionTime()
getLocalDeletionTime in interface OnDiskAtompublic long timestamp()
OnDiskAtomtimestamp in interface OnDiskAtompublic void validateFields(CFMetaData metadata) throws MarshalException
validateFields in interface OnDiskAtomMarshalExceptionpublic void updateDigest(java.security.MessageDigest digest)
updateDigest in interface OnDiskAtompublic boolean supersedes(RangeTombstone rt, java.util.Comparator<Composite> comparator)
Copyright © 2018 The Apache Software Foundation