|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines methods required to construct Data Definition Language.
Implementations deliver the DDL for a specific RDBMS.
Field Summary | |
static java.lang.String |
NO_DEFINITION_AVAILABLE
|
Method Summary | |
java.util.List |
getCreate(java.lang.Object dataObject)
Create a table that does not currently exist. |
java.lang.String |
getCreateIndex(org.enableit.db.beans.Index index)
Creates DDL for an index. |
java.lang.String |
getFormattedDate(java.lang.String colName,
java.lang.String format)
Returns this RDBMS' implementation of formatted date (including time and datetime). |
java.lang.String |
getGenericDefault(java.lang.String dbmsDefault)
Converts the DBMS specific default string into a generic (Darrt) one. |
java.util.List |
getModify(org.enableit.db.darrt.beans.DiffData diff)
Returns the DDL to create the modification between the reference and targets. |
java.lang.String |
getName()
Return the name of this DDLGenerator. |
java.lang.String |
getSubstring(java.lang.String colName,
int from,
int to)
Returns this RDBMS' implementation of substring. |
Field Detail |
public static final java.lang.String NO_DEFINITION_AVAILABLE
Method Detail |
public java.util.List getCreate(java.lang.Object dataObject)
dataObject
- public java.lang.String getCreateIndex(org.enableit.db.beans.Index index)
index
- to create.public java.util.List getModify(org.enableit.db.darrt.beans.DiffData diff)
diff
-
List
of DDL statements (String
s)public java.lang.String getName()
public java.lang.String getSubstring(java.lang.String colName, int from, int to)
public java.lang.String getFormattedDate(java.lang.String colName, java.lang.String format)
public java.lang.String getGenericDefault(java.lang.String dbmsDefault)
dbmsDefault
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |