Package org.apache.cassandra.db.rows
Interface BaseRowIterator<U extends Unfiltered>
-
- All Superinterfaces:
java.lang.AutoCloseable
,CloseableIterator<U>
,java.util.Iterator<U>
- All Known Subinterfaces:
RowIterator
,UnfilteredRowIterator
,WrappingUnfilteredRowIterator
- All Known Implementing Classes:
AbstractSSTableIterator
,AbstractUnfilteredRowIterator
,BaseRows
,CassandraStreamReader.StreamDeserializer
,FilteredRows
,LazilyInitializedUnfilteredRowIterator
,RowAndDeletionMergeIterator
,SSTableIdentityIterator
,SSTableIterator
,SSTableReversedIterator
,UnfilteredRowIteratorWithLowerBound
public interface BaseRowIterator<U extends Unfiltered> extends CloseableIterator<U>
A common interface for Row and Unfiltered, that permits sharing of the (majority) common methods and functionality
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegularAndStaticColumns
columns()
A subset of the columns for the (static and regular) rows returned by this iterator.boolean
isEmpty()
Returns whether the provided iterator has no data.boolean
isReverseOrder()
Whether or not the rows returned by this iterator are in reversed clustering order.TableMetadata
metadata()
The metadata for the table this iterator on.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 but cannot benull
).-
Methods inherited from interface org.apache.cassandra.utils.CloseableIterator
close
-
-
-
-
Method Detail
-
metadata
TableMetadata metadata()
The metadata for the table this iterator on.
-
isReverseOrder
boolean isReverseOrder()
Whether or not the rows returned by this iterator are in reversed clustering order.
-
columns
RegularAndStaticColumns columns()
A subset of the columns for the (static and regular) rows returned by this iterator. Every row returned by this iterator must guarantee that it has only those columns.
-
partitionKey
DecoratedKey partitionKey()
The partition key of the partition this in an iterator over.
-
staticRow
Row staticRow()
The static part corresponding to this partition (this can be an empty row but cannot benull
).
-
isEmpty
boolean isEmpty()
Returns whether the provided iterator has no data.
-
-