com.hp.hpl.jena.sparql.engine.iterator
Class QueryIterAssignVarValue

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
          extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIter
              extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIter1
                  extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIterProcessBinding
                      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIterAssignVarValue
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class QueryIterAssignVarValue
extends QueryIterProcessBinding

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:
QueryIterAssign

Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIterAssignVarValue(QueryIterator input, Var var, Node node, ExecutionContext qCxt)
           
QueryIterAssignVarValue(QueryIterator input, Var var, Node node, ExecutionContext qCxt, boolean mustBeNewVar)
           
 
Method Summary
 Binding accept(Binding binding)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIterProcessBinding
moveToNextBinding
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter1
output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
cancel, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.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 com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Constructor Detail

QueryIterAssignVarValue

public QueryIterAssignVarValue(QueryIterator input,
                               Var var,
                               Node node,
                               ExecutionContext qCxt)

QueryIterAssignVarValue

public QueryIterAssignVarValue(QueryIterator input,
                               Var var,
                               Node node,
                               ExecutionContext qCxt,
                               boolean mustBeNewVar)
Method Detail

accept

public Binding accept(Binding binding)
Specified by:
accept in class QueryIterProcessBinding


Licenced under the Apache License, Version 2.0