public class NativeCell extends AbstractCell
comparator, MAX_DELETION_TIME, NO_DELETION_TIME, NO_TTL, serializercolumn| Constructor and Description |
|---|
NativeCell(NativeAllocator allocator,
OpOrder.Group writeOp,
Cell cell) |
NativeCell(NativeAllocator allocator,
OpOrder.Group writeOp,
ColumnDefinition column,
long timestamp,
int ttl,
int localDeletionTime,
java.nio.ByteBuffer value,
CellPath path) |
| Modifier and Type | Method and Description |
|---|---|
int |
localDeletionTime()
The cell local deletion time.
|
CellPath |
path()
For cells belonging to complex types (non-frozen collection and UDT), the
path to the cell.
|
long |
timestamp()
The cell timestamp.
|
int |
ttl()
The cell ttl.
|
long |
unsharedHeapSizeExcludingData() |
java.nio.ByteBuffer |
value()
The cell value.
|
Cell |
withUpdatedColumn(ColumnDefinition column) |
Cell |
withUpdatedTimestampAndLocalDeletionTime(long newTimestamp,
int newLocalDeletionTime) |
Cell |
withUpdatedValue(java.nio.ByteBuffer newValue) |
copy, dataSize, digest, equals, hashCode, isCounterCell, isExpiring, isLive, isTombstone, markCounterLocalToBeCleared, maxTimestamp, purge, toString, updateAllTimestamp, validatecolumnpublic NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, Cell cell)
public NativeCell(NativeAllocator allocator, OpOrder.Group writeOp, ColumnDefinition column, long timestamp, int ttl, int localDeletionTime, java.nio.ByteBuffer value, CellPath path)
public long timestamp()
Cellpublic int ttl()
Cellpublic int localDeletionTime()
CelllocalDeletionTime in class CellNO_DELETION_TIME if the cell is neither
a tombstone nor an expiring one.public java.nio.ByteBuffer value()
Cellpublic CellPath path()
Cellpublic Cell withUpdatedValue(java.nio.ByteBuffer newValue)
withUpdatedValue in class Cellpublic Cell withUpdatedTimestampAndLocalDeletionTime(long newTimestamp, int newLocalDeletionTime)
withUpdatedTimestampAndLocalDeletionTime in class Cellpublic Cell withUpdatedColumn(ColumnDefinition column)
withUpdatedColumn in class Cellpublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in class ColumnDataCopyright © 2018 The Apache Software Foundation