Interface SqlGenerator

All Known Implementing Classes:
DefaultSqlGenerator

public interface SqlGenerator
Contract for SQL generators used by AbstractDatabaseProvider implementations.

Implementations of this interface are responsible for translating high-level operation models into executable SQL statements and providing access to supporting components such as metadata engines and specialised SQL generators.

  • Method Details

    • generateSql

      String generateSql(Operation operation, ConnectionProvider connectionProvider)
      Generates SQL for the given operation using the provided connection provider.
      Parameters:
      operation - The operation to generate SQL for.
      connectionProvider - The connection provider to use.
      Returns:
      The generated SQL.
    • selectSqlGenerator

      SelectSqlGenerator selectSqlGenerator()
      Returns the `SELECT`-query SQL generator used by this SQL generator.
      Returns:
      The select SQL generator.