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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)booleanhasNext()booleanisClosed()Checks whether this CloseableIteration has been closed.BindingSetnext()voidremove()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 Detail
-
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
public final 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>
-
-