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 voidclose()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 booleanhasNext()final booleanisClosed()Checks whether this CloseableIteration has been closed.final BindingSetnext()voidremove()Throws anUnsupportedOperationException.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.rdf4j.common.iteration.CloseableIteration
streamMethods 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:
hasNextin interfaceIterator<BindingSet>
-
next
- Specified by:
nextin interfaceIterator<BindingSet>
-
remove
public void remove()Throws anUnsupportedOperationException.- Specified by:
removein 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:CloseableIterationCloses 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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseableIteration<BindingSet>
-