public class NativeCounterCell extends NativeCell implements CounterCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWriting
Composite.EOC
contextManager
MAX_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, timestamp
clusteringSize, 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, writeComponentTo, writeMemoryTo
create, diffCounter, getLocalDeletionTime, hashCode, isLive, isLive, onDiskIterator, reconcileCounter, validateName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isLive, isLive, name, value, withUpdatedName, withUpdatedTimestamp
getLocalDeletionTime, timestamp
public NativeCounterCell(NativeAllocator allocator, OpOrder.Group writeOp, CounterCell copyOf)
protected void construct(Cell from)
construct
in class AbstractNativeCell
protected int postfixSize()
postfixSize
in class AbstractNativeCell
protected int sizeOf(Cell cell)
sizeOf
in class AbstractNativeCell
public long timestampOfLastDelete()
timestampOfLastDelete
in interface CounterCell
public long total()
total
in interface CounterCell
public boolean hasLegacyShards()
hasLegacyShards
in interface CounterCell
public Cell markLocalToBeCleared()
markLocalToBeCleared
in interface CounterCell
public Cell diff(Cell cell)
diff
in interface Cell
diff
in class AbstractCell
public Cell reconcile(Cell cell)
reconcile
in interface Cell
reconcile
in class AbstractCell
public int serializationFlags()
serializationFlags
in interface Cell
serializationFlags
in class AbstractCell
public int cellDataSize()
cellDataSize
in interface Cell
cellDataSize
in class AbstractCell
public int serializedSize(CellNameType type, TypeSizes typeSizes)
serializedSize
in interface Cell
serializedSize
in class AbstractCell
public void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
validateFields
in class AbstractCell
MarshalException
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface OnDiskAtom
updateDigest
in class NativeCell
public java.lang.String getString(CellNameType comparator)
getString
in interface Cell
getString
in class AbstractCell
public CounterCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy
in interface Cell
localCopy
in interface CounterCell
localCopy
in class NativeCell
public CounterCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy
in interface Cell
localCopy
in interface CounterCell
localCopy
in class NativeCell
public long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData
in interface Cell
unsharedHeapSizeExcludingData
in interface CellName
unsharedHeapSizeExcludingData
in class NativeCell
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
unsharedHeapSize
in class NativeCell
public boolean equals(Cell cell)
equals
in class AbstractCell
Copyright © 2016 The Apache Software Foundation