public abstract class AbstractExecutor extends Object implements Executor
Constructor and Description |
---|
AbstractExecutor() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
applyVisitors(SqlStatement statement,
List<SqlVisitor> sqlVisitors) |
void |
execute(Change change)
Write methods
|
void |
execute(Change change,
List<SqlVisitor> sqlVisitors) |
void |
setDatabase(Database database)
Configures the Executor for the Database to run statements/queries against.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comment, execute, execute, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, update, update, updatesDatabase
protected Database database
public void setDatabase(Database database)
Executor
setDatabase
in interface Executor
database
- The databaseprotected String[] applyVisitors(SqlStatement statement, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
public void execute(Change change) throws DatabaseException
Executor
execute
in interface Executor
DatabaseException
public void execute(Change change, List<SqlVisitor> sqlVisitors) throws DatabaseException
execute
in interface Executor
DatabaseException
Copyright © 2018 Liquibase.org. All rights reserved.