public class ResultSetCloseable extends ResultSetWrapper implements AutoCloseable, Closeable
| Constructor and Description |
|---|
ResultSetCloseable(ResultSet rs,
QueryExecution qexec) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static ResultSetCloseable |
closeableResultSet(QueryExecution queryExecution)
Return a closable resultset for a
QueryExecution. |
getResourceModel, getResultVars, getRowNumber, hasNext, next, nextBinding, nextSolutionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic ResultSetCloseable(ResultSet rs, QueryExecution qexec)
public static ResultSetCloseable closeableResultSet(QueryExecution queryExecution)
queryExecution - QueryExecution must be for a SELECT query.public void close()
close in interface Closeableclose in interface AutoCloseableLicenced under the Apache License, Version 2.0