Package org.apache.cassandra.utils
Interface CloseableIterator<T>
-
- All Superinterfaces:
java.lang.AutoCloseable,java.util.Iterator<T>
- All Known Subinterfaces:
BasePartitionIterator<I>,BaseRowIterator<U>,IMergeIterator<In,Out>,ISSTableScanner,PartitionIterator,RowIterator,UnfilteredPartitionIterator,UnfilteredRowIterator
- All Known Implementing Classes:
AbstractIterator,AbstractSSTableIterator,AbstractTokenTreeBuilder.LevelIterator,AbstractUnfilteredPartitionIterator,AbstractUnfilteredRowIterator,AggregationQueryPager.AggregationPartitionIterator,AggregationQueryPager.GroupByPartitionIterator,BasePartitions,BaseRows,BigTableScanner,BigTableScanner.EmptySSTableScanner,BigTableScanner.KeyScanningIterator,CassandraStreamReader.StreamDeserializer,CassandraValidationIterator,CompactionIterator,FilteredPartitions,FilteredRows,KeyIterator,LazilyInitializedUnfilteredRowIterator,MergeIterator,MerkleTree.TreeRangeIterator,RangeCommandIterator,ReducingKeyIterator,RowAndDeletionMergeIterator,ShardedSkipListMemtable.MemtableUnfilteredPartitionIterator,SingletonUnfilteredPartitionIterator,SSTableIdentityIterator,SSTableIterator,SSTableReversedIterator,SSTableSimpleIterator,SSTableSimpleIterator.EmptySSTableSimpleIterator,ThrottledUnfilteredIterator,UnfilteredRowIteratorWithLowerBound,ValidationPartitionIterator,WrappingUnfilteredRowIterator
public interface CloseableIterator<T> extends java.util.Iterator<T>, java.lang.AutoCloseable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()static <T> CloseableIterator<T>empty()static <T> CloseableIterator<T>wrap(java.util.Iterator<T> iter)
-
-
-
Method Detail
-
close
void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
wrap
static <T> CloseableIterator<T> wrap(java.util.Iterator<T> iter)
-
empty
static <T> CloseableIterator<T> empty()
-
-