org.postgresql.pljava
Interface ResultSetHandle
public interface ResultSetHandle
An implementation of this interface is returned from functions and procedures
that are declared to return SET OF
a complex type in the form
of a java.sql.ResultSet
. The primary motivation for this interface is
that an implementation that returns a ResultSet must be able to close the
connection and statement when no more rows are requested.
void | close() - Called after the last row has returned or when the query evaluator decides
that it does not need any more rows.
|
ResultSet | getResultSet() - An implementation of this method will probably execute a query
and return the result of that query.
|
close
public void close()
throws SQLException
Called after the last row has returned or when the query evaluator decides
that it does not need any more rows.
getResultSet
public ResultSet getResultSet()
throws SQLException
An implementation of this method will probably execute a query
and return the result of that query.
- The ResultSet that represents the rows to be returned.
Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \
Distributed under the terms shown in COPYRIGHT