public class ImmutableBTreePartition extends AbstractBTreePartition
AbstractBTreePartition.Holder, AbstractBTreePartition.SlicesIterator| Modifier and Type | Field and Description | 
|---|---|
| protected AbstractBTreePartition.Holder | holder | 
EMPTY, metadata, partitionKey| Modifier | Constructor and Description | 
|---|---|
| protected  | ImmutableBTreePartition(CFMetaData metadata,
                       DecoratedKey partitionKey,
                       AbstractBTreePartition.Holder holder) | 
|   | ImmutableBTreePartition(CFMetaData metadata,
                       DecoratedKey partitionKey,
                       PartitionColumns columns,
                       Row staticRow,
                       java.lang.Object[] tree,
                       DeletionInfo deletionInfo,
                       EncodingStats stats) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | canHaveShadowedData() | 
| static ImmutableBTreePartition | create(UnfilteredRowIterator iterator)Creates an  ImmutableBTreePartitionholding all the data of the provided iterator. | 
| static ImmutableBTreePartition | create(UnfilteredRowIterator iterator,
      boolean ordered)Creates an  ImmutableBTreePartitionholding all the data of the provided iterator. | 
| static ImmutableBTreePartition | create(UnfilteredRowIterator iterator,
      int initialRowCapacity)Creates an  ImmutableBTreePartitionholding all the data of the provided iterator. | 
| static ImmutableBTreePartition | create(UnfilteredRowIterator iterator,
      int initialRowCapacity,
      boolean ordered)Creates an  ImmutableBTreePartitionholding all the data of the provided iterator. | 
| protected AbstractBTreePartition.Holder | holder() | 
build, build, build, columns, deletionInfo, getRow, hasRows, isEmpty, iterator, lastRow, metadata, partitionKey, partitionLevelDeletion, rowCount, searchIterator, staticRow, stats, toString, unfilteredIterator, unfilteredIterator, unfilteredIteratorprotected final AbstractBTreePartition.Holder holder
public ImmutableBTreePartition(CFMetaData metadata, DecoratedKey partitionKey, PartitionColumns columns, Row staticRow, java.lang.Object[] tree, DeletionInfo deletionInfo, EncodingStats stats)
protected ImmutableBTreePartition(CFMetaData metadata, DecoratedKey partitionKey, AbstractBTreePartition.Holder holder)
public static ImmutableBTreePartition create(UnfilteredRowIterator iterator)
ImmutableBTreePartition holding all the data of the provided iterator.
 Warning: Note that this method does not close the provided iterator and it is
 up to the caller to do so.iterator - the iterator to gather in memory.public static ImmutableBTreePartition create(UnfilteredRowIterator iterator, boolean ordered)
ImmutableBTreePartition holding all the data of the provided iterator.
 Warning: Note that this method does not close the provided iterator and it is
 up to the caller to do so.iterator - the iterator to gather in memory.ordered - true if the iterator will return the rows in order, false otherwise.public static ImmutableBTreePartition create(UnfilteredRowIterator iterator, int initialRowCapacity)
ImmutableBTreePartition holding all the data of the provided iterator.
 Warning: Note that this method does not close the provided iterator and it is
 up to the caller to do so.iterator - the iterator to gather in memory.initialRowCapacity - sizing hint (in rows) to use for the created partition. It should ideally
 correspond or be a good estimation of the number or rows in iterator.public static ImmutableBTreePartition create(UnfilteredRowIterator iterator, int initialRowCapacity, boolean ordered)
ImmutableBTreePartition holding all the data of the provided iterator.
 Warning: Note that this method does not close the provided iterator and it is
 up to the caller to do so.iterator - the iterator to gather in memory.initialRowCapacity - sizing hint (in rows) to use for the created partition. It should ideally
 correspond or be a good estimation of the number or rows in iterator.ordered - true if the iterator will return the rows in order, false otherwise.protected AbstractBTreePartition.Holder holder()
holder in class AbstractBTreePartitionprotected boolean canHaveShadowedData()
canHaveShadowedData in class AbstractBTreePartitionCopyright © 2018 The Apache Software Foundation