public abstract class AbstractCell extends Cell
Cell implementations.
Unless you have a very good reason not to, every cell implementation
should probably extend this class.Cell.Serializercomparator, NO_DELETION_TIME, NO_TTL, serializercolumn| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCell(ColumnDefinition column) |
| Modifier and Type | Method and Description |
|---|---|
void |
digest(java.security.MessageDigest digest)
Adds the data to the provided digest.
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.String |
toString() |
void |
validate()
Validate the column data.
|
copy, isCounterCell, isExpiring, isLive, isTombstone, localDeletionTime, markCounterLocalToBeCleared, path, purge, timestamp, ttl, value, withUpdatedValuecolumn, dataSize, unsharedHeapSizeExcludingData, updateAllTimestampprotected AbstractCell(ColumnDefinition column)
public void digest(java.security.MessageDigest digest)
ColumnDatadigest in class ColumnDatadigest - the MessageDigest to add the data to.public void validate()
ColumnDatavalidate in class ColumnDatapublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation