|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary
|
+--com.solarmetric.rd.kodo.impl.jdbc.schema.dict.InstantDBDictionary
Dictionary for InstantDB database.
| Field Summary |
| Fields inherited from class com.solarmetric.rd.kodo.impl.jdbc.schema.DBDictionary |
CENTI, DECI, MICRO, MILLI, NANO, SEC |
| Constructor Summary | |
InstantDBDictionary()
|
|
| Method Summary | |
java.lang.String[] |
getDropColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
Return a series of SQL statements to drop the given column from its table. |
java.lang.String[] |
getDropForeignKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk)
Return a series of SQL statements to drop the given foreign key from its table. |
java.lang.String[] |
getDropPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
Return a series of SQL statements to drop the given primary key from its table. |
protected java.lang.String |
getForeignKeyConstraintSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk)
InstantDB doesn't support named constraints. |
java.lang.String |
getPlatform()
Return the database platform for this dictionary. |
int |
getPreferredType(int type)
Return the preferred Types type for the given one. |
protected java.lang.String |
getPrimaryKeyConstraintSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
InstantDB doesn't support named constraints. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InstantDBDictionary()
| Method Detail |
public java.lang.String getPlatform()
DBDictionary
getPlatform in class DBDictionarypublic int getPreferredType(int type)
DBDictionaryTypes type for the given one. Returns
the given type by default.
getPreferredType in class DBDictionarypublic java.lang.String[] getDropColumnSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.Column col)
DBDictionaryDBMetaData is checked for support automatically. Returns
ALTER TABLE <table name> DROP COLUMN <col name>
by default.
getDropColumnSQL in class DBDictionarypublic java.lang.String[] getDropPrimaryKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
DBDictionaryALTER TABLE <table name> DROP CONSTRAINT
<pk name> by default.
getDropPrimaryKeySQL in class DBDictionarypublic java.lang.String[] getDropForeignKeySQL(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk)
DBDictionaryALTER TABLE <table name> DROP CONSTRAINT
<fk name> by default.
getDropForeignKeySQL in class DBDictionaryprotected java.lang.String getPrimaryKeyConstraintSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.PrimaryKey pk)
getPrimaryKeyConstraintSQL in class DBDictionaryprotected java.lang.String getForeignKeyConstraintSQL(com.solarmetric.rd.kodo.impl.jdbc.schema.ForeignKey fk)
getForeignKeyConstraintSQL in class DBDictionary
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||