Package liquibase.executor.jvm
Class SnowflakeJdbcExecutor
java.lang.Object
liquibase.executor.AbstractExecutor
liquibase.executor.jvm.JdbcExecutor
liquibase.executor.jvm.SnowflakeJdbcExecutor
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(SqlStatement sql, List<SqlVisitor> sqlVisitors) int
Return the Executor priorityboolean
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
-
Constructor Details
-
SnowflakeJdbcExecutor
public SnowflakeJdbcExecutor()
-
-
Method Details
-
supports
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
- Specified by:
execute
in interfaceExecutor
- Overrides:
execute
in classJdbcExecutor
- Throws:
DatabaseException
-