public class MaxRowsFactory extends Object implements SqlStatementCustomizerFactory
| Constructor and Description |
|---|
MaxRowsFactory() |
| Modifier and Type | Method and Description |
|---|---|
SqlStatementCustomizer |
createForMethod(Annotation annotation,
Class<?> sqlObjectType,
Method method)
Used to create customizers for annotations on methods.
|
SqlStatementParameterCustomizer |
createForParameter(Annotation annotation,
Class<?> sqlObjectType,
Method method,
Parameter param,
int index,
Type type)
Used to create customizers for annotations on parameters
|
SqlStatementCustomizer |
createForType(Annotation annotation,
Class<?> sqlObjectType)
Used to create customizers for annotations on sql object interfaces
|
public SqlStatementCustomizer createForType(Annotation annotation, Class<?> sqlObjectType)
SqlStatementCustomizerFactorycreateForType in interface SqlStatementCustomizerFactoryannotation - the annotation which lead to the method being calledsqlObjectType - sql object class (interface)public SqlStatementCustomizer createForMethod(Annotation annotation, Class<?> sqlObjectType, Method method)
SqlStatementCustomizerFactorycreateForMethod in interface SqlStatementCustomizerFactoryannotation - the annotation which lead to the method being calledsqlObjectType - sql object class (interface)method - the method which was annotatedpublic SqlStatementParameterCustomizer createForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)
SqlStatementCustomizerFactorycreateForParameter in interface SqlStatementCustomizerFactoryannotation - 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 parameterCopyright © 2017. All rights reserved.