Module org.apache.jena.arq
Class QueryIterAddTripleTerm
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.QueryIterAddTripleTerm
- 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
Add
(var, matchTriple) to a QueryIterator.
The supplied triple is a triple pattern which is grounded by replacing variables with terms from the current binding. It is an error not to have substitutions for all variables and results in the original binding unchanged.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryIterAddTripleTerm(QueryIterator chain, Var var, org.apache.jena.graph.Triple triple, ExecutionContext execContext) -
Method Summary
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding
moveToNextBindingMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter1
outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, removeMethods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toStringMethods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Constructor Details
-
QueryIterAddTripleTerm
public QueryIterAddTripleTerm(QueryIterator chain, Var var, org.apache.jena.graph.Triple triple, ExecutionContext execContext)
-
-
Method Details
-
accept
Description copied from class:QueryIterProcessBindingProcess 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:
acceptin classQueryIterProcessBinding
-