com.hp.hpl.jena.sparql.engine.iterator
Class QueryIteratorMapped

java.lang.Object
  extended by com.hp.hpl.jena.sparql.util.PrintSerializableBase
      extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
          extended by com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper
              extended by 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


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIteratorMapped(QueryIterator qIter, Map<Var,Var> varMapping)
          Creates a new iterator
 
Method Summary
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper
output
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
cancel, close, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.jena.sparql.util.PrintSerializableBase
output, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 
Methods inherited from interface org.apache.jena.atlas.io.Printable
output
 

Constructor Detail

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 wrap
varMapping - Variable mapping


Licenced under the Apache License, Version 2.0