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.
Locates SQL for jdbi SQL Object methods.
-
Method Summary
Modifier and TypeMethodDescriptionlocate
(Class<?> sqlObjectType, Method method, ConfigRegistry config) Locates and returns the SQL for the given SQL Object type and method.
-
Method Details
-
locate
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.
-