Class RangeCommandIterator
- java.lang.Object
-
- org.apache.cassandra.utils.AbstractIterator<RowIterator>
-
- org.apache.cassandra.service.reads.range.RangeCommandIterator
-
- All Implemented Interfaces:
com.google.common.collect.PeekingIterator<RowIterator>
,java.lang.AutoCloseable
,java.util.Iterator<RowIterator>
,BasePartitionIterator<RowIterator>
,PartitionIterator
,CloseableIterator<RowIterator>
- Direct Known Subclasses:
ScanAllRangesCommandIterator
public class RangeCommandIterator extends AbstractIterator<RowIterator> implements PartitionIterator
-
-
Field Summary
Fields Modifier and Type Field Description static ClientRangeRequestMetrics
rangeMetrics
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected RowIterator
computeNext()
-
Methods inherited from class org.apache.cassandra.utils.AbstractIterator
endOfData, hasNext, next, peek, remove
-
-
-
-
Field Detail
-
rangeMetrics
public static final ClientRangeRequestMetrics rangeMetrics
-
-
Method Detail
-
computeNext
protected RowIterator computeNext()
- Specified by:
computeNext
in classAbstractIterator<RowIterator>
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceBasePartitionIterator<RowIterator>
- Specified by:
close
in interfaceCloseableIterator<RowIterator>
- Overrides:
close
in classAbstractIterator<RowIterator>
-
-