public class PlatformPostgresqlImpl extends PlatformDefaultImpl
Constructor and Description |
---|
PlatformPostgresqlImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
escapeBackslashes()
Returns whether backslashes must be escaped in string literals.
|
String |
getAutoIncrement() |
boolean |
hasScale(String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute.
|
boolean |
hasSize(String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute.
|
boolean |
usesStandaloneSchema()
Returns whether the database has schema support where a schema
is not tied to a user (oracle) or database (mysql), but can be created
separately.
|
createNotNullBeforeAutoincrement, formatDateTimeString, getDateString, getNullString, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, getTimeString, hasUniqueConstraintSize, quoteAndEscape, setSchemaTypeToSqlTypeMapping
public String getAutoIncrement()
getAutoIncrement
in interface Platform
getAutoIncrement
in class PlatformDefaultImpl
Platform.getAutoIncrement()
public boolean hasScale(String sqlType)
Platform
hasScale
in interface Platform
hasScale
in class PlatformDefaultImpl
sqlType
- the SQL typePlatform.hasScale(String)
public boolean hasSize(String sqlType)
Platform
hasSize
in interface Platform
hasSize
in class PlatformDefaultImpl
sqlType
- the SQL typePlatform.hasSize(String)
protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes
in class PlatformDefaultImpl
public boolean usesStandaloneSchema()
usesStandaloneSchema
in interface Platform
usesStandaloneSchema
in class PlatformDefaultImpl
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.