net.darkmist.alib.db
Interface ResultSetIterator.Row2Obj<E>
- All Known Implementing Classes:
- ResultSetLongIterator
- Enclosing class:
- ResultSetIterator<E>
public static interface ResultSetIterator.Row2Obj<E>
ResultSet to Object conversion interface. Each row in the
result set is converted to an object using the methods in this
interface.
- See Also:
ResultSetIterator.ResultSetIterator(ResultSet,Row2Obj)
resultSetIteratorRow2Obj
E resultSetIteratorRow2Obj(ResultSet rs)
throws SQLException,
Exception
- Converts a ResultSet to an Object
- Parameters:
rs - The ResultSet to convert.
- Returns:
- The object produced by this row.
- Throws:
SQLException - As the retreiving data from the row
could throw this, we'll expect the method to throw it
too.
Exception - Allow method to throw arbitray
exceptions.
Copyright © 2012. All Rights Reserved.