Class FilteredPartitions
java.lang.Object
org.apache.cassandra.db.transform.BasePartitions<RowIterator,BasePartitionIterator<?>>
org.apache.cassandra.db.transform.FilteredPartitions
- All Implemented Interfaces:
AutoCloseable,Iterator<RowIterator>,BasePartitionIterator<RowIterator>,PartitionIterator,CloseableIterator<RowIterator>
public final class FilteredPartitions
extends BasePartitions<RowIterator,BasePartitionIterator<?>>
implements PartitionIterator
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.cassandra.db.transform.Stack.MoreContentsHolder[]static final Transformation[] -
Method Summary
Modifier and TypeMethodDescriptionfinal voidclose()static FilteredPartitionsfilter(UnfilteredPartitionIterator iterator, long nowInSecs) Filter any RangeTombstoneMarker from the iterator's iterators, transforming it into a PartitionIterator.static FilteredPartitionsfilter(UnfilteredPartitionIterator iterator, Filter filter) protected final booleanfinal RowIteratornext()Methods inherited from class org.apache.cassandra.db.transform.BasePartitions
applyOne, hasNext, runOnCloseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.partitions.BasePartitionIterator
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
-
filter
Filter any RangeTombstoneMarker from the iterator's iterators, transforming it into a PartitionIterator. -
filter
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable
-
next
-
hasMoreContents
protected final boolean hasMoreContents()
-