Class ResultElementIterBase
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.iterbased.ResultElementIterBase
- All Implemented Interfaces:
Iterator<SolutionMapping>,ResultElementIterator
- Direct Known Subclasses:
ResultElementIterWithBinaryExecOp,ResultElementIterWithNullaryExecOp,ResultElementIterWithUnaryExecOp
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutionContextprotected booleanprotected SolutionMappingprotected final SynchronizedIntermediateResultElementSink -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidgetOp()protected abstract ResultElementIterBase.OpRunnerThreadbooleanhasNext()next()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
execCxt
-
sink
-
exhausted
protected boolean exhausted -
nextElement
-
-
Constructor Details
-
ResultElementIterBase
-
-
Method Details
-
hasNext
- Specified by:
hasNextin interfaceIterator<SolutionMapping>- Specified by:
hasNextin interfaceResultElementIterator- Throws:
ResultElementIterException
-
next
- Specified by:
nextin interfaceIterator<SolutionMapping>- Specified by:
nextin interfaceResultElementIterator- Throws:
ResultElementIterException
-
ensureOpRunnerThreadIsStarted
protected void ensureOpRunnerThreadIsStarted() -
ensureOpRunnerThreadHasNoException
- Throws:
ResultElementIterException
-
getOp
-
getOpRunnerThread
-