com.ibm.pdq.runtime.data.handlers
Class JoinResultHandler<T>

java.lang.Object
  extended by com.ibm.pdq.runtime.data.handlers.JoinResultHandler<T>
All Implemented Interfaces:
ResultHandler<List<T>>

public class JoinResultHandler<T>
extends Object
implements ResultHandler<List<T>>

Constructor Summary

Constructor Summary
Constructor and Description
JoinResultHandler(Class<T> root)

Method Summary

Method Summary
Return Data TypeMethod Name and Description
List<T> handle(ResultSet rs)
Processes an entire ResultSet for an SQL statement and returns the contents in an object of type RES.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

JoinResultHandler

public JoinResultHandler(Class<T> root)

Method Detail

handle

public List<T> handle(ResultSet rs)
Description copied from interface: ResultHandler
Processes an entire ResultSet for an SQL statement and returns the contents in an object of type RES.
Specified by:
handle in interface ResultHandler<List<T>>
Parameters:
rs - a ResultSet that represents the results from an SQL statement
Returns:
an object of type RES that contains the entire contents of resultSet (or as much of the contents of resultSet as is wanted)