public class CounterUpdateColumn extends Column
OnDiskAtom.Serializer
MAX_NAME_LENGTH
Constructor and Description |
---|
CounterUpdateColumn(java.nio.ByteBuffer name,
java.nio.ByteBuffer value,
long timestamp) |
CounterUpdateColumn(java.nio.ByteBuffer name,
long value,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
long |
delta() |
IColumn |
diff(IColumn column) |
CounterColumn |
localCopy(ColumnFamilyStore cfs)
clones the column for the row cache, interning column names and making copies of other underlying byte buffers
|
IColumn |
localCopy(ColumnFamilyStore cfs,
Allocator allocator)
clones the column for the memtable, interning column names and making copies of other underlying byte buffers.
|
IColumn |
reconcile(IColumn column,
Allocator allocator) |
int |
serializationFlags() |
addColumn, addColumn, create, create, create, create, create, create, dataSize, equals, getLocalDeletionTime, getMarkedForDeleteAt, getString, getSubColumn, getSubColumns, hashCode, hasIrrelevantData, isLive, isMarkedForDelete, maxTimestamp, minTimestamp, mostRecentLiveChangeAt, mostRecentNonGCableChangeAt, name, onDiskSerializer, reconcile, serializedSize, serializedSizeForSSTable, serializer, timestamp, updateDigest, validateFields, validateName, value
public CounterUpdateColumn(java.nio.ByteBuffer name, long value, long timestamp)
public CounterUpdateColumn(java.nio.ByteBuffer name, java.nio.ByteBuffer value, long timestamp)
public long delta()
public int serializationFlags()
serializationFlags
in interface IColumn
serializationFlags
in class Column
public CounterColumn localCopy(ColumnFamilyStore cfs)
IColumn
public IColumn localCopy(ColumnFamilyStore cfs, Allocator allocator)
IColumn
Copyright © 2014 The Apache Software Foundation