Class FilteredRows
- java.lang.Object
-
- org.apache.cassandra.db.transform.BaseRows<Row,BaseRowIterator<?>>
-
- org.apache.cassandra.db.transform.FilteredRows
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.util.Iterator<Row>
,BaseRowIterator<Row>
,RowIterator
,CloseableIterator<Row>
public final class FilteredRows extends BaseRows<Row,BaseRowIterator<?>> implements RowIterator
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.cassandra.db.transform.Stack.MoreContentsHolder[]
EMPTY_MORE_CONTENTS_HOLDERS
static Transformation[]
EMPTY_TRANSFORMATIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static RowIterator
filter(UnfilteredRowIterator iterator, long nowInSecs)
Filter any RangeTombstoneMarker from the iterator, transforming it into a RowIterator.protected boolean
hasMoreContents()
boolean
isEmpty()
Returns whether the provided iterator has no data.O
next()
-
Methods inherited from class org.apache.cassandra.db.transform.BaseRows
applyOne, columns, hasNext, isReverseOrder, metadata, partitionKey, runOnClose, staticRow
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.db.rows.BaseRowIterator
columns, isReverseOrder, metadata, partitionKey, staticRow
-
Methods inherited from interface org.apache.cassandra.utils.CloseableIterator
close
-
-
-
-
Field Detail
-
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 Detail
-
isEmpty
public boolean isEmpty()
Description copied from interface:RowIterator
Returns whether the provided iterator has no data.- Specified by:
isEmpty
in interfaceBaseRowIterator<Row>
- Specified by:
isEmpty
in interfaceRowIterator
-
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 interfacejava.lang.AutoCloseable
-
next
public final O next()
- Specified by:
next
in interfacejava.util.Iterator<V>
-
hasMoreContents
protected final boolean hasMoreContents()
-
-