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

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

public class QueryIteratorCheck
extends QueryIteratorWrapper

Query iterator that checks everything was closed correctly


Field Summary
 
Fields inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
traceIterators
 
Method Summary
 void abort()
          Deprecated. 
static QueryIteratorCheck check(QueryIterator qIter, ExecutionContext execCxt)
           
static void checkForOpenIterators(ExecutionContext execContext)
           
 void close()
           
 void output(IndentedWriter out, SerializationContext sCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase
cancel, cancelAllowContinue, 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
 

Method Detail

close

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

abort

@Deprecated
public void abort()
Deprecated. 

Description copied from interface: QueryIterator
Abort a query - may not clearup properly

Specified by:
abort in interface QueryIterator
Overrides:
abort in class QueryIteratorBase

output

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

checkForOpenIterators

public static void checkForOpenIterators(ExecutionContext execContext)

check

public static QueryIteratorCheck check(QueryIterator qIter,
                                       ExecutionContext execCxt)


Licenced under the Apache License, Version 2.0