public class DeletionTime extends java.lang.Object implements java.lang.Comparable<DeletionTime>, IMeasurableMemory
| Modifier and Type | Class and Description |
|---|---|
static class |
DeletionTime.Serializer |
| Modifier and Type | Field and Description |
|---|---|
static DeletionTime |
LIVE
A special DeletionTime that signifies that there is no top-level (row) tombstone.
|
static DeletionTime.Serializer |
serializer |
| Constructor and Description |
|---|
DeletionTime(long markedForDeleteAt,
int localDeletionTime) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(DeletionTime dt) |
int |
dataSize() |
boolean |
deletes(Cell cell) |
boolean |
deletes(LivenessInfo info) |
boolean |
deletes(long timestamp) |
void |
digest(java.security.MessageDigest digest) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isLive()
Returns whether this DeletionTime is live, that is deletes no columns.
|
int |
localDeletionTime()
The local server timestamp, in seconds since the unix epoch, at which this tombstone was created.
|
long |
markedForDeleteAt()
A timestamp (typically in microseconds since the unix epoch, although this is not enforced) after which
data should be considered deleted.
|
boolean |
supersedes(DeletionTime dt) |
java.lang.String |
toString() |
long |
unsharedHeapSize() |
public static final DeletionTime LIVE
public static final DeletionTime.Serializer serializer
public long markedForDeleteAt()
public int localDeletionTime()
public boolean isLive()
public void digest(java.security.MessageDigest digest)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(DeletionTime dt)
compareTo in interface java.lang.Comparable<DeletionTime>public boolean supersedes(DeletionTime dt)
public boolean deletes(LivenessInfo info)
public boolean deletes(Cell cell)
public boolean deletes(long timestamp)
public int dataSize()
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemoryCopyright © 2018 The Apache Software Foundation