java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.engine.iterator.QueryIteratorBase
org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
org.apache.jena.sparql.engine.iterator.QueryIteratorCheck
- All Implemented Interfaces:
Iterator<Binding>,org.apache.jena.atlas.io.Printable,org.apache.jena.atlas.iterator.IteratorCloseable<Binding>,org.apache.jena.atlas.lib.Closeable,QueryIterator,PrintSerializable
Query iterator that checks everything was closed correctly
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException to indicate open iterators. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic SymbolWhether detection of open iterator should raise anQueryIteratorCheck.OpenIteratorException. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryIteratorCheckcheck(QueryIterator qIter, ExecutionContext execCxt) static voidcheckForOpenIterators(ExecutionContext execContext) voidclose()voidoutput(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, removeMethods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toStringMethods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Field Details
-
failOnOpenIterator
Whether detection of open iterator should raise anQueryIteratorCheck.OpenIteratorException. This symbol should only be used for internal testing.
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceorg.apache.jena.atlas.lib.Closeable- Overrides:
closein classQueryIteratorBase
-
output
- Specified by:
outputin interfacePrintSerializable- Overrides:
outputin classQueryIteratorWrapper
-
checkForOpenIterators
-
check
-