ResultSetHandle
Date: 2010-07-30

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `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.

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.
`java.sql.ResultSet` | `getResultSet()` An implementation of this method will probably execute a query and return the result of that query.

Method Detail

### getResultSet

    java.sql.ResultSet getResultSet()
                                    throws java.sql.SQLException

  An implementation of this method will probably execute a query and return the result of that query.

  Returns:
    The ResultSet that represents the rows to be returned.
  Throws:
    `java.sql.SQLException`

### close

    void close()
               throws java.sql.SQLException

  Called after the last row has returned or when the query evaluator decides that it does not need any more rows.

  Throws:
    `java.sql.SQLException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \ Distributed under the terms shown in COPYRIGHT