public class ExampleExecutor extends JdbcExecutor
Executor implemention which can be specified
in a changelog with the "runWith" attributedatabase, resourceAccessorPRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED| Constructor and Description |
|---|
ExampleExecutor()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(SqlStatement action,
List<SqlVisitor> sqlVisitors)
Execute the SQL from the
SqlStatement parameter |
String |
getName()
Return the name of the Executor
|
int |
getPriority()
Return the Executor priority
|
ValidationErrors |
validate(ChangeSet changeSet)
Validate whether the changeset can be executed by this Executor
|
comment, execute, execute, execute, getColumnMapRowMapper, getSingleColumnRowMapper, query, query, query, query, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForObject, queryForObject, update, update, updatesDatabaseapplyVisitors, execute, execute, modifyChangeSet, setDatabase, setResourceAccessorpublic String getName()
getName in interface ExecutorgetName in class JdbcExecutorpublic int getPriority()
getPriority in interface ExecutorgetPriority in class JdbcExecutorpublic ValidationErrors validate(ChangeSet changeSet)
validate in interface Executorvalidate in class AbstractExecutorchangeSet - The changeset to validatepublic void execute(SqlStatement action, List<SqlVisitor> sqlVisitors) throws DatabaseException
SqlStatement parameterexecute in interface Executorexecute in class JdbcExecutoraction - This is the SqlStatement object which contains
the SQL to executesqlVisitors - List of SqlVisitor to apply to the generated SQLDatabaseException - Exception type thrown if an error occurs during executionCopyright © 2022 Liquibase.org. All rights reserved.