Class InnerMergeJoinIterator
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.iterator.InnerMergeJoinIterator
- All Implemented Interfaces:
AutoCloseable
,Iterator<BindingSet>
,CloseableIteration<BindingSet>
@Experimental
public class InnerMergeJoinIterator
extends Object
implements CloseableIteration<BindingSet>
- Author:
- HÃ¥vard M. Ottestad
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
close()
Closes this iteration, freeing any resources that it is holding.static CloseableIteration
<BindingSet> getInstance
(QueryEvaluationStep leftPrepared, QueryEvaluationStep preparedRight, BindingSet bindings, Comparator<Value> cmp, Function<BindingSet, Value> value, QueryEvaluationContext context) final boolean
hasNext()
final boolean
isClosed()
Checks whether this CloseableIteration has been closed.final BindingSet
next()
void
remove()
Throws anUnsupportedOperationException
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
stream
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Method Details
-
getInstance
public static CloseableIteration<BindingSet> getInstance(QueryEvaluationStep leftPrepared, QueryEvaluationStep preparedRight, BindingSet bindings, Comparator<Value> cmp, Function<BindingSet, Value> value, QueryEvaluationContext context) -
hasNext
public final boolean hasNext()- Specified by:
hasNext
in interfaceIterator<BindingSet>
-
next
- Specified by:
next
in interfaceIterator<BindingSet>
-
remove
public void remove()Throws anUnsupportedOperationException
.- Specified by:
remove
in interfaceIterator<BindingSet>
-
isClosed
public final boolean isClosed()Checks whether this CloseableIteration has been closed.- Returns:
- true if the CloseableIteration has been closed, false otherwise.
-
close
public final void close()Description copied from interface:CloseableIteration
Closes this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseableIteration<BindingSet>
-