public abstract class AbstractCell extends java.lang.Object implements Cell
OnDiskAtom.Serializer
MAX_NAME_LENGTH
Constructor and Description |
---|
AbstractCell() |
Modifier and Type | Method and Description |
---|---|
int |
cellDataSize() |
static Cell |
create(CellName name,
java.nio.ByteBuffer value,
long timestamp,
int ttl,
CFMetaData metadata) |
Cell |
diff(Cell cell) |
Cell |
diffCounter(Cell cell) |
boolean |
equals(Cell cell) |
boolean |
equals(java.lang.Object o) |
int |
getLocalDeletionTime() |
java.lang.String |
getString(CellNameType comparator) |
int |
hashCode() |
boolean |
isLive() |
boolean |
isLive(long now) |
static java.util.Iterator<OnDiskAtom> |
onDiskIterator(java.io.DataInput in,
ColumnSerializer.Flag flag,
int expireBefore,
Version version,
CellNameType type) |
Cell |
reconcile(Cell cell) |
Cell |
reconcileCounter(Cell cell)
This is temporary until we start creating Cells of the different type (buffer vs.
|
int |
serializationFlags() |
int |
serializedSize(CellNameType type,
TypeSizes typeSizes) |
void |
updateDigest(java.security.MessageDigest digest) |
void |
validateFields(CFMetaData metadata) |
void |
validateName(CFMetaData metadata) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
localCopy, localCopy, name, unsharedHeapSizeExcludingData, value, withUpdatedName, withUpdatedTimestamp
timestamp
public static java.util.Iterator<OnDiskAtom> onDiskIterator(java.io.DataInput in, ColumnSerializer.Flag flag, int expireBefore, Version version, CellNameType type)
public int cellDataSize()
cellDataSize
in interface Cell
public int serializedSize(CellNameType type, TypeSizes typeSizes)
serializedSize
in interface Cell
public int serializationFlags()
serializationFlags
in interface Cell
public void updateDigest(java.security.MessageDigest digest)
updateDigest
in interface OnDiskAtom
public int getLocalDeletionTime()
getLocalDeletionTime
in interface OnDiskAtom
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(Cell cell)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getString(CellNameType comparator)
public void validateName(CFMetaData metadata) throws MarshalException
MarshalException
public void validateFields(CFMetaData metadata) throws MarshalException
validateFields
in interface OnDiskAtom
MarshalException
public static Cell create(CellName name, java.nio.ByteBuffer value, long timestamp, int ttl, CFMetaData metadata)
Copyright © 2016 The Apache Software Foundation