public abstract class AbstractUnfilteredRowIterator extends AbstractIterator<Unfiltered> implements UnfilteredRowIterator
Modifier and Type | Field and Description |
---|---|
protected PartitionColumns |
columns |
protected boolean |
isReverseOrder |
protected CFMetaData |
metadata |
protected DecoratedKey |
partitionKey |
protected DeletionTime |
partitionLevelDeletion |
protected Row |
staticRow |
protected EncodingStats |
stats |
Modifier | Constructor and Description |
---|---|
protected |
AbstractUnfilteredRowIterator(CFMetaData metadata,
DecoratedKey partitionKey,
DeletionTime partitionLevelDeletion,
PartitionColumns columns,
Row staticRow,
boolean isReverseOrder,
EncodingStats stats) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
PartitionColumns |
columns()
A subset of the columns for the (static and regular) rows returned by this iterator.
|
boolean |
isReverseOrder()
Whether or not the rows returned by this iterator are in reversed
clustering order.
|
CFMetaData |
metadata()
The metadata for the table this iterator on.
|
DecoratedKey |
partitionKey()
The partition key of the partition this in an iterator over.
|
DeletionTime |
partitionLevelDeletion()
The partition level deletion for the partition this iterate over.
|
Row |
staticRow()
The static part corresponding to this partition (this can be an empty
row but cannot be
null ). |
EncodingStats |
stats()
Return "statistics" about what is returned by this iterator.
|
computeNext, endOfData, hasNext, next, peek, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEmpty
protected final CFMetaData metadata
protected final DecoratedKey partitionKey
protected final DeletionTime partitionLevelDeletion
protected final PartitionColumns columns
protected final Row staticRow
protected final boolean isReverseOrder
protected final EncodingStats stats
protected AbstractUnfilteredRowIterator(CFMetaData metadata, DecoratedKey partitionKey, DeletionTime partitionLevelDeletion, PartitionColumns columns, Row staticRow, boolean isReverseOrder, EncodingStats stats)
public CFMetaData metadata()
BaseRowIterator
metadata
in interface BaseRowIterator<Unfiltered>
public PartitionColumns columns()
BaseRowIterator
columns
in interface BaseRowIterator<Unfiltered>
public boolean isReverseOrder()
BaseRowIterator
isReverseOrder
in interface BaseRowIterator<Unfiltered>
public DecoratedKey partitionKey()
BaseRowIterator
partitionKey
in interface BaseRowIterator<Unfiltered>
public DeletionTime partitionLevelDeletion()
UnfilteredRowIterator
partitionLevelDeletion
in interface UnfilteredRowIterator
public Row staticRow()
BaseRowIterator
null
).staticRow
in interface BaseRowIterator<Unfiltered>
public EncodingStats stats()
UnfilteredRowIterator
stats
in interface UnfilteredRowIterator
public void close()
close
in interface java.lang.AutoCloseable
close
in interface CloseableIterator<Unfiltered>
Copyright © 2018 The Apache Software Foundation