Class FilteredPartitions
- java.lang.Object
-
- org.apache.cassandra.db.transform.BasePartitions<RowIterator,BasePartitionIterator<?>>
-
- org.apache.cassandra.db.transform.FilteredPartitions
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.util.Iterator<RowIterator>,BasePartitionIterator<RowIterator>,PartitionIterator,CloseableIterator<RowIterator>
public final class FilteredPartitions extends BasePartitions<RowIterator,BasePartitionIterator<?>> implements PartitionIterator
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.cassandra.db.transform.Stack.MoreContentsHolder[]EMPTY_MORE_CONTENTS_HOLDERSstatic Transformation[]EMPTY_TRANSFORMATIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static FilteredPartitionsfilter(UnfilteredPartitionIterator iterator, int nowInSecs)Filter any RangeTombstoneMarker from the iterator's iterators, transforming it into a PartitionIterator.static FilteredPartitionsfilter(UnfilteredPartitionIterator iterator, Filter filter)protected booleanhasMoreContents()Onext()-
Methods inherited from class org.apache.cassandra.db.transform.BasePartitions
applyOne, hasNext, runOnClose
-
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.partitions.BasePartitionIterator
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
-
filter
public static FilteredPartitions filter(UnfilteredPartitionIterator iterator, int nowInSecs)
Filter any RangeTombstoneMarker from the iterator's iterators, transforming it into a PartitionIterator.
-
filter
public static FilteredPartitions filter(UnfilteredPartitionIterator iterator, Filter filter)
-
close
public final void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
next
public final O next()
- Specified by:
nextin interfacejava.util.Iterator<V>
-
hasMoreContents
protected final boolean hasMoreContents()
-
-