Package org.apache.cassandra.utils
Interface CloseableIterator<T>
- All Superinterfaces:
AutoCloseable,Iterator<T>
- All Known Subinterfaces:
BasePartitionIterator<I>,BaseRowIterator<U>,IMergeIterator<In,,Out> ISSTableScanner,PartitionIterator,RowIterator,UnfilteredPartitionIterator,UnfilteredRowIterator,WrappingUnfilteredRowIterator
- All Known Implementing Classes:
AbstractIterator,AbstractSSTableIterator,AbstractTokenTreeBuilder.LevelIterator,AbstractUnfilteredPartitionIterator,AbstractUnfilteredRowIterator,AggregationQueryPager.AggregationPartitionIterator,AggregationQueryPager.GroupByPartitionIterator,AutoResumingNodeScoreIterator,BasePartitions,BaseRows,BigTableScanner,BigTableScanner.BigScanningIterator,BruteForceRowIdIterator,BtiTableScanner,BtiTableScanner.BtiScanningIterator,CassandraStreamReader.StreamDeserializer,CassandraValidationIterator,CompactionIterator,EmptySSTableScanner,FilteredPartitions,FilteredRows,InMemoryPartitionIterator,InMemoryUnfilteredPartitionIterator,KeyIterator,LazilyInitializedUnfilteredRowIterator,MergeIterator,MergePrimaryKeyWithScoreIterator,MerkleTree.TreeRangeIterator,NeighborQueueRowIdIterator,NodeScoreToRowIdWithScoreIterator,PriorityQueueIterator,RangeCommandIterator,ReducingKeyIterator,RowAndDeletionMergeIterator,RowIdToPrimaryKeyWithScoreIterator,ScanAllRangesCommandIterator,ShardedSkipListMemtable.MemtableUnfilteredPartitionIterator,SingletonUnfilteredPartitionIterator,SSTableIdentityIterator,SSTableIterator,SSTableReversedIterator,SSTableScanner,SSTableScanner.BaseKeyScanningIterator,SSTableSimpleIterator,SSTableSimpleIterator.EmptySSTableSimpleIterator,SSTableSimpleScanner,StorageAttachedIndexSearcher.ScoreOrderedResultRetriever,ThrottledUnfilteredIterator,UnfilteredRowIteratorWithLowerBound,ValidationPartitionIterator
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static <T> CloseableIterator<T>empty()static <T> CloseableIterator<T>Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
wrap
-
empty
-