public abstract class WrappingRowIterator extends com.google.common.collect.UnmodifiableIterator<Row> implements RowIterator
| Modifier and Type | Field and Description |
|---|---|
protected RowIterator |
wrapped |
| Modifier | Constructor and Description |
|---|---|
protected |
WrappingRowIterator(RowIterator 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 rows returned by this iterator are in reversed
clustering order.
|
CFMetaData |
metadata()
The metadata for the table this iterator on.
|
Row |
next() |
DecoratedKey |
partitionKey()
The partition key of the partition this in an iterator over.
|
Row |
staticRow()
The static part corresponding to this partition (this can be an empty
row).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyprotected final RowIterator wrapped
protected WrappingRowIterator(RowIterator wrapped)
public CFMetaData metadata()
RowIteratormetadata in interface RowIteratorpublic boolean isReverseOrder()
RowIteratorisReverseOrder in interface RowIteratorpublic PartitionColumns columns()
RowIteratorcolumns in interface RowIteratorpublic DecoratedKey partitionKey()
RowIteratorpartitionKey in interface RowIteratorpublic Row staticRow()
RowIteratorstaticRow in interface RowIteratorpublic boolean hasNext()
hasNext in interface java.util.Iterator<Row>public void close()
close in interface java.lang.AutoCloseableclose in interface RowIteratorCopyright © 2015 The Apache Software Foundation