public class BufferCell extends AbstractCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWriting
Modifier and Type | Field and Description |
---|---|
protected CellName |
name |
protected long |
timestamp |
protected java.nio.ByteBuffer |
value |
MAX_NAME_LENGTH
Constructor and Description |
---|
BufferCell(CellName name,
java.nio.ByteBuffer value) |
BufferCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
Cell |
localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
Cell |
localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
CellName |
name() |
long |
timestamp()
For a standard column, this is the same as timestamp().
|
long |
unsharedHeapSizeExcludingData() |
java.nio.ByteBuffer |
value() |
Cell |
withUpdatedName(CellName newName) |
Cell |
withUpdatedTimestamp(long newTimestamp) |
Cell |
withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
int newLocalDeletionTime) |
cellDataSize, create, diff, diffCounter, equals, equals, getLocalDeletionTime, getString, hashCode, isLive, isLive, onDiskIterator, reconcile, reconcileCounter, serializationFlags, serializedSize, updateDigest, validateFields, validateName
protected final CellName name
protected final java.nio.ByteBuffer value
protected final long timestamp
public BufferCell(CellName name, java.nio.ByteBuffer value)
public BufferCell(CellName name, java.nio.ByteBuffer value, long timestamp)
public Cell withUpdatedTimestamp(long newTimestamp)
public Cell withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
public CellName name()
public java.nio.ByteBuffer value()
public long timestamp()
OnDiskAtom
public long unsharedHeapSizeExcludingData()
public Cell localCopy(CFMetaData metadata, AbstractAllocator allocator)
public Cell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
Copyright © 2019 The Apache Software Foundation