public class CopyRowsGenerator extends AbstractSqlGenerator<CopyRowsStatement>
EMPTY_SQL, PRIORITY_DATABASE, PRIORITY_DEFAULT
COMPARATOR
Constructor and Description |
---|
CopyRowsGenerator() |
Modifier and Type | Method and Description |
---|---|
Sql[] |
generateSql(CopyRowsStatement statement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Generate the actual Sql for the given statement and database.
|
protected Relation |
getAffectedTable(CopyRowsStatement statement) |
boolean |
supports(CopyRowsStatement statement,
Database database)
Does this generator support the given statement/database combination? Do not validate the statement with this
method, only return if it can support it.
|
ValidationErrors |
validate(CopyRowsStatement copyRowsStatement,
Database database,
SqlGeneratorChain sqlGeneratorChain)
Validate the data contained in the SqlStatement.
|
generateRollbackStatementsIsVolatile, generateStatementsIsVolatile, getPriority, looksLikeFunctionCall, warn
public boolean supports(CopyRowsStatement statement, Database database)
SqlGenerator
supports
in interface SqlGenerator<CopyRowsStatement>
supports
in class AbstractSqlGenerator<CopyRowsStatement>
public ValidationErrors validate(CopyRowsStatement copyRowsStatement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
public Sql[] generateSql(CopyRowsStatement statement, Database database, SqlGeneratorChain sqlGeneratorChain)
SqlGenerator
protected Relation getAffectedTable(CopyRowsStatement statement)
Copyright © 2023 Liquibase.org. All rights reserved.