Class FetchSizeFactory
java.lang.Object
org.jdbi.v3.sqlobject.customizer.internal.FetchSizeFactory
- All Implemented Interfaces:
 SqlStatementCustomizerFactory
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncreateForMethod(Annotation annotation, Class<?> sqlObjectType, Method method) Used to create customizers for annotations on methods.createForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type) Used to create customizers for annotations on parameterscreateForType(Annotation annotation, Class<?> sqlObjectType) Used to create customizers for annotations on sql object interfaces 
- 
Constructor Details
- 
FetchSizeFactory
public FetchSizeFactory() 
 - 
 - 
Method Details
- 
createForType
Description copied from interface:SqlStatementCustomizerFactoryUsed to create customizers for annotations on sql object interfaces- Specified by:
 createForTypein interfaceSqlStatementCustomizerFactory- Parameters:
 annotation- the annotation which lead to the method being calledsqlObjectType- sql object class (interface)- Returns:
 - the customizer which will be applied to the generated statement
 
 - 
createForMethod
public SqlStatementCustomizer createForMethod(Annotation annotation, Class<?> sqlObjectType, Method method) Description copied from interface:SqlStatementCustomizerFactoryUsed to create customizers for annotations on methods.- Specified by:
 createForMethodin interfaceSqlStatementCustomizerFactory- Parameters:
 annotation- the annotation which lead to the method being calledsqlObjectType- sql object class (interface)method- the method which was annotated- Returns:
 - the customizer which will be applied to the generated statement
 
 - 
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
 
 
 -