public class NativeExpiringCell extends NativeCell implements ExpiringCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWriting
Composite.EOC
MAX_TTL
MAX_NAME_LENGTH
Constructor and Description |
---|
NativeExpiringCell(NativeAllocator allocator,
OpOrder.Group writeOp,
ExpiringCell copyOf) |
Modifier and Type | Method and Description |
---|---|
int |
cellDataSize() |
protected void |
construct(Cell from) |
boolean |
equals(Cell cell) |
int |
getLocalDeletionTime() |
java.lang.String |
getString(CellNameType comparator) |
int |
getTimeToLive() |
boolean |
isLive() |
boolean |
isLive(long now) |
ExpiringCell |
localCopy(CFMetaData metadata,
AbstractAllocator allocator) |
ExpiringCell |
localCopy(CFMetaData metadata,
MemtableAllocator allocator,
OpOrder.Group opGroup) |
protected int |
postfixSize() |
Cell |
reconcile(Cell cell) |
int |
serializationFlags() |
int |
serializedSize(CellNameType type,
TypeSizes typeSizes) |
protected int |
sizeOf(Cell cell) |
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, diff, diffCounter, hashCode, onDiskIterator, reconcileCounter, validateName
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
diff, name, value, withUpdatedName, withUpdatedTimestamp
timestamp
public NativeExpiringCell(NativeAllocator allocator, OpOrder.Group writeOp, ExpiringCell copyOf)
protected int sizeOf(Cell cell)
sizeOf
in class AbstractNativeCell
protected void construct(Cell from)
construct
in class AbstractNativeCell
protected int postfixSize()
postfixSize
in class AbstractNativeCell
public int getTimeToLive()
getTimeToLive
in interface ExpiringCell
public int getLocalDeletionTime()
getLocalDeletionTime
in interface OnDiskAtom
getLocalDeletionTime
in class AbstractCell
public boolean isLive()
isLive
in interface Cell
isLive
in class AbstractCell
public boolean isLive(long now)
isLive
in interface Cell
isLive
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 Cell reconcile(Cell cell)
reconcile
in interface Cell
reconcile
in class AbstractCell
public boolean equals(Cell cell)
equals
in class AbstractCell
public java.lang.String getString(CellNameType comparator)
getString
in interface Cell
getString
in class AbstractCell
public ExpiringCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy
in interface Cell
localCopy
in interface ExpiringCell
localCopy
in class NativeCell
public ExpiringCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy
in interface Cell
localCopy
in interface ExpiringCell
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
Copyright © 2016 The Apache Software Foundation