public abstract class AbstractCell extends java.lang.Object implements Cell
OnDiskAtom.Serializer, OnDiskAtom.SerializerForWritingMAX_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, waitlocalCopy, localCopy, name, unsharedHeapSizeExcludingData, value, withUpdatedName, withUpdatedTimestamp, withUpdatedTimestampAndLocalDeletionTimetimestamppublic 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 Cellpublic int serializedSize(CellNameType type, TypeSizes typeSizes)
serializedSize in interface Cellpublic int serializationFlags()
serializationFlags in interface Cellpublic void updateDigest(java.security.MessageDigest digest)
updateDigest in interface OnDiskAtompublic int getLocalDeletionTime()
getLocalDeletionTime in interface OnDiskAtompublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean equals(Cell cell)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getString(CellNameType comparator)
public void validateName(CFMetaData metadata) throws MarshalException
MarshalExceptionpublic void validateFields(CFMetaData metadata) throws MarshalException
validateFields in interface OnDiskAtomMarshalExceptionpublic static Cell create(CellName name, java.nio.ByteBuffer value, long timestamp, int ttl, CFMetaData metadata)
Copyright © 2018 The Apache Software Foundation