public class NativeExpiringCell extends NativeCell implements ExpiringCell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWritingComposite.EOCMAX_TTLMAX_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, 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, diff, diffCounter, hashCode, onDiskIterator, reconcileCounter, validateNameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdiff, name, value, withUpdatedName, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTimetimestamppublic NativeExpiringCell(NativeAllocator allocator, OpOrder.Group writeOp, ExpiringCell copyOf)
protected int sizeOf(Cell cell)
sizeOf in class AbstractNativeCellprotected void construct(Cell from)
construct in class AbstractNativeCellprotected int postfixSize()
postfixSize in class AbstractNativeCellpublic int getTimeToLive()
getTimeToLive in interface ExpiringCellpublic int getLocalDeletionTime()
getLocalDeletionTime in interface OnDiskAtomgetLocalDeletionTime in class AbstractCellpublic boolean isLive()
isLive in interface CellisLive in class AbstractCellpublic boolean isLive(long now)
isLive in interface CellisLive 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 Cell reconcile(Cell cell)
reconcile in interface Cellreconcile in class AbstractCellpublic boolean equals(Cell cell)
equals in class AbstractCellpublic java.lang.String getString(CellNameType comparator)
getString in interface CellgetString in class AbstractCellpublic ExpiringCell localCopy(CFMetaData metadata, AbstractAllocator allocator)
localCopy in interface CelllocalCopy in interface ExpiringCelllocalCopy in class NativeCellpublic ExpiringCell localCopy(CFMetaData metadata, MemtableAllocator allocator, OpOrder.Group opGroup)
localCopy in interface CelllocalCopy in interface ExpiringCelllocalCopy in class NativeCellpublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in interface CellunsharedHeapSizeExcludingData in interface CellNameunsharedHeapSizeExcludingData in class NativeCellpublic long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemoryunsharedHeapSize in class NativeCellCopyright © 2018 The Apache Software Foundation