Module org.apache.jena.arq
Class QueryIterAssignVarValue
java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.engine.iterator.QueryIteratorBase
org.apache.jena.sparql.engine.iterator.QueryIter
org.apache.jena.sparql.engine.iterator.QueryIter1
org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding
org.apache.jena.sparql.engine.iterator.QueryIterAssignVarValue
- All Implemented Interfaces:
Iterator<Binding>
,org.apache.jena.atlas.io.Printable
,org.apache.jena.atlas.iterator.IteratorCloseable<Binding>
,org.apache.jena.atlas.lib.Closeable
,QueryIterator
,PrintSerializable
Extend each solution by a (var, node)
When used with mustBeNewVar=false, this is a join.
If the input already has the variable assigned, then
it must be the same (.equals) node and if it is not,
the input row is rejected.
- See Also:
-
Constructor Summary
ConstructorDescriptionQueryIterAssignVarValue
(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt) QueryIterAssignVarValue
(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt, boolean mustBeNewVar) -
Method Summary
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding
moveToNextBinding
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter1
output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, remove
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Constructor Details
-
QueryIterAssignVarValue
public QueryIterAssignVarValue(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt) -
QueryIterAssignVarValue
public QueryIterAssignVarValue(QueryIterator input, Var var, org.apache.jena.graph.Node node, ExecutionContext qCxt, boolean mustBeNewVar)
-
-
Method Details
-
accept
Description copied from class:QueryIterProcessBinding
Process the binding - return null for "not accept". Subclasses may return a different Binding to the argument and the result is the returned Binding.- Specified by:
accept
in classQueryIterProcessBinding
-