java.lang.Object
org.apache.jena.sparql.resultset.ResultSetWrapper
org.apache.jena.riot.resultset.ResultSetOnClose
org.apache.jena.query.ResultSetCloseable
- All Implemented Interfaces:
AutoCloseable
,Iterator<QuerySolution>
,ResultSet
-
Constructor Summary
ConstructorDescriptionResultSetCloseable
(ResultSet rs, QueryExecution qexec) Deprecated.The constructor will become private. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultSetCloseable
closeableResultSet
(QueryExecution queryExecution) Return a closable result set for aQueryExecution
.Methods inherited from class org.apache.jena.riot.resultset.ResultSetOnClose
close, forEachRemaining, hasNext, next, nextBinding, nextSolution
Methods inherited from class org.apache.jena.sparql.resultset.ResultSetWrapper
getResourceModel, getResultVars, getRowNumber
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.AutoCloseable
close
Methods inherited from interface org.apache.jena.query.ResultSet
materialise, rewindable
-
Constructor Details
-
ResultSetCloseable
Deprecated.The constructor will become private. UsecloseableResultSet(org.apache.jena.query.QueryExecution)
.
-
-
Method Details
-
closeableResultSet
- Parameters:
queryExecution
-QueryExecution
must be for aSELECT
query.- Returns:
- ResultSetCloseable
-