public class BufferCounterCell extends BufferCell implements CounterCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWritingname, timestamp, valuecontextManagerMAX_NAME_LENGTH| Constructor and Description |
|---|
BufferCounterCell(CellName name,
java.nio.ByteBuffer value,
long timestamp) |
BufferCounterCell(CellName name,
java.nio.ByteBuffer value,
long timestamp,
long timestampOfLastDelete) |
| Modifier and Type | Method and Description |
|---|---|
int |
cellDataSize() |
static CounterCell |
create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
long timestampOfLastDelete,
ColumnSerializer.Flag flag) |
static CounterCell |
createLocal(CellName name,
long value,
long timestamp,
long timestampOfLastDelete) |
Cell |
diff(Cell cell) |
boolean |
equals(Cell cell) |
java.lang.String |
getString(CellNameType comparator) |
boolean |
hasLegacyShards() |
CounterCell |
localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
CounterCell |
localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
Cell |
markLocalToBeCleared() |
Cell |
reconcile(Cell cell) |
int |
serializationFlags() |
int |
serializedSize(CellNameType type,
TypeSizes typeSizes) |
long |
timestampOfLastDelete() |
long |
total() |
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
Cell |
withUpdatedName(CellName newName) |
name, timestamp, unsharedHeapSizeExcludingData, value, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTimecreate, diffCounter, equals, getLocalDeletionTime, hashCode, isLive, isLive, onDiskIterator, reconcileCounter, validateNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisLive, isLive, name, unsharedHeapSizeExcludingData, value, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTimegetLocalDeletionTime, timestamppublic BufferCounterCell(CellName name, java.nio.ByteBuffer value, long timestamp)
public BufferCounterCell(CellName name, java.nio.ByteBuffer value, long timestamp, long timestampOfLastDelete)
public static CounterCell create(CellName name, java.nio.ByteBuffer value, long timestamp, long timestampOfLastDelete, ColumnSerializer.Flag flag)
public static CounterCell createLocal(CellName name, long value, long timestamp, long timestampOfLastDelete)
public Cell withUpdatedName(CellName newName)
withUpdatedName in interface CellwithUpdatedName in class BufferCellpublic long timestampOfLastDelete()
timestampOfLastDelete in interface CounterCellpublic long total()
total in interface CounterCellpublic int cellDataSize()
cellDataSize in interface CellcellDataSize in class AbstractCellpublic int serializedSize(CellNameType type, TypeSizes typeSizes)
serializedSize in interface CellserializedSize in class AbstractCellpublic Cell diff(Cell cell)
diff in interface Celldiff in class AbstractCellpublic void updateDigest(java.security.MessageDigest digest)
updateDigest in interface OnDiskAtomupdateDigest in class AbstractCellpublic Cell reconcile(Cell cell)
reconcile in interface Cellreconcile in class AbstractCellpublic boolean hasLegacyShards()
hasLegacyShards in interface CounterCellpublic CounterCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy in interface CelllocalCopy in interface CounterCelllocalCopy in class BufferCellpublic CounterCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy in interface CelllocalCopy in interface CounterCelllocalCopy in class BufferCellpublic java.lang.String getString(CellNameType comparator)
getString in interface CellgetString in class AbstractCellpublic int serializationFlags()
serializationFlags in interface CellserializationFlags in class AbstractCellpublic void validateFields(CFMetaData metadata) throws MarshalException
validateFields in interface OnDiskAtomvalidateFields in class AbstractCellMarshalExceptionpublic Cell markLocalToBeCleared()
markLocalToBeCleared in interface CounterCellpublic boolean equals(Cell cell)
equals in class AbstractCellCopyright © 2018 The Apache Software Foundation