|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.RangeTombstone.Tracker
public static class RangeTombstone.Tracker
Constructor Summary | |
---|---|
RangeTombstone.Tracker(java.util.Comparator<java.nio.ByteBuffer> comparator)
|
Method Summary | |
---|---|
boolean |
isDeleted(IColumn column)
|
void |
update(OnDiskAtom atom)
Update this tracker given an atom . |
long |
writeOpenedMarker(OnDiskAtom firstColumn,
java.io.DataOutput out,
OnDiskAtom.Serializer atomSerializer)
Compute RangeTombstone that are needed at the beginning of an index block starting with firstColumn . |
int |
writtenAtom()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RangeTombstone.Tracker(java.util.Comparator<java.nio.ByteBuffer> comparator)
Method Detail |
---|
public long writeOpenedMarker(OnDiskAtom firstColumn, java.io.DataOutput out, OnDiskAtom.Serializer atomSerializer) throws java.io.IOException
firstColumn
.
Returns the total serialized size of said tombstones and write them
to out
it if isn't null.
java.io.IOException
public int writtenAtom()
public void update(OnDiskAtom atom)
atom
.
If column is a IColumn, check if any tracked range is useless and
can be removed. If it is a RangeTombstone, add it to this tracker.
public boolean isDeleted(IColumn column)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |