public static class MaxRows.Factory extends Object implements SqlStatementCustomizerFactory
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
SqlStatementCustomizer |
createForMethod(Annotation annotation,
Class sqlObjectType,
Method method)
Used to create customizers for annotations on methods.
|
SqlStatementCustomizer |
createForParameter(Annotation annotation,
Class sqlObjectType,
Method method,
Object arg)
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 createForMethod(Annotation annotation, Class sqlObjectType, Method method)
SqlStatementCustomizerFactory
createForMethod
in interface SqlStatementCustomizerFactory
annotation
- the annotation which lead to the method being calledsqlObjectType
- sql object class (interface)method
- the method which was annotatedpublic SqlStatementCustomizer createForParameter(Annotation annotation, Class sqlObjectType, Method method, Object arg)
SqlStatementCustomizerFactory
createForParameter
in interface SqlStatementCustomizerFactory
annotation
- the annotation which lead to the method being calledsqlObjectType
- sql object class (interface)method
- the method which was annotatedarg
- the argument value for the annotated parameterpublic SqlStatementCustomizer createForType(Annotation annotation, Class sqlObjectType)
SqlStatementCustomizerFactory
createForType
in interface SqlStatementCustomizerFactory
annotation
- the annotation which lead to the method being calledsqlObjectType
- sql object class (interface)Copyright © 2018. All rights reserved.