Class RawSqlGenerator

All Implemented Interfaces:
PrioritizedService, SqlGenerator<RawSqlStatement>

public class RawSqlGenerator extends AbstractSqlGenerator<RawSqlStatement>
  • Constructor Details

    • RawSqlGenerator

      public RawSqlGenerator()
  • Method Details

    • validate

      public ValidationErrors validate(RawSqlStatement rawSqlStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
      Description copied from interface: SqlGenerator
      Validate the data contained in the SqlStatement. If there are no errors, return an empty ValidationErrors object, not a null value. Liquibase will inspect the ValidationErrors result before attempting to call generateSql.
    • generateSql

      public Sql[] generateSql(RawSqlStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
      Description copied from interface: SqlGenerator
      Generate the actual Sql for the given statement and database.