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 TypeMethodDescriptionlongReturn the elapsed time, in milliseconds, between the first call to this iterator and the close call.static QueryIteratorTimingtime(QueryIterator iter) Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper
output, outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, close, 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
-
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).
-