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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.cassandra.db.transform.Stack.MoreContentsHolder[]static final Transformation[] -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()static RowIteratorfilter(UnfilteredRowIterator iterator, long nowInSecs) Filter any RangeTombstoneMarker from the iterator, transforming it into a RowIterator.protected final booleanbooleanisEmpty()Returns whether the provided iterator has no data.final Rownext()Methods inherited from class org.apache.cassandra.db.transform.BaseRows
applyOne, columns, hasNext, isReverseOrder, metadata, partitionKey, runOnClose, staticRowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.rows.BaseRowIterator
columns, isReverseOrder, metadata, partitionKey, staticRowMethods inherited from interface org.apache.cassandra.utils.CloseableIterator
closeMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Field Details
-
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:RowIteratorReturns whether the provided iterator has no data.- Specified by:
isEmptyin interfaceBaseRowIterator<Row>- Specified by:
isEmptyin interfaceRowIterator
-
filter
Filter any RangeTombstoneMarker from the iterator, transforming it into a RowIterator. -
close
public final void close()- Specified by:
closein interfaceAutoCloseable
-
next
-
hasMoreContents
protected final boolean hasMoreContents()
-