Klasse PlatformPostgresqlImpl
java.lang.Object
org.apache.torque.templates.platform.PlatformDefaultImpl
org.apache.torque.templates.platform.PlatformPostgresqlImpl
- Alle implementierten Schnittstellen:
Platform
Postgresql Platform implementation.
- Version:
- $Id: PlatformPostgresqlImpl.java 1917240 2024-04-21 13:22:54Z tv $
- Autor:
- Martin Poeschl
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected booleanReturns whether backslashes must be escaped in string literals.booleanReturns if the RDBMS-specific SQL type has a scale attribute.booleanReturns if the RDBMS-specific SQL type has a size attribute.booleanReturns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.Von Klasse geerbte Methoden org.apache.torque.templates.platform.PlatformDefaultImpl
createNotNullBeforeAutoincrement, formatDateTimeString, getDateString, getNullString, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, getTimeString, hasUniqueConstraintSize, quoteAndEscape, setSchemaTypeToSqlTypeMapping
-
Konstruktordetails
-
PlatformPostgresqlImpl
public PlatformPostgresqlImpl()Default constructor.
-
-
Methodendetails
-
getAutoIncrement
- Angegeben von:
getAutoIncrementin SchnittstellePlatform- Setzt außer Kraft:
getAutoIncrementin KlassePlatformDefaultImpl- Gibt zurück:
- The RDBMS-specific SQL fragment for autoincrement.
- Siehe auch:
-
hasScale
Beschreibung aus Schnittstelle kopiert:PlatformReturns if the RDBMS-specific SQL type has a scale attribute.- Angegeben von:
hasScalein SchnittstellePlatform- Setzt außer Kraft:
hasScalein KlassePlatformDefaultImpl- Parameter:
sqlType- the SQL type- Gibt zurück:
- true if the type has a scale attribute
- Siehe auch:
-
hasSize
Beschreibung aus Schnittstelle kopiert:PlatformReturns if the RDBMS-specific SQL type has a size attribute.- Angegeben von:
hasSizein SchnittstellePlatform- Setzt außer Kraft:
hasSizein KlassePlatformDefaultImpl- Parameter:
sqlType- the SQL type- Gibt zurück:
- true if the type has a size attribute
- Siehe auch:
-
escapeBackslashes
protected boolean escapeBackslashes()Beschreibung aus Klasse kopiert:PlatformDefaultImplReturns whether backslashes must be escaped in string literals.- Setzt außer Kraft:
escapeBackslashesin KlassePlatformDefaultImpl- Gibt zurück:
- true if backslashes bust be escaped, false otherwise.
-
usesStandaloneSchema
public 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.- Angegeben von:
usesStandaloneSchemain SchnittstellePlatform- Setzt außer Kraft:
usesStandaloneSchemain KlassePlatformDefaultImpl- Gibt zurück:
- this implementation returns true.
-