util.sql
Interface ResultProcessor
- All Known Implementing Classes:
- UserResultProcessor
- public interface ResultProcessor
Representation of a result set processor. Takes a result set and munges it into whatever
type of object or set of objects it should be.
- Since:
- 12/2/2001
- Version:
- 1.0
- Author:
- Ryan Daigle
Method Summary |
java.lang.Object[] |
process(java.sql.ResultSet rs)
Takes a result set and munges it into whatever type of object or set of
objects it should be. |
process
public java.lang.Object[] process(java.sql.ResultSet rs)
throws java.sql.SQLException
- Takes a result set and munges it into whatever type of object or set of
objects it should be.
- Parameters:
rs
- The result set to traverse in forming these objects- Returns:
- the object or set of objects that this result set represents
- Throws:
java.sql.SQLException
- this exception that can result from mishandling of a result set. However, the developer
shouldn't have to worry about the overhead of handling these exceptions, so let
it bubble up.