public class AtomicBTreePartition extends AbstractBTreePartition
AbstractBTreePartition.Holder, AbstractBTreePartition.SlicesIterator| Modifier and Type | Field and Description |
|---|---|
static long |
EMPTY_SIZE |
EMPTY, metadata, partitionKey| Constructor and Description |
|---|
AtomicBTreePartition(CFMetaData 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() |
DecoratedKey |
partitionKey() |
SearchIterator<Clustering,Row> |
searchIterator(ColumnFilter columns,
boolean reversed)
Returns an iterator that allows to search specific rows efficiently.
|
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,
Slices slices,
boolean reversed)
Returns an UnfilteredRowIterator over the rows/RT contained by this partition
selected by the provided slices.
|
boolean |
usePessimisticLocking() |
build, build, build, columns, hasRows, isEmpty, metadata, partitionLevelDeletion, rowCount, stats, toStringpublic AtomicBTreePartition(CFMetaData metadata, DecoratedKey partitionKey, MemtableAllocator allocator)
protected AbstractBTreePartition.Holder holder()
holder 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 AbstractBTreePartitionpublic Row lastRow()
lastRow in class AbstractBTreePartitionpublic SearchIterator<Clustering,Row> searchIterator(ColumnFilter columns, boolean reversed)
PartitionsearchIterator in interface PartitionsearchIterator in class AbstractBTreePartitionpublic UnfilteredRowIterator unfilteredIterator(ColumnFilter selection, Slices slices, 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 usePessimisticLocking()
Copyright © 2018 The Apache Software Foundation