Uses of Interface
org.apache.cassandra.utils.CloseableIterator
Packages that use CloseableIterator
Package
Description
File transfer
-
Uses of CloseableIterator in org.apache.cassandra.db.compaction
Classes in org.apache.cassandra.db.compaction that implement CloseableIteratorModifier and TypeClassDescriptionclassMerge multiple iterators over the content of sstable into a "compacted" iterator. -
Uses of CloseableIterator in org.apache.cassandra.db.memtable
Classes in org.apache.cassandra.db.memtable that implement CloseableIteratorModifier and TypeClassDescriptionstatic class -
Uses of CloseableIterator in org.apache.cassandra.db.partitions
Subinterfaces of CloseableIterator in org.apache.cassandra.db.partitionsModifier and TypeInterfaceDescriptioninterfaceBasePartitionIterator<I extends BaseRowIterator<?>>interfaceAn iterator over a number of (filtered) partition.interfaceAn iterator over a number of unfiltered partitions (i.e.Classes in org.apache.cassandra.db.partitions that implement CloseableIteratorModifier and TypeClassDescriptionclassclass -
Uses of CloseableIterator in org.apache.cassandra.db.repair
Classes in org.apache.cassandra.db.repair that implement CloseableIterator -
Uses of CloseableIterator in org.apache.cassandra.db.rows
Subinterfaces of CloseableIterator in org.apache.cassandra.db.rowsModifier and TypeInterfaceDescriptioninterfaceBaseRowIterator<U extends Unfiltered>A common interface for Row and Unfiltered, that permits sharing of the (majority) common methods and functionalityinterfaceAn iterator over rows belonging to a partition.interfaceAn iterator over the rows of a given partition that also includes deletion informations.interfaceAbstract class to make writing unfiltered iterators that wrap another iterator easier.Classes in org.apache.cassandra.db.rows that implement CloseableIteratorModifier and TypeClassDescriptionclassclassAbstract class to create UnfilteredRowIterator that lazily initializes itself.classAn iterator that merges a source of rows with the range tombstone and partition level deletion of a give partition.classA utility class to split the givenUnfilteredRowIteratorinto smaller chunks each having at mostThrottledUnfilteredIterator.throttle+ 1 unfiltereds.classAn unfiltered row iterator with a lower bound retrieved from either the global sstable statistics or the row index lower bounds (if available in the cache).Methods in org.apache.cassandra.db.rows that return CloseableIteratorModifier and TypeMethodDescriptionThrottledUnfilteredIterator.throttle(UnfilteredPartitionIterator partitionIterator, int maxBatchSize) Splits aUnfilteredPartitionIteratorinUnfilteredRowIteratorbatches with size no higher than maxBatchSize -
Uses of CloseableIterator in org.apache.cassandra.db.streaming
Classes in org.apache.cassandra.db.streaming that implement CloseableIterator -
Uses of CloseableIterator in org.apache.cassandra.db.transform
Classes in org.apache.cassandra.db.transform that implement CloseableIteratorModifier and TypeClassDescriptionclassBasePartitions<R extends BaseRowIterator<?>,I extends BasePartitionIterator<? extends BaseRowIterator<?>>> classBaseRows<R extends Unfiltered,I extends BaseRowIterator<? extends Unfiltered>> final classfinal class -
Uses of CloseableIterator in org.apache.cassandra.index.sai.disk
Methods in org.apache.cassandra.index.sai.disk that return types with arguments of type CloseableIteratorModifier and TypeMethodDescriptionEmptyIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) abstract List<CloseableIterator<PrimaryKeyWithScore>>SSTableIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) EmptyIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) abstract List<CloseableIterator<PrimaryKeyWithScore>>SSTableIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.disk.v1
Methods in org.apache.cassandra.index.sai.disk.v1 that return types with arguments of type CloseableIteratorModifier and TypeMethodDescriptionV1SSTableIndex.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) V1SSTableIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.disk.v1.segment
Methods in org.apache.cassandra.index.sai.disk.v1.segment that return CloseableIteratorModifier and TypeMethodDescriptionIndexSegmentSearcher.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Order the rows by the given expression.Segment.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Order the on-disk index synchronously and produce an iterator in score orderVectorIndexSegmentSearcher.orderBy(Expression orderer, AbstractBounds<PartitionPosition> keyRange, QueryContext context) Segment.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) default CloseableIterator<PrimaryKeyWithScore>SegmentOrdering.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) Reorder, limit, and put back into original order the results from a single sstableVectorIndexSegmentSearcher.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.disk.v1.vector
Classes in org.apache.cassandra.index.sai.disk.v1.vector that implement CloseableIteratorModifier and TypeClassDescriptionclassAn iterator overSearchResult.NodeScorebacked by aSearchResultthat resumes search when the backingSearchResultis exhausted.classAn iterator overRowIdWithScorethat lazily consumes from aNeighborQueueof approximate scores.classAn iterator overRowIdWithScorethat lazily consumes aNeighborQueue.classAn iterator overRowIdWithScoresorted by score descending.classAn iterator over scored primary keys ordered by the score descending Not skippable.Methods in org.apache.cassandra.index.sai.disk.v1.vector that return CloseableIteratorModifier and TypeMethodDescriptionDiskAnn.search(float[] queryVector, int topK, int limit, io.github.jbellis.jvector.util.Bits acceptBits, IntConsumer nodesVisitedConsumer) CloseableIterator<io.github.jbellis.jvector.graph.SearchResult.NodeScore>OnHeapGraph.search(float[] queryVector, int limit, io.github.jbellis.jvector.util.Bits toAccept) Constructors in org.apache.cassandra.index.sai.disk.v1.vector with parameters of type CloseableIteratorModifierConstructorDescriptionNodeScoreToRowIdWithScoreIterator(CloseableIterator<io.github.jbellis.jvector.graph.SearchResult.NodeScore> nodeScores, OnDiskOrdinalsMap.RowIdsView rowIdsView) RowIdToPrimaryKeyWithScoreIterator(ColumnMetadata column, PrimaryKeyMap.Factory primaryKeyMapFactory, CloseableIterator<RowIdWithScore> scoredRowIdIterator, long segmentRowIdOffset) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.iterators
Classes in org.apache.cassandra.index.sai.iterators that implement CloseableIteratorModifier and TypeClassDescriptionclassAn iterator over a priority queue. -
Uses of CloseableIterator in org.apache.cassandra.index.sai.memory
Methods in org.apache.cassandra.index.sai.memory that return CloseableIteratorModifier and TypeMethodDescriptionMemtableIndex.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) MemtableOrdering.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) Order the index based on the given orderer (expression).TrieMemoryIndex.orderBy(QueryContext queryContext, Expression orderer, AbstractBounds<PartitionPosition> keyRange) VectorMemoryIndex.orderBy(QueryContext queryContext, Expression expr, AbstractBounds<PartitionPosition> keyRange) MemtableIndex.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) MemtableOrdering.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) Order the given list ofPrimaryKeyresults corresponding to the given orderer.TrieMemoryIndex.orderResultsBy(QueryContext context, List<PrimaryKey> results, Expression orderer) VectorMemoryIndex.orderResultsBy(QueryContext queryContext, List<PrimaryKey> results, Expression orderer) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.plan
Classes in org.apache.cassandra.index.sai.plan that implement CloseableIteratorModifier and TypeClassDescriptionclassA result retriever that consumes an iterator primary keys sorted by some score, materializes the row for each primary key (currently, each primary key is required to be fully qualified and should only point to one row), apply the filter tree to the row to test that the real row satisfies the WHERE clause, and finally tests that the row is valid for the ORDER BY clause.Methods in org.apache.cassandra.index.sai.plan that return CloseableIteratorModifier and TypeMethodDescriptionQueryController.getTopKRows(KeyRangeIterator source, QueryViewBuilder.QueryExpressionView queryExpressionView) QueryController.getTopKRows(QueryViewBuilder.QueryExpressionView queryExpressionView) -
Uses of CloseableIterator in org.apache.cassandra.index.sai.utils
Classes in org.apache.cassandra.index.sai.utils that implement CloseableIteratorModifier and TypeClassDescriptionclassclassclassConstructor parameters in org.apache.cassandra.index.sai.utils with type arguments of type CloseableIteratorModifierConstructorDescription -
Uses of CloseableIterator in org.apache.cassandra.index.sasi.disk
Classes in org.apache.cassandra.index.sasi.disk that implement CloseableIterator -
Uses of CloseableIterator in org.apache.cassandra.io.sstable
Subinterfaces of CloseableIterator in org.apache.cassandra.io.sstableModifier and TypeInterfaceDescriptioninterfaceAn ISSTableScanner is an abstraction allowing multiple SSTableScanners to be chained together under the hood.Classes in org.apache.cassandra.io.sstable that implement CloseableIteratorModifier and TypeClassDescriptionclassAbstractSSTableIterator<RIE extends AbstractRowIndexEntry>classclassclassCaller must acquire and release references to the sstables used here.classclassUtility class to handle deserializing atom from sstables.static class -
Uses of CloseableIterator in org.apache.cassandra.io.sstable.format
Classes in org.apache.cassandra.io.sstable.format that implement CloseableIteratorModifier and TypeClassDescriptionclassSSTableScanner<S extends SSTableReader,E extends AbstractRowIndexEntry, I extends SSTableScanner<S, E, I>.BaseKeyScanningIterator> classclass -
Uses of CloseableIterator in org.apache.cassandra.io.sstable.format.big
Classes in org.apache.cassandra.io.sstable.format.big that implement CloseableIteratorModifier and TypeClassDescriptionclassprotected classclassA Cell Iterator over SSTableclassA Cell Iterator in reversed clustering order over SSTable -
Uses of CloseableIterator in org.apache.cassandra.io.sstable.format.bti
Classes in org.apache.cassandra.io.sstable.format.bti that implement CloseableIteratorModifier and TypeClassDescriptionclassprotected class -
Uses of CloseableIterator in org.apache.cassandra.repair
Classes in org.apache.cassandra.repair that implement CloseableIterator -
Uses of CloseableIterator in org.apache.cassandra.service.pager
Classes in org.apache.cassandra.service.pager that implement CloseableIteratorModifier and TypeClassDescriptionfinal classPartitionIteratorfor queries without Group By but with aggregates.classPartitionIteratorthat automatically fetch a new sub-page of data if needed when the current iterator is exhausted. -
Uses of CloseableIterator in org.apache.cassandra.service.paxos.uncommitted
Methods in org.apache.cassandra.service.paxos.uncommitted that return CloseableIteratorModifier and TypeMethodDescriptionPaxosUncommittedIndex.flushIterator(Memtable flushing) PaxosUncommittedTracker.UpdateSupplier.flushIterator(Memtable paxos) static CloseableIterator<PaxosKeyState>PaxosKeyState.mergeUncommitted(CloseableIterator<PaxosKeyState>... iterators) PaxosUncommittedIndex.repairIterator(TableId tableId, Collection<Range<Token>> ranges) PaxosUncommittedTracker.UpdateSupplier.repairIterator(TableId tableId, Collection<Range<Token>> ranges) static CloseableIterator<UncommittedPaxosKey>PaxosKeyState.toUncommittedInfo(CloseableIterator<PaxosKeyState> iter) PaxosUncommittedTracker.uncommittedKeyIterator(TableId tableId, Collection<Range<Token>> ranges) Methods in org.apache.cassandra.service.paxos.uncommitted with parameters of type CloseableIteratorModifier and TypeMethodDescriptionstatic CloseableIterator<PaxosKeyState>PaxosKeyState.mergeUncommitted(CloseableIterator<PaxosKeyState>... iterators) static CloseableIterator<UncommittedPaxosKey>PaxosKeyState.toUncommittedInfo(CloseableIterator<PaxosKeyState> iter) -
Uses of CloseableIterator in org.apache.cassandra.service.reads.range
Classes in org.apache.cassandra.service.reads.range that implement CloseableIteratorModifier and TypeClassDescriptionclassclassA customRangeCommandIteratorthat queries all replicas required by consistency level at once with data range specify inPartitionRangeReadCommand. -
Uses of CloseableIterator in org.apache.cassandra.utils
Subinterfaces of CloseableIterator in org.apache.cassandra.utilsClasses in org.apache.cassandra.utils that implement CloseableIteratorModifier and TypeClassDescriptionclassclassMergeIterator<In,Out> Merges sorted input iterators which individually contain unique items.static classReturns the leaf (range) of a given tree in increasing order.Methods in org.apache.cassandra.utils that return CloseableIteratorModifier and TypeMethodDescriptionstatic <T> CloseableIterator<T>FBUtilities.closeableIterator(Iterator<T> iterator) static <T> CloseableIterator<T>CloseableIterator.empty()static <T> CloseableIterator<T>