public interface Executor
void setDatabase(Database database)
<T> T queryForObject(SqlStatement sql, Class<T> requiredType) throws DatabaseException
DatabaseException
<T> T queryForObject(SqlStatement sql, Class<T> requiredType, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
long queryForLong(SqlStatement sql) throws DatabaseException
DatabaseException
long queryForLong(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
int queryForInt(SqlStatement sql) throws DatabaseException
DatabaseException
int queryForInt(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
List queryForList(SqlStatement sql, Class elementType) throws DatabaseException
DatabaseException
List queryForList(SqlStatement sql, Class elementType, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
List<Map<String,?>> queryForList(SqlStatement sql) throws DatabaseException
DatabaseException
List<Map<String,?>> queryForList(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
void execute(Change change) throws DatabaseException
DatabaseException
void execute(Change change, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
void execute(SqlStatement sql) throws DatabaseException
DatabaseException
void execute(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
int update(SqlStatement sql) throws DatabaseException
DatabaseException
int update(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
DatabaseException
void comment(String message) throws DatabaseException
message
- DatabaseException
boolean updatesDatabase()
Copyright © 2018 Liquibase.org. All rights reserved.