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