Class QueryIterProcessBinding
- 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
-
- All Implemented Interfaces:
java.util.Iterator<Binding>,org.apache.jena.atlas.io.Printable,org.apache.jena.atlas.lib.Closeable,QueryIterator,PrintSerializable
- Direct Known Subclasses:
QueryIterAddTripleTerm,QueryIterAssign,QueryIterAssignVarValue,QueryIterFilterExpr
public abstract class QueryIterProcessBinding extends QueryIter1
An iterator that applies a condition. The condition may return a different binding.
-
-
Field Summary
-
Fields inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
-
-
Constructor Summary
Constructors Constructor Description QueryIterProcessBinding(QueryIterator qIter, ExecutionContext context)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Bindingaccept(Binding binding)Process the binding - return null for "not accept".BindingmoveToNextBinding()The next acceptable object in the iterator.-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter1
output
-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
-
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, debug, 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 org.apache.jena.sparql.util.PrintSerializable
toString
-
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
-
-
-
Constructor Detail
-
QueryIterProcessBinding
public QueryIterProcessBinding(QueryIterator qIter, ExecutionContext context)
-
-
Method Detail
-
accept
public abstract Binding accept(Binding binding)
Process the binding - return null for "not accept". Subclasses may return a different Binding to the argument and the result is the returned Binding.
-
moveToNextBinding
public Binding moveToNextBinding()
The next acceptable object in the iterator.- Returns:
- The next acceptable object.
-
-