Package com.gengoai.sql
Interface ResultSetMapper<T>
-
- Type Parameters:
T
- the type parameter
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ResultSetMapper<T> extends Serializable
Defines an interface for mapping a ResultSet into an Object. The implementation should not call
next
on the ResultSet unless it requires multiple rows to generate the returned Object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
map(@NonNull ResultSet resultSet)
Map the given ResultSet into an Object
-