Package com.d3x.core.db
Interface DatabaseSelect.Handler<T>
-
- Type Parameters:
T- the object type
- Enclosing class:
- DatabaseSelect<T>
public static interface DatabaseSelect.Handler<T>An interface to a component that can generate an Object from the contents of a ResultSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Taccept(java.sql.ResultSet rs)Returns an object generated from the ResultSet
-
-
-
Method Detail
-
accept
T accept(java.sql.ResultSet rs) throws java.sql.SQLException
Returns an object generated from the ResultSet- Parameters:
rs- the result set to create object from- Returns:
- the newly created object
- Throws:
java.sql.SQLException- if SQL exception raised
-
-