com.hp.hpl.jena.sparql.engine.iterator
Class QueryIteratorMapped
java.lang.Object
com.hp.hpl.jena.sparql.util.PrintSerializableBase
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper
com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorMapped
- All Implemented Interfaces:
- QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable
public class QueryIteratorMapped
- extends QueryIteratorWrapper
A query iterator which allows remapping variables to different names
QueryIteratorMapped
public QueryIteratorMapped(QueryIterator qIter,
Map<Var,Var> varMapping)
- Creates a new iterator
If the varMapping is null 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
Licenced under the Apache License, Version 2.0