public class RangeTombstone extends Interval<Composite,DeletionTime> implements OnDiskAtom
Modifier and Type | Class and Description |
---|---|
static class |
RangeTombstone.Serializer |
static class |
RangeTombstone.Tracker |
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) |
public RangeTombstone(Composite start, Composite stop, long markedForDeleteAt, int localDeletionTime)
public RangeTombstone(Composite start, Composite stop, DeletionTime delTime)
public Composite name()
name
in interface OnDiskAtom
public int getLocalDeletionTime()
getLocalDeletionTime
in interface OnDiskAtom
public long timestamp()
OnDiskAtom
timestamp
in interface OnDiskAtom
public void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
MarshalException
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface OnDiskAtom
public boolean supersedes(RangeTombstone rt, java.util.Comparator<Composite> comparator)
Copyright © 2014 The Apache Software Foundation