public class DeletionTime extends java.lang.Object implements java.lang.Comparable<DeletionTime>
Modifier and Type | Field and Description |
---|---|
static DeletionTime |
LIVE
A special DeletionTime that signifies that there is no top-level (row) tombstone.
|
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.
|
static ISerializer<DeletionTime> |
serializer |
Constructor and Description |
---|
DeletionTime(long markedForDeleteAt,
int localDeletionTime) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DeletionTime dt) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isDeleted(Column column) |
boolean |
isGcAble(int gcBefore) |
boolean |
isLive()
Returns whether this DeletionTime is live, that is deletes no columns.
|
long |
memorySize() |
java.lang.String |
toString() |
public static final DeletionTime LIVE
public final long markedForDeleteAt
public final int localDeletionTime
public static final ISerializer<DeletionTime> serializer
public boolean isLive()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(DeletionTime dt)
compareTo
in interface java.lang.Comparable<DeletionTime>
public boolean isGcAble(int gcBefore)
public boolean isDeleted(Column column)
public long memorySize()
Copyright © 2015 The Apache Software Foundation