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_SYNTAXEND_ESCAPE_CHARACTER_SQUARE_BRACKET, ESCAPE_CHARACTER_BACK_TICK, ESCAPE_CHARACTER_DOUBLE_QUOTE, START_ESCAPE_CHARACTER_SQUARE_BRACKET| 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, postgresVersionLessThanOrEqualequals, getChangeColumnTypeSQL, getChangeColumnTypeStructure, getConstraintNameClipLength, getDropIndexSQL, getDropIndexStructure, getFieldTypeName, getName, getReservedKeywords, hashCode, initialize, isProductNameInPrefixList, productNameMatches, productNamesMatch, registerWithFactory, toString, versionGreaterThanOrEqual, versionGreaterThanOrEqual, versionLessThanOrEqualclone, finalize, getClass, notify, notifyAll, wait, wait, waitenableEscaping, escapeColumnName, getEndEscapeCharacter, getStartEscapeCharacterpublic 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 © 2024 Atlassian. All rights reserved.