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, wait
isEmpty
protected final RowIterator wrapped
protected WrappingRowIterator(RowIterator wrapped)
public CFMetaData metadata()
RowIterator
metadata
in interface RowIterator
public boolean isReverseOrder()
RowIterator
isReverseOrder
in interface RowIterator
public PartitionColumns columns()
RowIterator
columns
in interface RowIterator
public DecoratedKey partitionKey()
RowIterator
partitionKey
in interface RowIterator
public Row staticRow()
RowIterator
staticRow
in interface RowIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator<Row>
public void close()
close
in interface java.lang.AutoCloseable
close
in interface RowIterator
Copyright © 2015 The Apache Software Foundation