public interface Partition
Modifier and Type | Method and Description |
---|---|
RegularAndStaticColumns |
columns() |
Row |
getRow(Clustering<?> clustering)
Returns the row corresponding to the provided clustering, or null if there is not such row.
|
boolean |
isEmpty()
Whether the partition object has no informations at all, including any deletion informations.
|
TableMetadata |
metadata() |
DecoratedKey |
partitionKey() |
DeletionTime |
partitionLevelDeletion() |
EncodingStats |
stats() |
UnfilteredRowIterator |
unfilteredIterator()
Returns an UnfilteredRowIterator over all the rows/RT contained by this partition.
|
UnfilteredRowIterator |
unfilteredIterator(ColumnFilter columns,
java.util.NavigableSet<Clustering<?>> clusteringsInQueryOrder,
boolean reversed)
Returns an UnfilteredRowIterator over the rows/RT contained by this partition
selected by the provided clusterings.
|
UnfilteredRowIterator |
unfilteredIterator(ColumnFilter columns,
Slices slices,
boolean reversed)
Returns an UnfilteredRowIterator over the rows/RT contained by this partition
selected by the provided slices.
|
TableMetadata metadata()
DecoratedKey partitionKey()
DeletionTime partitionLevelDeletion()
RegularAndStaticColumns columns()
EncodingStats stats()
boolean isEmpty()
@Nullable Row getRow(Clustering<?> clustering)
clustering
- clustering key to searchUnfilteredRowIterator unfilteredIterator()
UnfilteredRowIterator unfilteredIterator(ColumnFilter columns, Slices slices, boolean reversed)
UnfilteredRowIterator unfilteredIterator(ColumnFilter columns, java.util.NavigableSet<Clustering<?>> clusteringsInQueryOrder, boolean reversed)
Copyright © 2009-2021 The Apache Software Foundation