org.rimudb.generic.binders
Interface IQueryResultSetBinder

All Known Implementing Classes:
DataObjectBinder, DataObjectListArrayBinder, DataObjectListBinder, DefaultQueryResultSetBinder, SingleValueBinder, SingleValueListBinder

public interface IQueryResultSetBinder

This interface provides the contract for IQueryResultSetBinder. IQueryResultSetBinder are passed to a GenericQuery to provide handling of the ResultSet.

Author:
Simon Ritchie

Method Summary
 void initialize(Database database)
          Initialize the IResultSetBinder.
 java.lang.Object processAllResultSet(java.sql.ResultSet rs)
          Process the Query result set, returning an Object defined by the binder.
 

Method Detail

processAllResultSet

java.lang.Object processAllResultSet(java.sql.ResultSet rs)
                                     throws RimuDBException
Process the Query result set, returning an Object defined by the binder.

Parameters:
rs - ResultSet
Returns:
Object
Throws:
java.sql.SQLException
RimuDBException

initialize

void initialize(Database database)
                throws RimuDBException
Initialize the IResultSetBinder. Some binders require access to the Database to perform initialization.

Parameters:
database - Database
Throws:
RimuDBException


Copyright © 2008-2011 Simon Ritchie. All Rights Reserved.