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 class
Exception to indicate open iterators. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Symbol
Whether detection of open iterator should raise anQueryIteratorCheck.OpenIteratorException
. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryIteratorCheck
check
(QueryIterator qIter, ExecutionContext execCxt) static void
checkForOpenIterators
(ExecutionContext execContext) void
close()
void
output
(org.apache.jena.atlas.io.IndentedWriter out, SerializationContext sCxt) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, remove
Methods inherited from class org.apache.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 java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
Methods 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:
close
in interfaceorg.apache.jena.atlas.lib.Closeable
- Overrides:
close
in classQueryIteratorBase
-
output
- Specified by:
output
in interfacePrintSerializable
- Overrides:
output
in classQueryIteratorWrapper
-
checkForOpenIterators
-
check
-