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, usually no columns making it the join identity.
It has columns only for an initial binding.
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 QueryIterator
create
(Binding binding, ExecutionContext execCxt) Create a root with an initial bindingstatic QueryIterator
create
(ExecutionContext execCxt) Create a rootboolean
void
output
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIterYieldN
getBinding
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
-
Method Details
-
create
Create a root -
create
Create a root with an initial binding -
output
- Specified by:
output
in interfacePrintSerializable
- Overrides:
output
in classQueryIterYieldN
-
isJoinIdentity
public boolean isJoinIdentity()
-