public final class AtomicBTreePartition extends AbstractBTreePartition
AbstractBTreePartition.Holder| Modifier and Type | Field and Description |
|---|---|
static long |
EMPTY_SIZE |
EMPTY, partitionKey| Constructor and Description |
|---|
AtomicBTreePartition(TableMetadataRef metadata,
DecoratedKey partitionKey,
MemtableAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
addAllWithSizeDelta(PartitionUpdate update,
OpOrder.Group writeOp,
UpdateTransaction indexer)
Adds a given update to this in-memtable partition.
|
protected boolean |
canHaveShadowedData() |
DeletionInfo |
deletionInfo() |
Row |
getRow(Clustering<?> clustering)
Returns the row corresponding to the provided clustering, or null if there is not such row.
|
protected AbstractBTreePartition.Holder |
holder() |
java.util.Iterator<Row> |
iterator() |
Row |
lastRow() |
TableMetadata |
metadata() |
DecoratedKey |
partitionKey() |
Row |
staticRow() |
UnfilteredRowIterator |
unfilteredIterator()
Returns an UnfilteredRowIterator over all the rows/RT contained by this partition.
|
UnfilteredRowIterator |
unfilteredIterator(AbstractBTreePartition.Holder current,
ColumnFilter selection,
Slices slices,
boolean reversed) |
UnfilteredRowIterator |
unfilteredIterator(ColumnFilter selection,
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 selection,
Slices slices,
boolean reversed)
Returns an UnfilteredRowIterator over the rows/RT contained by this partition
selected by the provided slices.
|
boolean |
useLock() |
build, build, build, columns, hasRows, isEmpty, partitionLevelDeletion, rowCount, stats, toStringpublic AtomicBTreePartition(TableMetadataRef metadata, DecoratedKey partitionKey, MemtableAllocator allocator)
protected AbstractBTreePartition.Holder holder()
holder in class AbstractBTreePartitionpublic TableMetadata metadata()
metadata in interface Partitionmetadata in class AbstractBTreePartitionprotected boolean canHaveShadowedData()
canHaveShadowedData in class AbstractBTreePartitionpublic long[] addAllWithSizeDelta(PartitionUpdate update, OpOrder.Group writeOp, UpdateTransaction indexer)
public DeletionInfo deletionInfo()
deletionInfo in class AbstractBTreePartitionpublic Row staticRow()
staticRow in class AbstractBTreePartitionpublic DecoratedKey partitionKey()
partitionKey in interface PartitionpartitionKey in class AbstractBTreePartitionpublic Row getRow(Clustering<?> clustering)
PartitiongetRow in interface PartitiongetRow in class AbstractBTreePartitionclustering - clustering key to searchpublic Row lastRow()
lastRow in class AbstractBTreePartitionpublic UnfilteredRowIterator unfilteredIterator(ColumnFilter selection, Slices slices, boolean reversed)
PartitionunfilteredIterator in interface PartitionunfilteredIterator in class AbstractBTreePartitionpublic UnfilteredRowIterator unfilteredIterator(ColumnFilter selection, java.util.NavigableSet<Clustering<?>> clusteringsInQueryOrder, boolean reversed)
PartitionunfilteredIterator in interface PartitionunfilteredIterator in class AbstractBTreePartitionpublic UnfilteredRowIterator unfilteredIterator()
PartitionunfilteredIterator in interface PartitionunfilteredIterator in class AbstractBTreePartitionpublic UnfilteredRowIterator unfilteredIterator(AbstractBTreePartition.Holder current, ColumnFilter selection, Slices slices, boolean reversed)
unfilteredIterator in class AbstractBTreePartitionpublic java.util.Iterator<Row> iterator()
iterator in interface java.lang.Iterable<Row>iterator in class AbstractBTreePartitionpublic boolean useLock()
Copyright © 2009-2020 The Apache Software Foundation