public class PostgresDatabaseType extends AbstractPostgresDatabaseType
ALTER_TABLE_DROP_INDEX, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_ALTER_COLUMN, CHANGE_COLUMN_TYPE_CLAUSE_STRUCTURE_STANDARD_MODIFY, DROP_INDEX_SCHEMA_DOT_INDEX, DROP_INDEX_SCHEMA_DOT_TABLE_DOT_INDEX, STANDARD_SELECT_FOR_UPDATE_SYNTAXSTANDARD_SELECT_SYNTAX| Modifier | Constructor and Description |
|---|---|
protected |
PostgresDatabaseType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSchemaName(Connection con)
Returns the name of the connected schema.
|
boolean |
matchesConnection(Connection con)
Checks whether the connection object passed in matches the database type represented
by this instance of the DatabaseType class.
|
getPostgresVersion, getSimpleSelectSqlSyntax, parseVersionStr, postgresVersionGreaterThanOrEqual, postgresVersionLessThanOrEqualgetChangeColumnTypeSQL, getChangeColumnTypeStructure, getConstraintNameClipLength, getDropIndexSQL, getDropIndexStructure, getFieldTypeName, getName, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualpublic boolean matchesConnection(Connection con) throws SQLException
AbstractDatabaseTypematchesConnection in interface DatabaseTypematchesConnection in class AbstractDatabaseTypeSQLExceptionpublic String getSchemaName(Connection con)
DatabaseTypegetSchemaName in interface DatabaseTypegetSchemaName in class AbstractPostgresDatabaseTypecon - the connection for which to return the schemaCopyright © 2018 Atlassian. All rights reserved.