Class ReduceIndexIterator
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.twostep.ReduceIndexIterator
-
- All Implemented Interfaces:
AutoCloseable,Iterator<List<?>>
public class ReduceIndexIterator extends Object implements Iterator<List<?>>, AutoCloseable
Iterator that transparently and sequentially traverses a bunch ofAbstractReduceIndexAdapterobjects.
-
-
Constructor Summary
Constructors Constructor Description ReduceIndexIterator(GridReduceQueryExecutor rdcExec, Collection<ClusterNode> nodes, ReduceQueryRun run, long qryReqId, boolean distributedJoins, Tracing tracing)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()List<?>next()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
ReduceIndexIterator
public ReduceIndexIterator(GridReduceQueryExecutor rdcExec, Collection<ClusterNode> nodes, ReduceQueryRun run, long qryReqId, boolean distributedJoins, Tracing tracing)
Constructor.- Parameters:
rdcExec- Reduce query executor.nodes- Participating nodes.run- Query run.qryReqId- Query request ID.distributedJoins- Distributed joins.tracing- Tracing processor.
-
-
Method Detail
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-