org.postgresql.pljava.example
Class Users

java.lang.Object
  extended by org.postgresql.pljava.example.Users
All Implemented Interfaces:
ResultSetHandle

public class Users
extends Object
implements ResultSetHandle


Constructor Summary
Users(String filter)
           
 
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.
 ResultSet getResultSet()
          An implementation of this method will probably execute a query and return the result of that query.
static ResultSetHandle listNonSupers()
           
static ResultSetHandle listSupers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Users

public Users(String filter)
Method Detail

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

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

listSupers

public static ResultSetHandle listSupers()

listNonSupers

public static ResultSetHandle listNonSupers()