public class BufferDeletedCell extends BufferCell implements DeletedCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWritingname, timestamp, valueMAX_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) |
Cell |
withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
int newLocalDeletionTime) |
name, timestamp, unsharedHeapSizeExcludingData, valuecellDataSize, create, diff, diffCounter, equals, equals, getString, hashCode, onDiskIterator, reconcileCounter, serializedSize, validateNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcellDataSize, diff, getString, name, serializedSize, unsharedHeapSizeExcludingData, valuetimestamppublic 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 CellwithUpdatedName in class BufferCellpublic Cell withUpdatedTimestamp(long newTimestamp)
withUpdatedTimestamp in interface CellwithUpdatedTimestamp in class BufferCellpublic Cell withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
withUpdatedTimestampAndLocalDeletionTime in interface CellwithUpdatedTimestampAndLocalDeletionTime in class BufferCellpublic boolean isLive()
isLive in interface CellisLive in class AbstractCellpublic boolean isLive(long now)
isLive in interface CellisLive in class AbstractCellpublic int getLocalDeletionTime()
getLocalDeletionTime in interface OnDiskAtomgetLocalDeletionTime in class AbstractCellpublic Cell reconcile(Cell cell)
reconcile in interface Cellreconcile in class AbstractCellpublic DeletedCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy in interface CelllocalCopy in interface DeletedCelllocalCopy in class BufferCellpublic DeletedCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy in interface CelllocalCopy in interface DeletedCelllocalCopy in class BufferCellpublic int serializationFlags()
serializationFlags in interface CellserializationFlags in class AbstractCellpublic void validateFields(CFMetaData metadata) throws MarshalException
validateFields in interface OnDiskAtomvalidateFields in class AbstractCellMarshalExceptionpublic void updateDigest(java.security.MessageDigest digest)
updateDigest in interface OnDiskAtomupdateDigest in class AbstractCellCopyright © 2018 The Apache Software Foundation