Interface ReactiveDataAccessStrategy.NamedParameterProvider
- Enclosing interface:
ReactiveDataAccessStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to retrieve parameters for named parameter processing.
- Author:
- Mark Paluch, Jens Schauder
-
Method Summary
Modifier and TypeMethodDescription@Nullable ParametergetParameter(int index, String name) Returns thevaluefor a parameter identified either by name or by index.
-
Method Details
-
getParameter
Returns thevaluefor a parameter identified either by name or by index.- Parameters:
index- parameter index according the parameter discovery order.name- name of the parameter.- Returns:
- the bindable value. Returning a null value raises
InvalidDataAccessApiUsageExceptionin named parameter processing.
-