Interface NullableColumnMapper<R>

Type Parameters:
R - The type of the Optional result.
All Superinterfaces:
ColumnMapper<Optional<R>>
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 NullableColumnMapper<R> extends ColumnMapper<Optional<R>>
A ColumnMapper which is apropriate for retrieving nullable columns from a ResultSet. If the result from a mapping (or any Function in the mapping chain) is null, the result is always Optional.empty(), and the chain of any remaining mapping functions are "short-circuited" and not invoked.