public static class FetchDirection.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 |
createForParameter(Annotation annotation,
Object arg) |
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 createForParameter(Annotation annotation, Object arg)
public 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.