Package org.jdbi.v3.sqlobject.statement
Class BindParameterCustomizerFactory
- java.lang.Object
-
- org.jdbi.v3.sqlobject.statement.BindParameterCustomizerFactory
-
- All Implemented Interfaces:
ParameterCustomizerFactory
public class BindParameterCustomizerFactory extends Object implements ParameterCustomizerFactory
Standard implementation ofParameterCustomizerFactorythat delegates toBindFactory.createForParameter(Annotation, Class, Method, Parameter, int, Type)passing null for Annotation parameter.
-
-
Constructor Summary
Constructors Constructor Description BindParameterCustomizerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlStatementParameterCustomizercreateForParameter(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 Detail
-
createForParameter
public SqlStatementParameterCustomizer createForParameter(Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)
Description copied from interface:ParameterCustomizerFactoryCreates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated- Specified by:
createForParameterin interfaceParameterCustomizerFactory- 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
-
-