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 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)
boolean
hasNext()
boolean
isClosed()
Checks whether this CloseableIteration has been closed.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 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:
hasNext
in interfaceIterator<BindingSet>
-
next
public final 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>
-
-