Class FilteredRows

java.lang.Object
org.apache.cassandra.db.transform.BaseRows<Row,BaseRowIterator<?>>
org.apache.cassandra.db.transform.FilteredRows
All Implemented Interfaces:
AutoCloseable, Iterator<Row>, BaseRowIterator<Row>, RowIterator, CloseableIterator<Row>

public final class FilteredRows extends BaseRows<Row,BaseRowIterator<?>> implements RowIterator
  • Field Details

    • EMPTY_TRANSFORMATIONS

      public static final Transformation[] EMPTY_TRANSFORMATIONS
    • EMPTY_MORE_CONTENTS_HOLDERS

      public static final org.apache.cassandra.db.transform.Stack.MoreContentsHolder[] EMPTY_MORE_CONTENTS_HOLDERS
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Description copied from interface: RowIterator
      Returns whether the provided iterator has no data.
      Specified by:
      isEmpty in interface BaseRowIterator<Row>
      Specified by:
      isEmpty in interface RowIterator
    • filter

      public static RowIterator filter(UnfilteredRowIterator iterator, long nowInSecs)
      Filter any RangeTombstoneMarker from the iterator, transforming it into a RowIterator.
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable
    • next

      public final Row next()
      Specified by:
      next in interface Iterator<V>
    • hasMoreContents

      protected final boolean hasMoreContents()