public abstract class AbstractRow extends java.lang.Object 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(Digest digest)
Digest the atom using the provided
Digest. |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
boolean |
hasInvalidDeletions()
Do a quick validation of the deletions of the unfiltered (if any)
|
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() |
java.lang.String |
toString(TableMetadata metadata) |
java.lang.String |
toString(TableMetadata metadata,
boolean fullDetails) |
java.lang.String |
toString(TableMetadata metadata,
boolean includeClusterKeys,
boolean fullDetails) |
void |
validateData(TableMetadata metadata)
Validate the data of this atom.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitaccumulate, accumulate, accumulate, accumulate, apply, apply, cells, cellsInLegacyOrder, clone, clustering, columnCount, columnData, columns, dataSize, deletion, filter, filter, getCell, getCell, getComplexColumnData, hasComplex, hasComplexDeletion, hasDeletion, isEmpty, markCounterLocalToBeCleared, primaryKeyLivenessInfo, purge, searchIterator, transformAndFilter, transformAndFilter, 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(Digest digest)
UnfilteredDigest.digest in interface Unfiltereddigest - the Digest to use.public void validateData(TableMetadata metadata)
UnfilteredvalidateData in interface Unfilteredmetadata - the metadata for the table this atom is part of.public boolean hasInvalidDeletions()
UnfilteredhasInvalidDeletions in interface Unfilteredpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(TableMetadata metadata)
toString in interface Unfilteredpublic java.lang.String toString(TableMetadata metadata, boolean fullDetails)
toString in interface RowtoString in interface Unfilteredpublic java.lang.String toString(TableMetadata metadata, boolean includeClusterKeys, boolean fullDetails)
toString in interface Unfilteredpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2009-2022 The Apache Software Foundation