Interface PreparableStatement

All Superinterfaces:
Sql
All Known Implementing Classes:
DeleteStatement, InsertBatchStatement, InsertStatement, SelectSetOpStatement, SelectStatement, TruncateStatement, UpdateStatement

public interface PreparableStatement extends Sql
Defines a statement that can be formatted as SQL.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    toString(Dialect dialect)
    Gets the SQL of specified dialect for this statement.

    Methods inherited from interface io.github.torand.fastersql.sql.Sql

    aliasRefs, columnRefs, params, sql
  • Method Details

    • toString

      default String toString(Dialect dialect)
      Gets the SQL of specified dialect for this statement.
      Parameters:
      dialect - the SQL dialect.
      Returns:
      the SQL statement.