public class MaxRowsFactory extends Object implements SqlStatementCustomizerFactory
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAX_ROWS |
| 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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateForTypepublic static final int DEFAULT_MAX_ROWS
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 © 2019. All rights reserved.