|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.templates.platform.PlatformDefaultImpl
org.apache.torque.templates.platform.PlatformPostgresqlImpl
public class PlatformPostgresqlImpl
Postgresql Platform implementation.
| Constructor Summary | |
|---|---|
PlatformPostgresqlImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.torque.templates.platform.PlatformDefaultImpl |
|---|
createNotNullBeforeAutoincrement, getDateString, getNullString, getSizeSuffix, getSqlTypeForSchemaType, getTimestampString, getTimeString, quoteAndEscape, setSchemaTypeToSqlTypeMapping |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlatformPostgresqlImpl()
| Method Detail |
|---|
public String getAutoIncrement()
getAutoIncrement in interface PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()public boolean hasScale(String sqlType)
Platform
hasScale in interface PlatformhasScale in class PlatformDefaultImplsqlType - the SQL type
Platform.hasScale(String)public boolean hasSize(String sqlType)
Platform
hasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL type
Platform.hasSize(String)protected boolean escapeBackslashes()
PlatformDefaultImpl
escapeBackslashes in class PlatformDefaultImplpublic boolean usesStandaloneSchema()
usesStandaloneSchema in interface PlatformusesStandaloneSchema in class PlatformDefaultImpl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||