Package eu.miltema.slimorm
Interface LoadBinder
-
- 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 LoadBinderExtracts a value from ResultSet into and converts it to suitable Java type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectconvert(java.sql.ResultSet rs, int index)Extracts a value from ResultSet into and converts it to suitable Java type
-
-
-
Method Detail
-
convert
java.lang.Object convert(java.sql.ResultSet rs, int index) throws java.lang.ExceptionExtracts a value from ResultSet into and converts it to suitable Java type- Parameters:
rs- resultsetindex- column index (1-based)- Returns:
- resulting value
- Throws:
java.lang.Exception- when anything goes wrong
-
-