Package org.jdbi.v3.sqlobject.locator
Interface SqlLocator
-
- All Known Implementing Classes:
AnnotationSqlLocator,SqlObjectClasspathSqlLocator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SqlLocatorLocates SQL for jdbi SQL Object methods.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringlocate(java.lang.Class<?> sqlObjectType, java.lang.reflect.Method method, ConfigRegistry config)Locates and returns the SQL for the given SQL Object type and method.
-
-
-
Method Detail
-
locate
java.lang.String locate(java.lang.Class<?> sqlObjectType, java.lang.reflect.Method method, ConfigRegistry config)Locates and returns the SQL for the given SQL Object type and method.- Parameters:
sqlObjectType- the SQL object typemethod- the methodconfig- the config registry- Returns:
- the SQL for the given method.
-
-