Interface SqlHandler<T>

Type Parameters:
T - The type of the data source
All Known Implementing Classes:
ConnectionFactoryHandler, DataSourceSqlHandler, DelegatingDataSourceSqlHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Internal @FunctionalInterface public interface SqlHandler<T>
Interface for handling Sql annotation for different data sources.
Since:
4.1.0
Author:
Tim Yates
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(T source, @NonNull String sql)
    Given a data source and SQL, execute the SQL.
  • Method Details

    • handle

      void handle(@NonNull T source, @NonNull @NonNull String sql)
      Given a data source and SQL, execute the SQL.
      Parameters:
      source - The data source
      sql - The SQL to execute