Package liquibase.executor.jvm
Class SnowflakeJdbcExecutor
- java.lang.Object
-
- liquibase.executor.AbstractExecutor
-
- liquibase.executor.jvm.JdbcExecutor
-
- liquibase.executor.jvm.SnowflakeJdbcExecutor
-
public class SnowflakeJdbcExecutor extends JdbcExecutor
-
-
Field Summary
-
Fields inherited from class liquibase.executor.jvm.JdbcExecutor
ROWS_AFFECTED_SCOPE_KEY, SHOULD_UPDATE_ROWS_AFFECTED_SCOPE_KEY
-
Fields inherited from class liquibase.executor.AbstractExecutor
database, resourceAccessor
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description SnowflakeJdbcExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(SqlStatement sql, List<SqlVisitor> sqlVisitors)
int
getPriority()
Return the Executor priorityboolean
supports(Database database)
Default implementation for compatibility with a Database.-
Methods inherited from class liquibase.executor.jvm.JdbcExecutor
comment, execute, execute, execute, getColumnMapRowMapper, getName, getSingleColumnRowMapper, query, query, query, query, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForObject, queryForObject, update, update, updatesDatabase
-
Methods inherited from class liquibase.executor.AbstractExecutor
applyVisitors, execute, execute, modifyChangeSet, setDatabase, setResourceAccessor, validate
-
-
-
-
Method Detail
-
supports
public boolean supports(Database database)
Description copied from interface:Executor
Default implementation for compatibility with a Database. Requires default implementation in order to provide backward compatibility. Method is used when ExecutorService is looking by a Executor implementation for a Database. Can be overridden in Executor implementations with a higher priority to check against a Database.- Parameters:
database
- the Database implementation opened from a url connection string- Returns:
- true if Database is supported by current Executor implementation.
-
getPriority
public int getPriority()
Description copied from class:JdbcExecutor
Return the Executor priority- Specified by:
getPriority
in interfaceExecutor
- Overrides:
getPriority
in classJdbcExecutor
- Returns:
- int The Executor priority
-
execute
public void execute(SqlStatement sql, List<SqlVisitor> sqlVisitors) throws DatabaseException
- Specified by:
execute
in interfaceExecutor
- Overrides:
execute
in classJdbcExecutor
- Throws:
DatabaseException
-
-