|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.engine.platform.PlatformDefaultImpl
org.apache.torque.engine.platform.PlatformPostgresqlImpl
public class PlatformPostgresqlImpl
Postgresql Platform implementation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.torque.engine.platform.Platform |
|---|
IDENTITY, SEQUENCE |
| Constructor Summary | |
|---|---|
PlatformPostgresqlImpl()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAutoIncrement()
|
java.lang.String |
getNativeIdMethod()
Returns the native IdMethod (sequence|identity) |
boolean |
hasScale(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a scale attribute. |
boolean |
hasSize(java.lang.String sqlType)
Returns if the RDBMS-specific SQL type has a size attribute. |
| Methods inherited from class org.apache.torque.engine.platform.PlatformDefaultImpl |
|---|
createNotNullBeforeAutoincrement, getDomainForSchemaType, getMaxColumnNameLength, getNullString, setSchemaDomainMapping |
| 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 java.lang.String getNativeIdMethod()
Platform
getNativeIdMethod in interface PlatformgetNativeIdMethod in class PlatformDefaultImplPlatform.getNativeIdMethod()public java.lang.String getAutoIncrement()
getAutoIncrement in interface PlatformgetAutoIncrement in class PlatformDefaultImplPlatform.getAutoIncrement()public boolean hasScale(java.lang.String sqlType)
Platform
hasScale in interface PlatformhasScale in class PlatformDefaultImplsqlType - the SQL type
TODO collect info for all platformspublic boolean hasSize(java.lang.String sqlType)
Platform
hasSize in interface PlatformhasSize in class PlatformDefaultImplsqlType - the SQL type
TODO collect info for all platforms
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||