Class BadlyDesignedLeftJoinIterator
- java.lang.Object
-
- org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration<E,X>
-
- org.eclipse.rdf4j.common.iteration.LookAheadIteration<BindingSet,QueryEvaluationException>
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.LeftJoinIterator
-
- org.eclipse.rdf4j.query.algebra.evaluation.iterator.BadlyDesignedLeftJoinIterator
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,CloseableIteration<BindingSet,QueryEvaluationException>
,Iteration<BindingSet,QueryEvaluationException>
public class BadlyDesignedLeftJoinIterator extends LeftJoinIterator
-
-
Field Summary
Fields Modifier and Type Field Description private BindingSet
inputBindings
private java.util.Set<java.lang.String>
problemVars
-
Constructor Summary
Constructors Constructor Description BadlyDesignedLeftJoinIterator(EvaluationStrategy strategy, LeftJoin join, BindingSet inputBindings, java.util.Set<java.lang.String> problemVars, QueryEvaluationContext context)
BadlyDesignedLeftJoinIterator(QueryEvaluationStep left, QueryEvaluationStep right, QueryValueEvaluationStep joinCondition, BindingSet inputBindings, java.util.Set<java.lang.String> problemVars)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static QueryBindingSet
getFilteredBindings(BindingSet bindings, java.util.Set<java.lang.String> problemVars)
protected BindingSet
getNextElement()
Gets the next element.-
Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.iterator.LeftJoinIterator
handleClose
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.LookAheadIteration
hasNext, next, remove
-
Methods inherited from class org.eclipse.rdf4j.common.iteration.AbstractCloseableIteration
close, isClosed
-
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
-
-
-
-
Field Detail
-
inputBindings
private final BindingSet inputBindings
-
problemVars
private final java.util.Set<java.lang.String> problemVars
-
-
Constructor Detail
-
BadlyDesignedLeftJoinIterator
public BadlyDesignedLeftJoinIterator(EvaluationStrategy strategy, LeftJoin join, BindingSet inputBindings, java.util.Set<java.lang.String> problemVars, QueryEvaluationContext context) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
BadlyDesignedLeftJoinIterator
public BadlyDesignedLeftJoinIterator(QueryEvaluationStep left, QueryEvaluationStep right, QueryValueEvaluationStep joinCondition, BindingSet inputBindings, java.util.Set<java.lang.String> problemVars) throws QueryEvaluationException
- Throws:
QueryEvaluationException
-
-
Method Detail
-
getNextElement
protected BindingSet getNextElement() throws QueryEvaluationException
Description copied from class:LookAheadIteration
Gets the next element. Subclasses should implement this method so that it returns the next element.- Overrides:
getNextElement
in classLeftJoinIterator
- Returns:
- The next element, or null if no more elements are available.
- Throws:
QueryEvaluationException
-
getFilteredBindings
private static QueryBindingSet getFilteredBindings(BindingSet bindings, java.util.Set<java.lang.String> problemVars)
-
-