public abstract class LazilyInitializedUnfilteredRowIterator extends AbstractIterator<Unfiltered> implements UnfilteredRowIterator
BigTableScanner.KeyScanningIterator for instance.| Constructor and Description |
|---|
LazilyInitializedUnfilteredRowIterator(DecoratedKey partitionKey) |
| 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.
|
protected Unfiltered |
computeNext() |
boolean |
initialized() |
protected abstract UnfilteredRowIterator |
initializeIterator() |
boolean |
isReverseOrder()
Whether or not the rows returned by this iterator are in reversed
clustering order.
|
protected void |
maybeInit() |
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.
|
endOfData, hasNext, next, peek, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic LazilyInitializedUnfilteredRowIterator(DecoratedKey partitionKey)
protected abstract UnfilteredRowIterator initializeIterator()
protected void maybeInit()
public boolean initialized()
public CFMetaData metadata()
BaseRowIteratormetadata in interface BaseRowIterator<Unfiltered>public PartitionColumns columns()
BaseRowIteratorcolumns in interface BaseRowIterator<Unfiltered>public boolean isReverseOrder()
BaseRowIteratorisReverseOrder in interface BaseRowIterator<Unfiltered>public DecoratedKey partitionKey()
BaseRowIteratorpartitionKey in interface BaseRowIterator<Unfiltered>public DeletionTime partitionLevelDeletion()
UnfilteredRowIteratorpartitionLevelDeletion in interface UnfilteredRowIteratorpublic Row staticRow()
BaseRowIteratornull).staticRow in interface BaseRowIterator<Unfiltered>public EncodingStats stats()
UnfilteredRowIteratorstats in interface UnfilteredRowIteratorprotected Unfiltered computeNext()
computeNext in class AbstractIterator<Unfiltered>public void close()
close in interface java.lang.AutoCloseableclose in interface CloseableIterator<Unfiltered>Copyright © 2018 The Apache Software Foundation