public interface Unfiltered extends Clusterable
In practice, an Unfiltered is either a row or a range tombstone marker. Unfiltereds are uniquely identified by their clustering information and can be sorted according to those. We don't set the type parameter for Clusterable here because it doesn't make sense in the context of an Unfiltered. Merge iterators can produce rows containing clustering and cell values with multiple backing types. Also, by the time you're dealing with Unfiltered objects, the backing type should be considered opaque.
Modifier and Type | Interface and Description |
---|---|
static class |
Unfiltered.Kind |
Modifier and Type | Method and Description |
---|---|
ClusteringPrefix<?> |
clustering() |
void |
digest(Digest digest)
Digest the atom using the provided
Digest . |
boolean |
hasInvalidDeletions()
Do a quick validation of the deletions of the unfiltered (if any)
|
boolean |
isEmpty() |
default boolean |
isRangeTombstoneMarker() |
default boolean |
isRow() |
Unfiltered.Kind |
kind()
The kind of the atom: either row or range tombstone marker.
|
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.
|
Unfiltered.Kind kind()
ClusteringPrefix<?> clustering()
clustering
in interface Clusterable
void digest(Digest digest)
Digest
.digest
- the Digest
to use.void validateData(TableMetadata metadata)
metadata
- the metadata for the table this atom is part of.MarshalException
- if some of the data in this atom is
invalid (some value is invalid for its column type, or some field
is nonsensical).boolean hasInvalidDeletions()
boolean isEmpty()
java.lang.String toString(TableMetadata metadata)
java.lang.String toString(TableMetadata metadata, boolean fullDetails)
java.lang.String toString(TableMetadata metadata, boolean includeClusterKeys, boolean fullDetails)
default boolean isRow()
default boolean isRangeTombstoneMarker()
Copyright © 2009-2022 The Apache Software Foundation