| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final List | |
| private Boolean | |
| private static final String | |
| private static final String | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | escapeObjectName(String objectName, Class<? extends DatabaseObject> objectType)
Overrides liquibase. Implements liquibase.
|
| public String | getAutoIncrementClause(BigInteger startWith, BigInteger incrementBy, String generationType, Boolean defaultOnNull)
Overrides liquibase. Implements liquibase. Returns database-specific auto-increment DDL clause. |
| public String | getConcatSql(String... values)
Overrides liquibase. Implements liquibase. Returns SQL to concat the passed values. |
| private String | Returns: a String containing the CONCAT instruction with all elements, or only a value if there is only one element in the lista non null List of String values)Recursive way of building CONCAT instruction |
| protected String | |
| protected String | getConnectionSchemaName()
Overrides liquibase. Overwrite this method to get the default schema name for the connection. |
| public String | getDateLiteral(String isoDate)
Overrides liquibase. Implements liquibase. Return a date literal with the same value as a string formatted using ISO 8601. |
| protected String | |
| public String | getDefaultDriver(String url)
Implements liquibase. If this database understands the given url, return the default driver class name. |
| public Integer | |
| public int | getMaxFractionalDigitsForTimestamp()
Overrides liquibase. Implements liquibase. Most relational databases support 9 fractional digits, and subclasses must overwrite this method if they support less than that. |
| public int | |
| public String | getShortName()
Implements liquibase. Returns an all-lower-case short name of the product. |
| public boolean | |
| public boolean | isCorrectDatabaseImplementation(DatabaseConnection conn)
Implements liquibase. Is this AbstractDatabase subclass the correct one to use for the given connection. |
| public boolean | isReservedWord(String value)
Overrides liquibase. Implements liquibase.
|
| public boolean | |
| public Date | parseDate(String dateAsString)
Overrides liquibase. Implements liquibase.
|
| public void | |
| 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 static boolean | Returns: boolean True if the string represents a function supported by HSQL for default valuesString of the column's data type columnType, String String to be checked for valid valueComputed in HSQL defaultValue)Checks to see if the string is an acceptable computed value for HSQL "datetime" columns are the only columns for which HSQL supports computer values. |
| public boolean | supportsInitiallyDeferrableColumns()
Implements liquibase. Returns whether this database support initially deferrable columns. |
| public boolean | supportsSequences()
Overrides liquibase. Implements liquibase. Does the database type support sequence. |
| public boolean |
| END_CONCAT | back to summary |
|---|---|
| private static final String END_CONCAT | |
| keywords | back to summary |
|---|---|
| private static final List<E> keywords | |
| oracleSyntax | back to summary |
|---|---|
| private Boolean oracleSyntax | |
| SEP_CONCAT | back to summary |
|---|---|
| private static final String SEP_CONCAT | |
| START_CONCAT | back to summary |
|---|---|
| private static final String START_CONCAT | |
| SUPPORTED_DEFAULT_VALUE_COMPUTED_MAP | back to summary |
|---|---|
| private static final Map<String, HashSet<String>> SUPPORTED_DEFAULT_VALUE_COMPUTED_MAP | |
| HsqlDatabase | back to summary |
|---|---|
| public HsqlDatabase() | |
| escapeObjectName | back to summary |
|---|---|
| public String escapeObjectName(String objectName, Class<? extends DatabaseObject> objectType) Overrides liquibase. Implements liquibase.
| |
| getAutoIncrementClause | back to summary |
|---|---|
| public String getAutoIncrementClause(BigInteger startWith, BigInteger incrementBy, String generationType, Boolean defaultOnNull) Overrides liquibase. Implements liquibase. Doc from liquibase. Returns database-specific auto-increment DDL clause.
| |
| getConcatSql | back to summary |
|---|---|
| public String getConcatSql(String... values) Overrides liquibase. Implements liquibase. Doc from liquibase. Returns SQL to concat the passed values.
| |
| getConcatSql | back to summary |
|---|---|
| private String getConcatSql(List<String> values) Recursive way of building CONCAT instruction | |
| getConnectionCatalogName | back to summary |
|---|---|
| protected String getConnectionCatalogName() throws DatabaseException Overrides liquibase.
| |
| getConnectionSchemaName | back to summary |
|---|---|
| protected String getConnectionSchemaName() Overrides liquibase. Doc from liquibase. Overwrite this method to get the default schema name for the connection. If you only need to change the statement that obtains the current schema then override
| |
| getDateLiteral | back to summary |
|---|---|
| public String getDateLiteral(String isoDate) Overrides liquibase. Implements liquibase. Doc from liquibase. Return a date literal with the same value as a string formatted using ISO 8601. Note many databases accept date literals in ISO8601 format with the 'T' replaced with a space. Only databases which do not accept these strings should need to override this method. Implementation restriction: Currently, only the following subsets of ISO8601 are supported: yyyy-MM-dd hh:mm:ss yyyy-MM-ddThh:mm:ss
| |
| 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.
| |
| 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.
| |
| isCaseSensitive | back to summary |
|---|---|
| public boolean isCaseSensitive() Overrides liquibase. Implements liquibase.
| |
| 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 value) Overrides liquibase. Implements liquibase.
| |
| isUsingOracleSyntax | back to summary |
|---|---|
| public boolean isUsingOracleSyntax() | |
| parseDate | back to summary |
|---|---|
| public Date parseDate(String dateAsString) throws DateParseException Overrides liquibase. Implements liquibase.
| |
| setConnection | back to summary |
|---|---|
| public void setConnection(DatabaseConnection conn) Overrides liquibase. Implements liquibase.
| |
| supportsCatalogs | back to summary |
|---|---|
| public boolean supportsCatalogs() 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?
| |
| supportsDefaultValueComputed | back to summary |
|---|---|
| public static boolean supportsDefaultValueComputed(String columnType, String defaultValue) Checks to see if the string is an acceptable computed value for HSQL "datetime" columns are the only columns for which HSQL supports computer values. | |
| 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.
| |