public class NativeCounterCell extends NativeCell implements CounterCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWritingComposite.EOCcontextManagerMAX_NAME_LENGTH| Constructor and Description |
|---|
NativeCounterCell(NativeAllocator allocator,
OpOrder.Group writeOp,
CounterCell copyOf) |
| Modifier and Type | Method and Description |
|---|---|
int |
cellDataSize() |
protected void |
construct(Cell from) |
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() |
protected int |
postfixSize() |
Cell |
reconcile(Cell cell) |
int |
serializationFlags() |
int |
serializedSize(CellNameType type,
TypeSizes typeSizes) |
protected int |
sizeOf(Cell cell) |
long |
timestampOfLastDelete() |
long |
total() |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
name, timestampclusteringSize, collectionElement, compareTo, compareToSimple, copy, cql3ColumnName, dataSize, end, eoc, equals, equals, get, getByte, getByteBuffer, getBytes, getInt, getLong, getShort, internalSize, isCollectionCell, isEmpty, isPrefixOf, isSameCQL3RowAs, isStatic, maxTimestamp, minTimestamp, setByte, setBytes, setInt, setLong, setShort, size, slice, start, toByteBuffer, updateWithName, updateWithValue, value, withEOC, withUpdatedName, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTime, writeComponentTo, writeMemoryTocreate, diffCounter, getLocalDeletionTime, hashCode, isLive, isLive, onDiskIterator, reconcileCounter, validateNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisLive, isLive, name, value, withUpdatedName, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTimegetLocalDeletionTime, timestamppublic NativeCounterCell(NativeAllocator allocator, OpOrder.Group writeOp, CounterCell copyOf)
protected void construct(Cell from)
construct in class AbstractNativeCellprotected int postfixSize()
postfixSize in class AbstractNativeCellprotected int sizeOf(Cell cell)
sizeOf in class AbstractNativeCellpublic long timestampOfLastDelete()
timestampOfLastDelete in interface CounterCellpublic long total()
total in interface CounterCellpublic boolean hasLegacyShards()
hasLegacyShards in interface CounterCellpublic Cell markLocalToBeCleared()
markLocalToBeCleared in interface CounterCellpublic Cell diff(Cell cell)
diff in interface Celldiff in class AbstractCellpublic Cell reconcile(Cell cell)
reconcile in interface Cellreconcile in class AbstractCellpublic int serializationFlags()
serializationFlags in interface CellserializationFlags in class AbstractCellpublic int cellDataSize()
cellDataSize in interface CellcellDataSize in class AbstractCellpublic int serializedSize(CellNameType type, TypeSizes typeSizes)
serializedSize in interface CellserializedSize in class AbstractCellpublic void validateFields(CFMetaData metadata) throws MarshalException
validateFields in interface OnDiskAtomvalidateFields in class AbstractCellMarshalExceptionpublic void updateDigest(java.security.MessageDigest digest)
updateDigest in interface OnDiskAtomupdateDigest in class NativeCellpublic java.lang.String getString(CellNameType comparator)
getString in interface CellgetString in class AbstractCellpublic CounterCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy in interface CelllocalCopy in interface CounterCelllocalCopy in class NativeCellpublic CounterCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy in interface CelllocalCopy in interface CounterCelllocalCopy in class NativeCellpublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in interface CellunsharedHeapSizeExcludingData in interface CellNameunsharedHeapSizeExcludingData in class NativeCellpublic long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemoryunsharedHeapSize in class NativeCellpublic boolean equals(Cell cell)
equals in class AbstractCellCopyright © 2018 The Apache Software Foundation