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, Row.SimpleBuilderUnfiltered.Kind| Constructor and Description |
|---|
AbstractRow() |
| Modifier and Type | Method and Description |
|---|---|
void |
digest(java.security.MessageDigest digest)
Digest the atom using the provided
MessageDigest. |
void |
digest(java.security.MessageDigest digest,
java.util.Set<java.nio.ByteBuffer> columnsToExclude)
Digest the atom using the provided
MessageDigest. |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
hasLiveData(int nowInSec,
boolean enforceStrictLiveness)
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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitapply, apply, cells, cellsInLegacyOrder, clustering, columns, dataSize, deletion, filter, filter, getCell, getCell, getComplexColumnData, hasComplex, hasComplexDeletion, hasDeletion, isEmpty, markCounterLocalToBeCleared, primaryKeyLivenessInfo, purge, searchIterator, unsharedHeapSizeExcludingData, updateAllTimestamp, withOnlyQueriedData, withRowDeletionisRangeTombstoneMarker, isRowpublic Unfiltered.Kind kind()
Unfilteredkind in interface Unfilteredpublic boolean hasLiveData(int nowInSec,
boolean enforceStrictLiveness)
RowhasLiveData in interface RownowInSec - the current time to decide what is deleted and what isn'tenforceStrictLiveness - whether the row should be purged if there is no PK liveness info,
normally retrieved from CFMetaData.enforceStrictLiveness()public boolean isStatic()
Rowpublic void digest(java.security.MessageDigest digest)
UnfilteredMessageDigest.digest in interface Unfiltereddigest - the MessageDigest to use.public void digest(java.security.MessageDigest digest,
java.util.Set<java.nio.ByteBuffer> columnsToExclude)
UnfilteredMessageDigest.
This method only exists in 3.11.
Same like Unfiltered.digest(MessageDigest), but excludes the given columns from digest calculation.digest in interface Unfilteredpublic void validateData(CFMetaData metadata)
UnfilteredvalidateData in interface Unfilteredmetadata - the metadata for the table this atom is part of.public java.lang.String toString(CFMetaData metadata)
toString in interface Unfilteredpublic java.lang.String toString(CFMetaData metadata, boolean fullDetails)
toString in interface RowtoString in interface Unfilteredpublic java.lang.String toString(CFMetaData metadata, boolean includeClusterKeys, boolean fullDetails)
toString in interface Unfilteredpublic boolean equals(java.lang.Object other)
equals in interface java.util.Collection<ColumnData>equals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Collection<ColumnData>hashCode in class java.lang.ObjectCopyright © 2018 The Apache Software Foundation