com.ibm.pdq.runtime.data.handlers
Class JoinResultHandler<T>
java.lang.Object
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
Method Summary
Method Summary Return Data Type | Method 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 . |
JoinResultHandler
public JoinResultHandler(Class<T> root)
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)