Class BindFieldsFactory
- java.lang.Object
-
- org.jdbi.v3.sqlobject.customizer.internal.BindFieldsFactory
-
- All Implemented Interfaces:
SqlStatementCustomizerFactory
public class BindFieldsFactory extends Object implements SqlStatementCustomizerFactory
-
-
Constructor Summary
Constructors Constructor Description BindFieldsFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlStatementParameterCustomizercreateForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)Used to create customizers for annotations on parameters-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jdbi.v3.sqlobject.customizer.SqlStatementCustomizerFactory
createForMethod, createForType
-
-
-
-
Method Detail
-
createForParameter
public SqlStatementParameterCustomizer createForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)
Description copied from interface:SqlStatementCustomizerFactoryUsed to create customizers for annotations on parameters- Specified by:
createForParameterin interfaceSqlStatementCustomizerFactory- Parameters:
annotation- the annotation which lead to the method being calledsqlObjectType- sql object class (interface)method- the method which was annotatedparam- the parameter which was annotatedindex- the method parameter indextype- the type of the parameter- Returns:
- the customizer which will be applied to the generated statement
-
-