Package org.apache.cassandra.db.rows
Interface BaseRowIterator<U extends Unfiltered>
- All Superinterfaces:
AutoCloseable,CloseableIterator<U>,Iterator<U>
- All Known Subinterfaces:
RowIterator,UnfilteredRowIterator,WrappingUnfilteredRowIterator
- All Known Implementing Classes:
AbstractSSTableIterator,AbstractUnfilteredRowIterator,BaseRows,CassandraStreamReader.StreamDeserializer,FilteredRows,LazilyInitializedUnfilteredRowIterator,RowAndDeletionMergeIterator,SSTableIdentityIterator,SSTableIterator,SSTableReversedIterator,UnfilteredRowIteratorWithLowerBound
A common interface for Row and Unfiltered, that permits sharing of the (majority) common
methods and functionality
-
Method Summary
Modifier and TypeMethodDescriptioncolumns()A subset of the columns for the (static and regular) rows returned by this iterator.booleanisEmpty()Returns whether the provided iterator has no data.booleanWhether or not the rows returned by this iterator are in reversed clustering order.metadata()The metadata for the table this iterator on.The partition key of the partition this in an iterator over.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
closeMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
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.
-