public class DeletedCell extends Cell
OnDiskAtom.Serializer
MAX_NAME_LENGTH, name, timestamp, value
Constructor and Description |
---|
DeletedCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
DeletedCell(CellName name,
int localDeletionTime,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
int |
getLocalDeletionTime() |
long |
getMarkedForDeleteAt() |
boolean |
isMarkedForDelete(long now) |
Cell |
localCopy(ColumnFamilyStore cfs,
AbstractAllocator allocator) |
Cell |
reconcile(Cell cell,
AbstractAllocator allocator) |
int |
serializationFlags() |
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
Cell |
withUpdatedName(CellName newName) |
Cell |
withUpdatedTimestamp(long newTimestamp) |
create, dataSize, diff, equals, excessHeapSizeExcludingData, getString, hashCode, hasIrrelevantData, isLive, maxTimestamp, minTimestamp, name, onDiskIterator, reconcile, serializedSize, timestamp, validateName, value
public DeletedCell(CellName name, int localDeletionTime, long timestamp)
public DeletedCell(CellName name, java.nio.ByteBuffer value, long timestamp)
public Cell withUpdatedName(CellName newName)
withUpdatedName
in class Cell
public Cell withUpdatedTimestamp(long newTimestamp)
withUpdatedTimestamp
in class Cell
public boolean isMarkedForDelete(long now)
isMarkedForDelete
in class Cell
public long getMarkedForDeleteAt()
getMarkedForDeleteAt
in class Cell
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface OnDiskAtom
updateDigest
in class Cell
public int getLocalDeletionTime()
getLocalDeletionTime
in interface OnDiskAtom
getLocalDeletionTime
in class Cell
public Cell reconcile(Cell cell, AbstractAllocator allocator)
public Cell localCopy(ColumnFamilyStore cfs, AbstractAllocator allocator)
public int serializationFlags()
serializationFlags
in class Cell
public void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
validateFields
in class Cell
MarshalException
Copyright © 2014 The Apache Software Foundation