Class ResultSetCloseable

    • Method Detail

      • closeableResultSet

        public static ResultSetCloseable closeableResultSet​(QueryExecution queryExecution)
        Return a closable resultset for a QueryExecution. The QueryExecution must be for a SELECT query.
        Parameters:
        queryExecution - QueryExecution must be for a SELECT query.
        Returns:
        ResultSetCloseable
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable