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

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 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

      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 be null).
    • isEmpty

      boolean isEmpty()
      Returns whether the provided iterator has no data.