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.QueryIteratorTiming
- 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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlong
Return the elapsed time, in milliseconds, between the first call to this iterator and the close call.static QueryIteratorTiming
time
(QueryIterator iter) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
output, output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, close, 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
-
NotStarted
public static final int NotStarted- See Also:
-
NotFinished
public static final int NotFinished- See Also:
-
-
Method Details
-
time
-
getMillis
public long getMillis()Return the elapsed time, in milliseconds, between the first call to this iterator and the close call. Returns the time, or NotStarted (-2) or NotFinished (-1).
-