org.skife.jdbi.v2.sqlobject.customizers
Class MaxRows.Factory
java.lang.Object
org.skife.jdbi.v2.sqlobject.customizers.MaxRows.Factory
- All Implemented Interfaces:
- SqlStatementCustomizerFactory
- Enclosing class:
- MaxRows
public static class MaxRows.Factory
- extends Object
- implements SqlStatementCustomizerFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxRows.Factory
public MaxRows.Factory()
createForMethod
public SqlStatementCustomizer createForMethod(Annotation annotation,
Class sqlObjectType,
Method method)
- Description copied from interface:
SqlStatementCustomizerFactory
- Used to create customizers for annotations on methods.
- Specified by:
createForMethod in interface SqlStatementCustomizerFactory
- 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 SqlStatementCustomizer createForParameter(Annotation annotation,
Class sqlObjectType,
Method method,
Object arg)
- Description copied from interface:
SqlStatementCustomizerFactory
- Used to create customizers for annotations on parameters
- Specified by:
createForParameter in interface SqlStatementCustomizerFactory
- Parameters:
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 parameter
- Returns:
- the customizer which will be applied to the generated statement
createForType
public SqlStatementCustomizer createForType(Annotation annotation,
Class sqlObjectType)
- Description copied from interface:
SqlStatementCustomizerFactory
- Used to create customizers for annotations on sql object interfaces
- Specified by:
createForType in interface SqlStatementCustomizerFactory
- 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
Copyright © 2011. All Rights Reserved.