public class BufferDeletedCell extends BufferCell implements DeletedCell
OnDiskAtom.Serializer
name, timestamp, value
MAX_NAME_LENGTH
Constructor and Description |
---|
BufferDeletedCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferDeletedCell(CellName name,
int localDeletionTime,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
int |
getLocalDeletionTime() |
boolean |
isLive() |
boolean |
isLive(long now) |
DeletedCell |
localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
DeletedCell |
localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
reconcile(Cell cell) |
int |
serializationFlags() |
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
Cell |
withUpdatedName(CellName newName) |
Cell |
withUpdatedTimestamp(long newTimestamp) |
name, timestamp, unsharedHeapSizeExcludingData, value
cellDataSize, create, diff, diffCounter, equals, equals, getString, hashCode, onDiskIterator, reconcileCounter, serializedSize, validateName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
cellDataSize, diff, getString, name, serializedSize, unsharedHeapSizeExcludingData, value
timestamp
public BufferDeletedCell(CellName name, int localDeletionTime, long timestamp)
public BufferDeletedCell(CellName name, java.nio.ByteBuffer value, long timestamp)
public Cell withUpdatedName(CellName newName)
withUpdatedName
in interface Cell
withUpdatedName
in class BufferCell
public Cell withUpdatedTimestamp(long newTimestamp)
withUpdatedTimestamp
in interface Cell
withUpdatedTimestamp
in class BufferCell
public boolean isLive()
isLive
in interface Cell
isLive
in class AbstractCell
public boolean isLive(long now)
isLive
in interface Cell
isLive
in class AbstractCell
public int getLocalDeletionTime()
getLocalDeletionTime
in interface OnDiskAtom
getLocalDeletionTime
in class AbstractCell
public Cell reconcile(Cell cell)
reconcile
in interface Cell
reconcile
in class AbstractCell
public DeletedCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy
in interface Cell
localCopy
in interface DeletedCell
localCopy
in class BufferCell
public DeletedCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy
in interface Cell
localCopy
in interface DeletedCell
localCopy
in class BufferCell
public int serializationFlags()
serializationFlags
in interface Cell
serializationFlags
in class AbstractCell
public void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
validateFields
in class AbstractCell
MarshalException
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface OnDiskAtom
updateDigest
in class AbstractCell
Copyright © 2015 The Apache Software Foundation