public class LoggingExecutor extends AbstractExecutor
database| Constructor and Description |
|---|
LoggingExecutor(Executor delegatedExecutor,
Writer output,
Database database) |
applyVisitors, execute, execute, setDatabaseprotected Writer getOutput()
public void execute(SqlStatement sql) throws DatabaseException
DatabaseExceptionpublic int update(SqlStatement sql) throws DatabaseException
DatabaseExceptionpublic void execute(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic int update(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic void comment(String message) throws DatabaseException
ExecutorDatabaseExceptionpublic <T> T queryForObject(SqlStatement sql, Class<T> requiredType) throws DatabaseException
ExecutorDatabaseExceptionpublic <T> T queryForObject(SqlStatement sql, Class<T> requiredType, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic long queryForLong(SqlStatement sql) throws DatabaseException
DatabaseExceptionpublic long queryForLong(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic int queryForInt(SqlStatement sql) throws DatabaseException
DatabaseExceptionpublic int queryForInt(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic List queryForList(SqlStatement sql, Class elementType) throws DatabaseException
DatabaseExceptionpublic List queryForList(SqlStatement sql, Class elementType, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic List<Map<String,?>> queryForList(SqlStatement sql) throws DatabaseException
DatabaseExceptionpublic List<Map<String,?>> queryForList(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseExceptionpublic boolean updatesDatabase()
Copyright © 2017 Liquibase.org. All rights reserved.