public static class LegacyLayout.LegacyRangeTombstoneList
extends java.lang.Object
Comparator<Composite>
(because Composite doesn't exist any more).
This class is needed to allow us to convert single-row deletions and complex deletions into range tombstones
and properly merge them into the normal set of range tombstones.Constructor and Description |
---|
LegacyRangeTombstoneList(org.apache.cassandra.db.LegacyLayout.LegacyBoundComparator comparator,
int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(LegacyLayout.LegacyBound start,
LegacyLayout.LegacyBound end,
long markedAt,
int delTime)
Adds a new range tombstone.
|
void |
addAll(LegacyLayout.LegacyRangeTombstoneList tombstones)
Adds all the range tombstones of
tombstones to this RangeTombstoneList. |
boolean |
isEmpty() |
void |
serialize(DataOutputPlus out,
CFMetaData metadata) |
long |
serializedSize(CFMetaData metadata) |
int |
size() |
void |
updateDigest(java.security.MessageDigest digest) |
public LegacyRangeTombstoneList(org.apache.cassandra.db.LegacyLayout.LegacyBoundComparator comparator, int capacity)
public boolean isEmpty()
public int size()
public void add(LegacyLayout.LegacyBound start, LegacyLayout.LegacyBound end, long markedAt, int delTime)
public void addAll(LegacyLayout.LegacyRangeTombstoneList tombstones)
tombstones
to this RangeTombstoneList.public void updateDigest(java.security.MessageDigest digest)
public void serialize(DataOutputPlus out, CFMetaData metadata) throws java.io.IOException
java.io.IOException
public long serializedSize(CFMetaData metadata)
Copyright © 2016 The Apache Software Foundation