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.QueryIterYieldN
org.apache.jena.sparql.engine.iterator.QueryIterRoot
- 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
The root binding is one-row and has no columns making it the join identity.
It is useful to be able to spot it before having to activate a
QueryIterator.
Executing with a pre-set binding does not use QueryIterRoot.-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryIteratorcreate(Binding binding, ExecutionContext execCxt) Create a root with an initial bindingstatic QueryIteratorcreate(ExecutionContext execCxt) Create a rootbooleanvoidoutput(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterYieldN
getBindingMethods 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
toString
-
Method Details
-
create
Create a root -
create
Create a root with an initial binding -
output
- Specified by:
outputin interfacePrintSerializable- Overrides:
outputin classQueryIterYieldN
-
isJoinIdentity
public boolean isJoinIdentity()
-