| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private DatabaseConnection | |
| private String | |
| private String | |
| private String | |
| private static final int | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public void | |
| public void | close()
Implements liquibase. Closes this resource, relinquishing any underlying resources. |
| public void | |
| public String | |
| public String | |
| public String | correctObjectName(final String name, final Class<? extends DatabaseObject> objectType)
Implements liquibase. Fix the object name to the format the database expects, handling changes in case, etc. |
| public String | correctObjectName(final String name, final Class<? extends DatabaseObject> objectType, final boolean quoteCorrectedName)
|
| public CatalogAndSchema | correctSchema(final CatalogAndSchema schema)
Implements liquibase. Returns a new CatalogAndSchema adjusted for this database. |
| public boolean | |
| public boolean | dataTypeIsNotModifiable(final String
type name typeName)Implements liquibase. Types like int4 in postgres cannot have a modifier. |
| public boolean | |
| public boolean | |
| public void | dropDatabaseObjects(final CatalogAndSchema
schema (catalog+)schema to drop schema)Implements liquibase. Drops all objects in a specified schema. |
| public void | |
| public boolean | |
| public String | escapeColumnName(final String catalogName, final String schemaName, final String tableName, final String
column name columnName)Implements liquibase. Escapes a single column name in a database-dependent manner so reserved words can be used as a column name (i.e. "return"). |
| public String | escapeColumnName(String catalogName, String schemaName, String tableName, String columnName, boolean quoteNamesThatMayBeFunctions)
Implements liquibase. Similar to |
| public String | escapeColumnNameList(final String
list of column names columnNames)Implements liquibase. Escapes a list of column names in a database-dependent manner so reserved words can be used as a column name (i.e. "return"). |
| public String | escapeConstraintName(final String constraintName)
Implements liquibase.
|
| public String | |
| public String | escapeIndexName(final String catalogName, final String schemaName, final String indexName)
Implements liquibase.
|
| public String | escapeObjectName(final String objectName, final Class<? extends DatabaseObject> objectType)
Implements liquibase.
|
| public String | escapeObjectName(final String catalogName, final String schemaName, final String objectName, final Class<? extends DatabaseObject> objectType)
Implements liquibase.
|
| public String | escapeSequenceName(final String catalogName, final String schemaName, final String sequenceName)
Implements liquibase.
|
| public String | escapeStringForDatabase(final String string)
Implements liquibase.
|
| public String | escapeTableName(final String catalogName, final String schemaName, final String tableName)
Implements liquibase.
|
| public String | escapeViewName(final String catalogName, final String schemaName, final String viewName)
Implements liquibase.
|
| public void | execute(final SqlStatement[] statements, final List<SqlVisitor> sqlVisitors)
Implements liquibase.
|
| public void | executeRollbackStatements(final Change change, final List<SqlVisitor> sqlVisitors)
Implements liquibase.
|
| public void | executeRollbackStatements(final SqlStatement[] statements, final List<SqlVisitor> sqlVisitors)
Implements liquibase.
|
| public void | executeStatements(final Change change, final DatabaseChangeLog changeLog, final List<SqlVisitor> sqlVisitors)
Implements liquibase.
|
| public String | generateDatabaseFunctionValue(final DatabaseFunction
database function to check. databaseFunction)Implements liquibase. Some function names are placeholders that need to be replaced with the specific database value. |
| public String | generatePrimaryKeyName(final String tableName)
Implements liquibase.
|
| public boolean | getAutoCommitMode()
Implements liquibase. Auto-commit mode to run in |
| public String | getAutoIncrementClause(final BigInteger startWith, final BigInteger incrementBy, final String generationType, final Boolean defaultOnNull)
Implements liquibase. Returns database-specific auto-increment DDL clause. |
| public SqlStatement | |
| public String | getConcatSql(final String... values)
Implements liquibase. Returns SQL to concat the passed values. |
| public DatabaseConnection | |
| public String | |
| public String | |
| public DatabaseObject[] | |
| public String | getCurrentDateTimeFunction()
Implements liquibase. Returns database-specific function for generating the current date/time. |
| public String | |
| public String | |
| public int | |
| public int | |
| public String | getDatabaseProductName()
Implements liquibase. Returns the name of the database product according to the underlying database. |
| public String | |
| public String | |
| public int | getDataTypeMaxParameters(final String dataTypeName)
Implements liquibase.
|
| public List | getDateFunctions()
Implements liquibase. Returns list of database native date functions |
| public String | |
| public String | |
| public String | |
| public String | getDateTimeLiteral(final Timestamp timeStamp)
Implements liquibase.
|
| public String | |
| public String | getDefaultDriver(final String url)
Implements liquibase. If this database understands the given url, return the default driver class name. |
| public int | getDefaultFractionalDigitsForTimestamp()
Implements liquibase. When a TIMESTAMP column without the parameter "number of fractional digits" is created, what is the default value? |
| public Integer | |
| public Integer | getDefaultScaleForNativeDataType(String
the name of the native data type (case-insensitive). nativeDataType)Implements liquibase. Returns the default precision for a given native data type, e.g. "datetime2" for Microsoft SQL Server. |
| public CatalogAndSchema | |
| public String | |
| public String | |
| public Integer | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public String | |
| public int | getMaxFractionalDigitsForTimestamp()
Implements liquibase. Determines the maximum precision (number of fractional digits) for TIMESTAMP columns for the given database. |
| public String | |
| public ObjectQuotingStrategy | |
| public boolean | |
| public boolean | getOutputDefaultSchema()
Implements liquibase. Should the schema be included in identifiers even if it is the default schema? |
| public int | |
| public RanChangeSet | |
| public List | getRanChangeSetList()
Implements liquibase. Returns the ChangeSets that have been run against the current database. |
| public Date | |
| public ChangeSet. | getRunStatus(final ChangeSet changeSet)
Implements liquibase. Returns the run status for the given ChangeSet |
| public Schema | |
| public CatalogAndSchema. | |
| public CatalogAndSchema | |
| public SqlStatement | |
| public String | getShortName()
Implements liquibase. Returns an all-lower-case short name of the product. |
| public String | |
| public String | |
| public String | getViewDefinition(final CatalogAndSchema schema, final String name)
Implements liquibase.
|
| public boolean | |
| public boolean | |
| public boolean | isCorrectDatabaseImplementation(final DatabaseConnection conn)
Implements liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection. |
| public boolean | isDefaultCatalog(final String
catalog name to be tested catalog)Implements liquibase. If the database supports catalogs, test if a given catalog name equals to the default catalog of the current logged in user. |
| public boolean | isDefaultSchema(final String
catalog name to be tested catalog, final String schema name to be tested schema)Implements liquibase. If the database supports schemas, test if a given combination of catalog and schema name equals to the default catalog and schema of the current logged in user. |
| public boolean | |
| public boolean | isLiquibaseObject(final DatabaseObject object)
Implements liquibase.
|
| public boolean | |
| public boolean | |
| public boolean | |
| public DatabaseChangeLogLock[] | |
| public void | markChangeSetExecStatus(final ChangeSet changeSet, final ChangeSet.
Implements liquibase. After the changeset has been ran against the database this method will update the change log table with the information. |
| public Date | |
| public void | |
| public void | |
| public boolean | requiresExplicitNullForColumns()
Implements liquibase. Does the database require explicit NULL for nullable columns? |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | saveRollbackStatement(final Change change, final List<SqlVisitor> sqlVisitors, final Writer writer)
Implements liquibase.
|
| public void | saveStatements(final Change change, final List<SqlVisitor> sqlVisitors, final Writer writer)
Implements liquibase.
|
| public void | |
| public void | setCanCacheLiquibaseTableInfo(final boolean canCacheLiquibaseTableInfo)
Implements liquibase.
|
| public void | |
| public void | |
| public void | |
| public void | setCurrentDateTimeFunction(final String function)
Implements liquibase.
|
| public void | setDatabaseChangeLogLockTableName(final String tableName)
Implements liquibase. Does nothing |
| public void | setDatabaseChangeLogTableName(final String
the name of the change log table to set tableName)Implements liquibase. Does nothing |
| public void | setDefaultCatalogName(final String catalogName)
Implements liquibase.
|
| public void | setDefaultSchemaName(final String schemaName)
Implements liquibase.
|
| public void | setLiquibaseCatalogName(final String catalogName)
Implements liquibase.
|
| public void | setLiquibaseSchemaName(final String schemaName)
Implements liquibase.
|
| public void | setLiquibaseTablespaceName(final String tablespaceName)
Implements liquibase.
|
| public void | setObjectQuotingStrategy(final ObjectQuotingStrategy quotingStrategy)
Implements liquibase.
|
| public void | setOutputDefaultCatalog(final boolean outputDefaultCatalog)
Implements liquibase.
|
| public void | setOutputDefaultSchema(final boolean outputDefaultSchema)
Implements liquibase. Whether the default schema should be included in generated SQL |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | supportsBatchUpdates()
Implements liquibase. Does the database support batched DML (INSERT/UPDATE/DELETE/MERGE/...) statements sent in a single call to the database? |
| public boolean | |
| public boolean | supportsCatalogInObjectName(final Class<? extends DatabaseObject> type)
Implements liquibase.
|
| public boolean | |
| public boolean | supportsCreateIfNotExists(Class<? extends DatabaseObject>
the DatabaseObject type to be checked. type)Overrides default liquibase. Does the database support the "if not exits" syntax? |
| public boolean | supportsDDLInTransaction()
Implements liquibase. Determines if the database supports DDL within a transaction or not. |
| public boolean | |
| public boolean | |
| public boolean | supportsInitiallyDeferrableColumns()
Implements liquibase. Returns whether this database support initially deferrable columns. |
| public boolean | supportsNotNullConstraintNames()
Implements liquibase. Does this database treat NOT NULL as an own kind of CONSTRAINT (in addition of simply being a column property)? |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | tag(final String tagString)
Implements liquibase. Tags the database changelog with the given string. |
| public String | |
| public String | unescapeDataTypeName(String dataTypeName)
Implements liquibase.
|
| public String | unescapeDataTypeString(String dataTypeString)
Implements liquibase.
|
| public void | |
| public ValidationErrors |