public class RangeTombstone extends Interval<java.nio.ByteBuffer,DeletionTime> implements OnDiskAtom
| Modifier and Type | Class and Description |
|---|---|
static class |
RangeTombstone.Serializer |
static class |
RangeTombstone.Tracker |
| Modifier and Type | Field and Description |
|---|---|
static RangeTombstone.Serializer |
serializer |
| Constructor and Description |
|---|
RangeTombstone(java.nio.ByteBuffer start,
java.nio.ByteBuffer stop,
DeletionTime delTime) |
RangeTombstone(java.nio.ByteBuffer start,
java.nio.ByteBuffer stop,
long markedForDeleteAt,
int localDeletionTime) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLocalDeletionTime() |
long |
maxTimestamp() |
long |
minTimestamp()
For a standard column, this is the same as timestamp().
|
java.nio.ByteBuffer |
name() |
int |
serializedSize(TypeSizes typeSizes) |
long |
serializedSizeForSSTable() |
boolean |
supersedes(RangeTombstone rt,
java.util.Comparator<java.nio.ByteBuffer> comparator)
This tombstone supersedes another one if it is more recent and cover a
bigger range than rt.
|
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
public static final RangeTombstone.Serializer serializer
public RangeTombstone(java.nio.ByteBuffer start,
java.nio.ByteBuffer stop,
long markedForDeleteAt,
int localDeletionTime)
public RangeTombstone(java.nio.ByteBuffer start,
java.nio.ByteBuffer stop,
DeletionTime delTime)
public java.nio.ByteBuffer name()
name in interface OnDiskAtompublic int getLocalDeletionTime()
getLocalDeletionTime in interface OnDiskAtompublic long minTimestamp()
OnDiskAtomminTimestamp in interface OnDiskAtompublic long maxTimestamp()
maxTimestamp in interface OnDiskAtompublic int serializedSize(TypeSizes typeSizes)
serializedSize in interface OnDiskAtompublic long serializedSizeForSSTable()
serializedSizeForSSTable 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<java.nio.ByteBuffer> comparator)
Copyright © 2015 The Apache Software Foundation