org.postgresql.pljava.example
Class SetOfRecordTest
java.lang.Object
org.postgresql.pljava.example.SetOfRecordTest
- All Implemented Interfaces:
- ResultSetHandle
public class SetOfRecordTest
- extends Object
- implements ResultSetHandle
Method Summary |
void |
close()
Called after the last row has returned or when the query evaluator decides
that it does not need any more rows. |
static ResultSetHandle |
executeSelect(String selectSQL)
|
ResultSet |
getResultSet()
An implementation of this method will probably execute a query
and return the result of that query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetOfRecordTest
public SetOfRecordTest(String selectSQL)
throws SQLException
- Throws:
SQLException
executeSelect
public static ResultSetHandle executeSelect(String selectSQL)
throws SQLException
- Throws:
SQLException
close
public void close()
throws SQLException
- Description copied from interface:
ResultSetHandle
- Called after the last row has returned or when the query evaluator decides
that it does not need any more rows.
- Specified by:
close
in interface ResultSetHandle
- Throws:
SQLException
getResultSet
public ResultSet getResultSet()
throws SQLException
- Description copied from interface:
ResultSetHandle
- An implementation of this method will probably execute a query
and return the result of that query.
- Specified by:
getResultSet
in interface ResultSetHandle
- Returns:
- The ResultSet that represents the rows to be returned.
- Throws:
SQLException