Module org.apache.jena.arq
Class QueryIterPlainWrapper
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.QueryIterPlainWrapper
- 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
- Direct Known Subclasses:
QueryIterAbortable
,QueryIterGroup
,QueryIterSort
,QueryIterTopN
Turn an normal java.util.Iterator (of Bindings) into a QueryIterator
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryIterator
static QueryIterator
create
(Iterator<Binding> iter, ExecutionContext execCxt) void
output
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) void
setIterator
(Iterator<Binding> iterator) Preferable to use a constructor - but sometimes that is inconvenient so pass null in the constructor and then call this before the iterator is used.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
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Method Details
-
create
-
create
-
setIterator
Preferable to use a constructor - but sometimes that is inconvenient so pass null in the constructor and then call this before the iterator is used. -
output
- Specified by:
output
in interfacePrintSerializable
- Overrides:
output
in classQueryIter
-