Package org.jdbi.v3.sqlobject.statement
Interface ParameterCustomizerFactory
- All Known Implementing Classes:
BindParameterCustomizerFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptioncreateForParameter
(Class<?> sqlObjectType, Method method, Parameter param, int index, Type type) Creates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated
-
Method Details
-
createForParameter
SqlStatementParameterCustomizer createForParameter(Class<?> sqlObjectType, Method method, Parameter param, int index, Type type) Creates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated- Parameters:
sqlObjectType
- sql object class (interface)method
- the method which was identified as an SQL methodparam
- the parameter to bindindex
- the method parameter indextype
- the method parameter type- Returns:
- the customizer which will be applied to the generated statement
-