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 SqlLocator
Locates SQL for jdbi SQL Object methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    locate(Class<?> sqlObjectType, Method method, ConfigRegistry config)
    Locates and returns the SQL for the given SQL Object type and method.
  • Method Details

    • locate

      String locate(Class<?> sqlObjectType, Method method, ConfigRegistry config)
      Locates and returns the SQL for the given SQL Object type and method.
      Parameters:
      sqlObjectType - the SQL object type
      method - the method
      config - the config registry
      Returns:
      the SQL for the given method.