public abstract class BaseRows<R extends Unfiltered,I extends BaseRowIterator<? extends Unfiltered>> extends java.lang.Object implements BaseRowIterator<R>
| Modifier and Type | Field and Description |
|---|---|
static org.apache.cassandra.db.transform.Stack.MoreContentsHolder[] |
EMPTY_MORE_CONTENTS_HOLDERS |
static Transformation[] |
EMPTY_TRANSFORMATIONS |
| Modifier and Type | Method and Description |
|---|---|
protected Unfiltered |
applyOne(Unfiltered value,
Transformation transformation)
apply the relevant method from the transformation to the value.
|
void |
close() |
PartitionColumns |
columns()
A subset of the columns for the (static and regular) rows returned by this iterator.
|
protected boolean |
hasMoreContents() |
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.
|
O |
next() |
DecoratedKey |
partitionKey()
The partition key of the partition this in an iterator over.
|
protected java.lang.Throwable |
runOnClose(int length)
run the corresponding runOnClose method for the first length transformations.
|
Row |
staticRow()
The static part corresponding to this partition (this can be an empty
row but cannot be
null). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptyclosepublic static final Transformation[] EMPTY_TRANSFORMATIONS
public static final org.apache.cassandra.db.transform.Stack.MoreContentsHolder[] EMPTY_MORE_CONTENTS_HOLDERS
public BaseRows(I input)
public CFMetaData metadata()
BaseRowIteratormetadata in interface BaseRowIterator<R extends Unfiltered>public boolean isReverseOrder()
BaseRowIteratorisReverseOrder in interface BaseRowIterator<R extends Unfiltered>public PartitionColumns columns()
BaseRowIteratorcolumns in interface BaseRowIterator<R extends Unfiltered>public DecoratedKey partitionKey()
BaseRowIteratorpartitionKey in interface BaseRowIterator<R extends Unfiltered>public Row staticRow()
BaseRowIteratornull).staticRow in interface BaseRowIterator<R extends Unfiltered>protected java.lang.Throwable runOnClose(int length)
protected Unfiltered applyOne(Unfiltered value, Transformation transformation)
public final boolean hasNext()
hasNext in interface java.util.Iterator<R extends Unfiltered>public final void close()
close in interface java.lang.AutoCloseablepublic final O next()
next in interface java.util.Iterator<O extends V>protected final boolean hasMoreContents()
Copyright © 2018 The Apache Software Foundation