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

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.QueryIteratorCaching
All Implemented Interfaces:
QueryIterator, PrintSerializable, Iterator<Binding>, Printable, Closeable

public class QueryIteratorCaching
extends QueryIteratorWrapper

A caching QueryIterator. On demand, the application can ask for a new query iterator which will repeat the bindings yielded so far.


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Constructor Summary
QueryIteratorCaching(QueryIterator qIter)
           
 
Method Summary
 QueryIteratorCaching createRepeat()
           
 void output(IndentedWriter out, SerializationContext sCxt)
           
static QueryIterator reset(QueryIterator qIter)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
abort, cancel, cancelAllowContinue, 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.openjena.atlas.io.Printable
output
 

Constructor Detail

QueryIteratorCaching

public QueryIteratorCaching(QueryIterator qIter)
Method Detail

output

public void output(IndentedWriter out,
                   SerializationContext sCxt)
Specified by:
output in interface PrintSerializable
Overrides:
output in class QueryIteratorWrapper

createRepeat

public QueryIteratorCaching createRepeat()

reset

public static QueryIterator reset(QueryIterator qIter)


Licenced under the Apache License, Version 2.0