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

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.QueryIter
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable
Direct Known Subclasses:
QueryIter1, QueryIter2, QueryIterConcat, QueryIterExtendByVar, QueryIterJoinBase, QueryIterNullIterator, QueryIterPlainWrapper, QueryIterSub, QueryIterTracked, QueryIterYieldN

public abstract class QueryIter
extends QueryIteratorBase

This class provides the general machinary for iterators.


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIter(ExecutionContext execCxt)
           
 
Method Summary
 void close()
           
 ExecutionContext getExecContext()
           
 int getIteratorNumber()
           
static QueryIter makeTracked(QueryIterator qIter, ExecutionContext execCxt)
           
static QueryIterator map(QueryIterator qIter, Map<Var,Var> varMapping)
           
static QueryIterator materialize(QueryIterator qIter)
           
static QueryIter materialize(QueryIterator qIter, ExecutionContext execCxt)
           
 void output(IndentedWriter out)
          Normally overridden for better information
 void output(IndentedWriter out, SerializationContext sCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
cancel, debug, hasNext, next, nextBinding, remove
 
Methods inherited from class com.hp.hpl.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 com.hp.hpl.jena.sparql.util.PrintSerializable
toString
 

Constructor Detail

QueryIter

public QueryIter(ExecutionContext execCxt)
Method Detail

makeTracked

public static QueryIter makeTracked(QueryIterator qIter,
                                    ExecutionContext execCxt)

materialize

public static QueryIter materialize(QueryIterator qIter,
                                    ExecutionContext execCxt)

materialize

public static QueryIterator materialize(QueryIterator qIter)

map

public static QueryIterator map(QueryIterator qIter,
                                Map<Var,Var> varMapping)

close

public final void close()
Specified by:
close in interface Closeable
Overrides:
close in class QueryIteratorBase

getExecContext

public ExecutionContext getExecContext()

getIteratorNumber

public int getIteratorNumber()

output

public void output(IndentedWriter out)
Description copied from class: PrintSerializableBase
Normally overridden for better information

Specified by:
output in interface Printable
Overrides:
output in class PrintSerializableBase

output

public void output(IndentedWriter out,
                   SerializationContext sCxt)


Licenced under the Apache License, Version 2.0