public class LoggingExecutor extends AbstractExecutor implements Executor
database| Constructor and Description |
|---|
LoggingExecutor(Executor delegatedExecutor,
Writer output,
Database database) |
applyVisitors, setDatabaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetDatabaseprotected Writer getOutput()
public void execute(Change change) throws DatabaseException
Executorexecute in interface ExecutorDatabaseExceptionpublic void execute(Change change, List<SqlVisitor> sqlVisitors) throws DatabaseException
execute in interface ExecutorDatabaseExceptionpublic void execute(SqlStatement sql) throws DatabaseException
execute in interface ExecutorDatabaseExceptionpublic int update(SqlStatement sql) throws DatabaseException
update in interface ExecutorDatabaseExceptionpublic void execute(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
execute in interface ExecutorDatabaseExceptionpublic int update(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
update in interface ExecutorDatabaseExceptionpublic void comment(String message) throws DatabaseException
Executorcomment in interface ExecutorDatabaseExceptionpublic <T> T queryForObject(SqlStatement sql, Class<T> requiredType) throws DatabaseException
ExecutorqueryForObject in interface ExecutorDatabaseExceptionpublic <T> T queryForObject(SqlStatement sql, Class<T> requiredType, List<SqlVisitor> sqlVisitors) throws DatabaseException
queryForObject in interface ExecutorDatabaseExceptionpublic long queryForLong(SqlStatement sql) throws DatabaseException
queryForLong in interface ExecutorDatabaseExceptionpublic long queryForLong(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
queryForLong in interface ExecutorDatabaseExceptionpublic int queryForInt(SqlStatement sql) throws DatabaseException
queryForInt in interface ExecutorDatabaseExceptionpublic int queryForInt(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
queryForInt in interface ExecutorDatabaseExceptionpublic List queryForList(SqlStatement sql, Class elementType) throws DatabaseException
queryForList in interface ExecutorDatabaseExceptionpublic List queryForList(SqlStatement sql, Class elementType, List<SqlVisitor> sqlVisitors) throws DatabaseException
queryForList in interface ExecutorDatabaseExceptionpublic List<Map<String,?>> queryForList(SqlStatement sql) throws DatabaseException
queryForList in interface ExecutorDatabaseExceptionpublic List<Map<String,?>> queryForList(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
queryForList in interface ExecutorDatabaseExceptionpublic boolean updatesDatabase()
updatesDatabase in interface ExecutorCopyright © 2015 Liquibase.org. All rights reserved.