public class CockroachDatabase extends PostgresDatabase
MINIMUM_DBMS_MAJOR_VERSION, MINIMUM_DBMS_MINOR_VERSION, PRODUCT_NAME, VALID_AUTO_INCREMENT_COLUMN_TYPE_NAMEScaseSensitive, currentDateTimeFunction, dateFunctions, defaultAutoIncrementBy, defaultAutoIncrementStartWith, defaultCatalogName, defaultSchemaName, quotingStrategy, sequenceCurrentValueFunction, sequenceNextValueFunction, unmodifiableDataTypes, unquotedObjectsAreUppercasedCOMPARATOR, PRIORITY_DATABASE, PRIORITY_DEFAULT| Constructor and Description |
|---|
CockroachDatabase() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDatabaseMajorVersion() |
int |
getDatabaseMinorVersion() |
protected String |
getDefaultDatabaseProductName() |
Integer |
getDefaultPort() |
int |
getPriority() |
String |
getShortName()
Returns an all-lower-case short name of the product.
|
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection.
|
void |
setConnection(DatabaseConnection conn) |
boolean |
supportsDDLInTransaction()
Determines if the database supports DDL within a transaction or not.
|
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns.
|
boolean |
supportsTablespaces() |
boolean |
useSerialDatatypes()
Should the database use "serial" datatypes vs.
|
correctObjectName, equals, escapeObjectName, generateAutoIncrementBy, generateAutoIncrementStartWith, generatePrimaryKeyName, getAutoIncrementClause, getAutoIncrementClause, getConnectionSchemaNameCallStatement, getDatabaseChangeLogLockTableName, getDatabaseChangeLogTableName, getDefaultDriver, getMaxFractionalDigitsForTimestamp, getSchemaAndCatalogCase, getSystemViews, hashCode, hasMixedCase, isReservedWord, isSystemObject, rollback, supportsCatalogInObjectName, supportsSequences, unescapeDataTypeNameaddReservedWords, canCreateChangeLogTable, close, commit, correctSchema, correctSchema, createsIndexesForForeignKeys, dataTypeIsNotModifiable, disableForeignKeyChecks, doesTagExist, dropDatabaseObjects, enableForeignKeyChecks, escapeColumnName, escapeColumnName, escapeColumnNameList, escapeConstraintName, escapeDataTypeName, escapeIndexName, escapeObjectName, escapeSequenceName, escapeStringForDatabase, escapeTableName, escapeViewName, execute, executeRollbackStatements, executeRollbackStatements, executeStatements, filterRollbackVisitors, generateDatabaseFunctionValue, get, getAutoCommitMode, getAutoIncrementByClause, getAutoIncrementClause, getAutoIncrementClosing, getAutoIncrementOpening, getAutoIncrementStartWithClause, getConcatSql, getConnection, getConnectionCatalogName, getConnectionSchemaName, getContainingObjects, getCurrentDateTimeFunction, getDatabaseProductName, getDatabaseProductVersion, getDataTypeMaxParameters, getDateFunctions, getDateLiteral, getDateLiteral, getDateLiteral, getDateTimeLiteral, getDefaultCatalogName, getDefaultFractionalDigitsForTimestamp, getDefaultScaleForNativeDataType, getDefaultSchema, getDefaultSchemaName, getFetchSize, getJdbcCatalogName, getJdbcCatalogName, getJdbcSchemaName, getJdbcSchemaName, getLineComment, getLiquibaseCatalogName, getLiquibaseSchemaName, getLiquibaseTablespaceName, getName, getObjectQuotingStrategy, getOutputDefaultCatalog, getOutputDefaultSchema, getQuotingEndCharacter, getQuotingEndReplacement, getQuotingStartCharacter, getRanChangeSet, getRanChangeSetList, getRanDate, getRunStatus, getSchemaFromJdbcInfo, getSystemSchema, getSystemTables, getTimeLiteral, getViewDefinition, isAutoCommit, isCaseSensitive, isCurrentTimeFunction, isDateOnly, isDateTime, isDefaultCatalog, isDefaultSchema, isFunction, isLiquibaseObject, isSafeToRunUpdate, isSystemView, isTimeOnly, isTimestamp, jdbcCallsCatalogsSchemas, markChangeSetExecStatus, mustQuoteObjectName, parseDate, quoteObject, removeRanStatus, requiresExplicitNullForColumns, requiresPassword, requiresUsername, resetInternalState, saveRollbackStatement, saveStatements, set, setAutoCommit, setCanCacheLiquibaseTableInfo, setCaseSensitive, setCurrentDateTimeFunction, setDatabaseChangeLogLockTableName, setDatabaseChangeLogTableName, setDefaultCatalogName, setDefaultSchemaName, setLiquibaseCatalogName, setLiquibaseSchemaName, setLiquibaseTablespaceName, setObjectQuotingStrategy, setOutputDefaultCatalog, setOutputDefaultSchema, startsWithNumeric, supportsAutoIncrement, supportsBatchUpdates, supportsCatalogs, supportsDropTableCascadeConstraints, supportsForeignKeyDisable, supportsNotNullConstraintNames, supportsPrimaryKeyNames, supportsRestrictForeignKeys, supportsSchemas, tag, toString, unescapeDataTypeString, validatepublic int getPriority()
getPriority in interface PrioritizedServicegetPriority in class PostgresDatabasepublic String getShortName()
DatabasegetShortName in interface DatabasegetShortName in class PostgresDatabaseprotected String getDefaultDatabaseProductName()
getDefaultDatabaseProductName in class PostgresDatabasepublic int getDatabaseMajorVersion()
throws DatabaseException
getDatabaseMajorVersion in interface DatabasegetDatabaseMajorVersion in class AbstractJdbcDatabaseDatabaseExceptionpublic int getDatabaseMinorVersion()
throws DatabaseException
getDatabaseMinorVersion in interface DatabasegetDatabaseMinorVersion in class AbstractJdbcDatabaseDatabaseExceptionpublic boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
DatabaseisCorrectDatabaseImplementation in interface DatabaseisCorrectDatabaseImplementation in class PostgresDatabaseDatabaseExceptionpublic Integer getDefaultPort()
getDefaultPort in interface DatabasegetDefaultPort in class PostgresDatabasepublic boolean supportsInitiallyDeferrableColumns()
DatabasesupportsInitiallyDeferrableColumns in interface DatabasesupportsInitiallyDeferrableColumns in class PostgresDatabasepublic boolean supportsTablespaces()
supportsTablespaces in interface DatabasesupportsTablespaces in class PostgresDatabasepublic boolean supportsDDLInTransaction()
AbstractJdbcDatabasesupportsDDLInTransaction in interface DatabasesupportsDDLInTransaction in class AbstractJdbcDatabasepublic void setConnection(DatabaseConnection conn)
setConnection in interface DatabasesetConnection in class PostgresDatabasepublic boolean useSerialDatatypes()
PostgresDatabaseuseSerialDatatypes in class PostgresDatabaseCopyright © 2022 Liquibase.org. All rights reserved.