java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.engine.iterator.QueryIteratorBase
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
org.apache.jena.sparql.engine.iterator.QueryIteratorMapped
- 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
A query iterator which allows remapping variables to different names
-
Constructor Summary
ConstructorsConstructorDescriptionQueryIteratorMapped
(QueryIterator qIter, Map<Var, Var> varMapping) Creates a new iterator -
Method Summary
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
output, output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, close, 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
-
Constructor Details
-
QueryIteratorMapped
Creates a new iteratorIf the
varMapping
isnull
then no variable re-mapping will be applied and this will act as a simple wrapper over the underlying wrapper- Parameters:
qIter
- Iterator to wrapvarMapping
- Variable mapping
-