public abstract class AbstractRow extends java.util.AbstractCollection<ColumnData> implements Row
Row
implementations.
Unless you have a very good reason not to, every row implementation
should probably extend this class.Row.Builder, Row.Deletion, Row.Merger
Unfiltered.Kind
Constructor and Description |
---|
AbstractRow() |
Modifier and Type | Method and Description |
---|---|
void |
digest(java.security.MessageDigest digest)
Digest the atom using the provided
MessageDigest . |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
hasLiveData(int nowInSec)
Whether the row has some live information (i.e.
|
boolean |
isStatic()
Whether the row correspond to a static row or not.
|
Unfiltered.Kind |
kind()
The kind of the atom: either row or range tombstone marker.
|
java.lang.String |
toString(CFMetaData metadata) |
java.lang.String |
toString(CFMetaData metadata,
boolean fullDetails) |
java.lang.String |
toString(CFMetaData metadata,
boolean includeClusterKeys,
boolean fullDetails) |
void |
validateData(CFMetaData metadata)
Validate the data of this atom.
|
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cells, cellsInLegacyOrder, clustering, columns, dataSize, deletion, filter, filter, getCell, getCell, getComplexColumnData, hasComplex, hasComplexDeletion, hasDeletion, isEmpty, markCounterLocalToBeCleared, primaryKeyLivenessInfo, purge, searchIterator, unsharedHeapSizeExcludingData, updateAllTimestamp, withRowDeletion
isRangeTombstoneMarker, isRow
public Unfiltered.Kind kind()
Unfiltered
kind
in interface Unfiltered
public boolean hasLiveData(int nowInSec)
Row
hasLiveData
in interface Row
public boolean isStatic()
Row
public void digest(java.security.MessageDigest digest)
Unfiltered
MessageDigest
.digest
in interface Unfiltered
digest
- the MessageDigest
to use.public void validateData(CFMetaData metadata)
Unfiltered
validateData
in interface Unfiltered
metadata
- the metadata for the table this atom is part of.public java.lang.String toString(CFMetaData metadata)
toString
in interface Unfiltered
public java.lang.String toString(CFMetaData metadata, boolean fullDetails)
toString
in interface Row
toString
in interface Unfiltered
public java.lang.String toString(CFMetaData metadata, boolean includeClusterKeys, boolean fullDetails)
toString
in interface Unfiltered
public boolean equals(java.lang.Object other)
equals
in interface java.util.Collection<ColumnData>
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface java.util.Collection<ColumnData>
hashCode
in class java.lang.Object
Copyright © 2017 The Apache Software Foundation