liquibase.executor
Class AbstractExecutor

java.lang.Object
  extended by liquibase.executor.AbstractExecutor
All Implemented Interfaces:
Executor
Direct Known Subclasses:
JdbcExecutor, LoggingExecutor

public abstract class AbstractExecutor
extends Object
implements Executor


Field Summary
protected  Database database
           
 
Constructor Summary
AbstractExecutor()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface liquibase.executor.Executor
comment, execute, execute, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, update, update, updatesDatabase
 

Field Detail

database

protected Database database
Constructor Detail

AbstractExecutor

public AbstractExecutor()
Method Detail

setDatabase

public void setDatabase(Database database)
Specified by:
setDatabase in interface Executor

applyVisitors

protected String[] applyVisitors(SqlStatement statement,
                                 List<SqlVisitor> sqlVisitors)
                          throws DatabaseException
Throws:
DatabaseException

execute

public void execute(Change change)
             throws DatabaseException
Description copied from interface: Executor
Write methods

Specified by:
execute in interface Executor
Throws:
DatabaseException

execute

public void execute(Change change,
                    List<SqlVisitor> sqlVisitors)
             throws DatabaseException
Specified by:
execute in interface Executor
Throws:
DatabaseException


Copyright © 2016 Liquibase.org. All rights reserved.