public abstract class WrappingUnfilteredRowIterator extends com.google.common.collect.UnmodifiableIterator<Unfiltered> implements UnfilteredRowIterator
Note that if most of what you want to do is modifying/filtering the returned
Unfiltered, AlteringUnfilteredRowIterator can be a simpler option.
| Modifier and Type | Field and Description |
|---|---|
protected UnfilteredRowIterator |
wrapped |
| Modifier | Constructor and Description |
|---|---|
protected |
WrappingUnfilteredRowIterator(UnfilteredRowIterator wrapped) |
| 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 |
hasNext() |
boolean |
isReverseOrder()
Whether or not the atom returned by this iterator are in reversed
clustering order.
|
CFMetaData |
metadata()
The metadata for the table this iterator on.
|
Unfiltered |
next() |
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).
|
EncodingStats |
stats()
Return "statistics" about what is returned by this iterator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyprotected final UnfilteredRowIterator wrapped
protected WrappingUnfilteredRowIterator(UnfilteredRowIterator wrapped)
public CFMetaData metadata()
UnfilteredRowIteratormetadata in interface UnfilteredRowIteratorpublic PartitionColumns columns()
UnfilteredRowIteratorcolumns in interface UnfilteredRowIteratorpublic boolean isReverseOrder()
UnfilteredRowIteratorisReverseOrder in interface UnfilteredRowIteratorpublic DecoratedKey partitionKey()
UnfilteredRowIteratorpartitionKey in interface UnfilteredRowIteratorpublic DeletionTime partitionLevelDeletion()
UnfilteredRowIteratorpartitionLevelDeletion in interface UnfilteredRowIteratorpublic Row staticRow()
UnfilteredRowIteratorstaticRow in interface UnfilteredRowIteratorpublic EncodingStats stats()
UnfilteredRowIteratorstats in interface UnfilteredRowIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<Unfiltered>public Unfiltered next()
next in interface java.util.Iterator<Unfiltered>public void close()
close in interface java.lang.AutoCloseableclose in interface UnfilteredRowIteratorCopyright © 2015 The Apache Software Foundation