liquibase.executor.Executor Maven / Gradle / Ivy
package liquibase.executor;
import liquibase.database.Database;
import liquibase.exception.DatabaseException;
import liquibase.sql.visitor.SqlVisitor;
import liquibase.statement.CallableSqlStatement;
import liquibase.statement.SqlStatement;
import java.util.List;
import java.util.Map;
public interface Executor {
void setDatabase(Database database);
/** Read methods */
Object queryForObject(SqlStatement sql, Class requiredType) throws DatabaseException;
Object queryForObject(SqlStatement sql, Class requiredType, List sqlVisitors) throws DatabaseException;
long queryForLong(SqlStatement sql) throws DatabaseException;
long queryForLong(SqlStatement sql, List sqlVisitors) throws DatabaseException;
int queryForInt(SqlStatement sql) throws DatabaseException;
int queryForInt(SqlStatement sql, List sqlVisitors) throws DatabaseException;
List queryForList(SqlStatement sql, Class elementType) throws DatabaseException;
List queryForList(SqlStatement sql, Class elementType, List sqlVisitors) throws DatabaseException;
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy