Class QueryIteratorMapped

  • All Implemented Interfaces:
    java.util.Iterator<Binding>,, org.apache.jena.atlas.lib.Closeable, QueryIterator, PrintSerializable

    public class QueryIteratorMapped
    extends QueryIteratorWrapper
    A query iterator which allows remapping variables to different names
    • Constructor Detail

      • QueryIteratorMapped

        public QueryIteratorMapped​(QueryIterator qIter,
                                   java.util.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

        qIter - Iterator to wrap
        varMapping - Variable mapping