Package io.jmix.reports.yarg.util.db
Interface ResultSetHandler<T>
public interface ResultSetHandler<T>
Implementations of this interface convert ResultSets into other objects.
-
Method Summary
-
Method Details
-
handle
Turn theResultSetinto an Object.- Parameters:
rs- TheResultSetto handle. It has not been touched before being passed to this method.- Returns:
- An Object initialized with
ResultSetdata. It is legal for implementations to returnnullif theResultSetcontained 0 rows. - Throws:
SQLException- if a database access error occurs
-