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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
    • 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 type
        method - the method
        config - the config registry
        Returns:
        the SQL for the given method.