public class BufferCell extends AbstractCell
OnDiskAtom.Serializer
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) |
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 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 © 2014 The Apache Software Foundation