| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Logger | |
| public static final int | |
| public static final int | |
| private static final int | |
| pack-priv static final int | PGSQL_PK_BYTES_LIMIT
Maximum length of PostgresSQL identifier. |
| pack-priv static final String | |
| public static final String | |
| private final Set | |
| private final Set | |
| public static final List | VALID_AUTO_INCREMENT_COLUMN_TYPE_NAMES
The data type names which are valid for auto-increment columns. |
| Access | Constructor and Description |
|---|---|
| public |
| dbFullVersion | back to summary |
|---|---|
| private static final String dbFullVersion | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| MINIMUM_DBMS_MAJOR_VERSION | back to summary |
|---|---|
| public static final int MINIMUM_DBMS_MAJOR_VERSION | |
| MINIMUM_DBMS_MINOR_VERSION | back to summary |
|---|---|
| public static final int MINIMUM_DBMS_MINOR_VERSION | |
| PGSQL_DEFAULT_TCP_PORT_NUMBER | back to summary |
|---|---|
| private static final int PGSQL_DEFAULT_TCP_PORT_NUMBER | |
| PGSQL_PK_BYTES_LIMIT | back to summary |
|---|---|
| pack-priv static final int PGSQL_PK_BYTES_LIMIT Maximum length of PostgresSQL identifier. For details:
| |
| PGSQL_PK_SUFFIX | back to summary |
|---|---|
| pack-priv static final String PGSQL_PK_SUFFIX | |
| PRODUCT_NAME | back to summary |
|---|---|
| public static final String PRODUCT_NAME | |
| reservedWords | back to summary |
|---|---|
| private final Set<String> reservedWords Hides liquibase. | |
| systemTablesAndViews | back to summary |
|---|---|
| private final Set<String> systemTablesAndViews | |
| VALID_AUTO_INCREMENT_COLUMN_TYPE_NAMES | back to summary |
|---|---|
| public static final List<String> VALID_AUTO_INCREMENT_COLUMN_TYPE_NAMES The data type names which are valid for auto-increment columns. | |
| PostgresDatabase | back to summary |
|---|---|
| public PostgresDatabase() | |
| correctObjectName | back to summary |
|---|---|
| public String correctObjectName(String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase. Doc from liquibase. Fix the object name to the format the database expects, handling changes in case, etc.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides liquibase. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| escapeObjectName | back to summary |
|---|---|
| public String escapeObjectName(String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase. This has special case logic to handle NOT quoting column names if they are of type 'LiquibaseColumn' - columns in the DATABASECHANGELOG or DATABASECHANGELOGLOCK tables.
| |
| generateAutoIncrementBy | back to summary |
|---|---|
| public boolean generateAutoIncrementBy(BigInteger incrementBy) Overrides liquibase.
| |
| generateAutoIncrementStartWith | back to summary |
|---|---|
| public boolean generateAutoIncrementStartWith(BigInteger startWith) Overrides liquibase.
| |
| generatePrimaryKeyName | back to summary |
|---|---|
| public String generatePrimaryKeyName(final String tableName) Overrides liquibase. Implements liquibase. Generates PK following | |
| getAutoIncrementClause | back to summary |
|---|---|
| public String getAutoIncrementClause() Overrides liquibase.
| |
| getAutoIncrementClause | back to summary |
|---|---|
| protected String getAutoIncrementClause(final String generationType, final Boolean defaultOnNull) Overrides liquibase. Doc from liquibase. Default implementation. Intended for override in database specific cases
| |
| getConnectionSchemaNameCallStatement | back to summary |
|---|---|
| protected SqlStatement getConnectionSchemaNameCallStatement() Overrides liquibase. Doc from liquibase. Used to obtain the connection schema name through a statement Override this method to change the statement. Only override this if getConnectionSchemaName is left unchanged or is using this method.
| |
| getDatabaseChangeLogLockTableName | back to summary |
|---|---|
| public String getDatabaseChangeLogLockTableName() Overrides liquibase. Implements liquibase.
| |
| getDatabaseChangeLogTableName | back to summary |
|---|---|
| public String getDatabaseChangeLogTableName() Overrides liquibase. Implements liquibase.
| |
| getDefaultDatabaseProductName | back to summary |
|---|---|
| protected String getDefaultDatabaseProductName() Implements abstract liquibase.
| |
| getDefaultDriver | back to summary |
|---|---|
| public String getDefaultDriver(String url) Implements liquibase. Doc from liquibase. If this database understands the given url, return the default driver class name. Otherwise return null.
| |
| getDefaultPort | back to summary |
|---|---|
| public Integer getDefaultPort() Implements liquibase.
| |
| getMaxFractionalDigitsForTimestamp | back to summary |
|---|---|
| public int getMaxFractionalDigitsForTimestamp() Overrides liquibase. Implements liquibase. Doc from liquibase. Most relational databases support 9 fractional digits, and subclasses must overwrite this method if they support less than that.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements liquibase.
| |
| getSchemaAndCatalogCase | back to summary |
|---|---|
| public CatalogAndSchema. Overrides liquibase. Implements liquibase. Doc from liquibase. This logic is used when db support catalogs
| |
| getShortName | back to summary |
|---|---|
| public String getShortName() Implements liquibase. Doc from liquibase. Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
| |
| getSystemViews | back to summary |
|---|---|
| public Set Overrides liquibase. Doc from liquibase. Returns system (undroppable) views.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides liquibase. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasMixedCase | back to summary |
|---|---|
| protected boolean hasMixedCase(String tableName) | |
| isCorrectDatabaseImplementation | back to summary |
|---|---|
| public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException Implements liquibase. Doc from liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection.
| |
| isReservedWord | back to summary |
|---|---|
| public boolean isReservedWord(String tableName) Overrides liquibase. Implements liquibase.
| |
| isSystemObject | back to summary |
|---|---|
| public boolean isSystemObject(DatabaseObject example) Overrides liquibase. Implements liquibase.
| |
| rollback | back to summary |
|---|---|
| public void rollback() throws DatabaseException Overrides liquibase. Implements liquibase.
| |
| setConnection | back to summary |
|---|---|
| public void setConnection(DatabaseConnection conn) Overrides liquibase. Implements liquibase.
| |
| setDefaultCatalogName | back to summary |
|---|---|
| public void setDefaultCatalogName(String defaultCatalogName) Overrides liquibase. Implements liquibase.
| |
| supportsCatalogInObjectName | back to summary |
|---|---|
| public boolean supportsCatalogInObjectName(Class<? extends DatabaseObject> type) Overrides liquibase. Implements liquibase.
| |
| supportsCreateIfNotExists | back to summary |
|---|---|
| public boolean supportsCreateIfNotExists(Class<? extends DatabaseObject> type) Overrides default liquibase. Doc from liquibase. Does the database support the "if not exits" syntax?
| |
| supportsInitiallyDeferrableColumns | back to summary |
|---|---|
| public boolean supportsInitiallyDeferrableColumns() Implements liquibase. Doc from liquibase. Returns whether this database support initially deferrable columns.
| |
| supportsSequences | back to summary |
|---|---|
| public boolean supportsSequences() Overrides liquibase. Implements liquibase. Doc from liquibase. Does the database type support sequence.
| |
| supportsTablespaces | back to summary |
|---|---|
| public boolean supportsTablespaces() Implements liquibase.
| |
| unescapeDataTypeName | back to summary |
|---|---|
| public String unescapeDataTypeName(String dataTypeName) Overrides liquibase. Implements liquibase.
| |
| useSerialDatatypes | back to summary |
|---|---|
| public boolean useSerialDatatypes() Should the database use "serial" datatypes vs. "generated by default as identity" | |