Package org.jdbi.v3.sqlobject.locator
Class SqlObjectClasspathSqlLocator
- java.lang.Object
-
- org.jdbi.v3.sqlobject.locator.SqlObjectClasspathSqlLocator
-
- All Implemented Interfaces:
SqlLocator
public class SqlObjectClasspathSqlLocator extends Object implements SqlLocator
- See Also:
ClasspathSqlLocator
-
-
Constructor Summary
Constructors Constructor Description SqlObjectClasspathSqlLocator()SqlObjectClasspathSqlLocator(ClasspathSqlLocator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocate(Class<?> sqlObjectType, Method method, ConfigRegistry config)Locates and returns the SQL for the given SQL Object type and method.
-
-
-
Constructor Detail
-
SqlObjectClasspathSqlLocator
public SqlObjectClasspathSqlLocator()
-
SqlObjectClasspathSqlLocator
public SqlObjectClasspathSqlLocator(ClasspathSqlLocator locator)
-
-
Method Detail
-
locate
public String locate(Class<?> sqlObjectType, Method method, ConfigRegistry config)
Description copied from interface:SqlLocatorLocates and returns the SQL for the given SQL Object type and method.- Specified by:
locatein interfaceSqlLocator- Parameters:
sqlObjectType- the SQL object typemethod- the methodconfig- the config registry- Returns:
- the SQL for the given method.
-
-