java.lang.Object
org.apache.jena.sparql.exec.RowSetStream
- All Implemented Interfaces:
Iterator<Binding>
,org.apache.jena.atlas.iterator.IteratorCloseable<Binding>
,org.apache.jena.atlas.lib.Closeable
,RowSet
- Direct Known Subclasses:
RowSetAdapter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.exec.RowSet
RowSet.Exception
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Normally a RowSet is processed until complete which implicitly closes any underlying resources.static RowSet
long
Return the row number.boolean
hasNext()
next()
Create aRowSetRewindable
from the current position to the end.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
Methods inherited from interface org.apache.jena.sparql.exec.RowSet
forEach, materialize, stream
-
Method Details
-
create
-
hasNext
public boolean hasNext() -
next
-
getResultVars
- Specified by:
getResultVars
in interfaceRowSet
-
rewindable
Description copied from interface:RowSet
Create aRowSetRewindable
from the current position to the end. This consumes this RowSet - the iterator will have ended after a call to this method.- Specified by:
rewindable
in interfaceRowSet
-
getRowNumber
public long getRowNumber()Description copied from interface:RowSet
Return the row number. The first row is row 1.- Specified by:
getRowNumber
in interfaceRowSet
-
close
public void close()Description copied from interface:RowSet
Normally a RowSet is processed until complete which implicitly closes any underlying resources. This "close" operation exists to explicitly do this in cases where it does onto automatically. There is no need to close RowSets normally - it is theQueryExec
that should be closed.
-