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.SimpleBuilder
Unfiltered.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, wait
accumulate, 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, purgeDataOlderThan, searchIterator, transformAndFilter, transformAndFilter, unsharedHeapSize, unsharedHeapSizeExcludingData, updateAllTimestamp, withOnlyQueriedData, withRowDeletion
isRangeTombstoneMarker, isRow
public Unfiltered.Kind kind()
Unfiltered
kind
in interface Unfiltered
public boolean hasLiveData(int nowInSec, boolean enforceStrictLiveness)
Row
hasLiveData
in interface Row
nowInSec
- 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 TableMetadata.enforceStrictLiveness()
public boolean isStatic()
Row
public void digest(Digest digest)
Unfiltered
Digest
.digest
in interface Unfiltered
digest
- the Digest
to use.public void validateData(TableMetadata metadata)
Unfiltered
validateData
in interface Unfiltered
metadata
- the metadata for the table this atom is part of.public boolean hasInvalidDeletions()
Unfiltered
hasInvalidDeletions
in interface Unfiltered
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(TableMetadata metadata)
toString
in interface Unfiltered
public java.lang.String toString(TableMetadata metadata, boolean fullDetails)
toString
in interface Row
toString
in interface Unfiltered
public java.lang.String toString(TableMetadata metadata, boolean includeClusterKeys, boolean fullDetails)
toString
in interface Unfiltered
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009-2022 The Apache Software Foundation