Package org.jdbi.v3.sqlobject.customizer
Interface SqlStatementCustomizerFactory
public interface SqlStatementCustomizerFactory
Interface used in conjunction with 
SqlStatementCustomizingAnnotation to generate
 SqlStatementCustomizer instances.- 
Method SummaryModifier and TypeMethodDescriptiondefault SqlStatementCustomizercreateForMethod(Annotation annotation, Class<?> sqlObjectType, Method method) Used to create customizers for annotations on methods.default SqlStatementParameterCustomizercreateForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type paramType) Used to create customizers for annotations on parametersdefault SqlStatementCustomizercreateForType(Annotation annotation, Class<?> sqlObjectType) Used to create customizers for annotations on sql object interfaces
- 
Method Details- 
createForTypeUsed to create customizers for annotations on sql object interfaces- Parameters:
- annotation- the annotation which lead to the method being called
- sqlObjectType- sql object class (interface)
- Returns:
- the customizer which will be applied to the generated statement
 
- 
createForMethoddefault SqlStatementCustomizer createForMethod(Annotation annotation, Class<?> sqlObjectType, Method method) Used to create customizers for annotations on methods.- Parameters:
- annotation- the annotation which lead to the method being called
- sqlObjectType- sql object class (interface)
- method- the method which was annotated
- Returns:
- the customizer which will be applied to the generated statement
 
- 
createForParameterdefault SqlStatementParameterCustomizer createForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type paramType) Used to create customizers for annotations on parameters- Parameters:
- annotation- the annotation which lead to the method being called
- sqlObjectType- sql object class (interface)
- method- the method which was annotated
- param- the parameter which was annotated
- index- the method parameter index
- paramType- the type of the parameter
- Returns:
- the customizer which will be applied to the generated statement
 
 
-