org.plasma.text.ddl
Interface DDLFactory
- All Known Implementing Classes:
- MySQLFactory, OracleFactory
public interface DDLFactory
|
Method Summary |
java.lang.String |
createCheckConstraint(Schema schema,
Table table,
Check check)
|
java.lang.String |
createForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable)
|
java.lang.String |
createIndex(Schema schema,
Table table,
Index index)
|
java.lang.String |
createSequence(Schema schema,
Table table)
|
java.lang.String |
createTable(Schema schema,
Table table)
|
java.lang.String |
createUniqueConstraint(Schema schema,
Table table,
Unique unique)
|
java.lang.String |
dropCheckConstraint(Schema schema,
Table table,
Check check)
|
java.lang.String |
dropForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable)
|
java.lang.String |
dropIndex(Schema schema,
Table table,
Index index)
|
java.lang.String |
dropSequence(Schema schema,
Table table)
|
java.lang.String |
dropTable(Schema schema,
Table table)
|
java.lang.String |
dropUniqueConstraint(Schema schema,
Table table,
Unique unique)
|
java.lang.String |
enableCheckConstraint(Schema schema,
Table table,
Check check,
boolean enable)
|
java.lang.String |
enableForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable,
boolean enable)
|
java.lang.String |
enableUniqueConstraint(Schema schema,
Table table,
Unique unique,
boolean enable)
|
java.lang.String |
getType(Table table,
Column column)
|
java.lang.String |
truncateTable(Schema schema,
Table table)
|
getType
java.lang.String getType(Table table,
Column column)
createTable
java.lang.String createTable(Schema schema,
Table table)
dropTable
java.lang.String dropTable(Schema schema,
Table table)
truncateTable
java.lang.String truncateTable(Schema schema,
Table table)
createSequence
java.lang.String createSequence(Schema schema,
Table table)
dropSequence
java.lang.String dropSequence(Schema schema,
Table table)
createIndex
java.lang.String createIndex(Schema schema,
Table table,
Index index)
dropIndex
java.lang.String dropIndex(Schema schema,
Table table,
Index index)
createCheckConstraint
java.lang.String createCheckConstraint(Schema schema,
Table table,
Check check)
dropCheckConstraint
java.lang.String dropCheckConstraint(Schema schema,
Table table,
Check check)
enableCheckConstraint
java.lang.String enableCheckConstraint(Schema schema,
Table table,
Check check,
boolean enable)
createUniqueConstraint
java.lang.String createUniqueConstraint(Schema schema,
Table table,
Unique unique)
dropUniqueConstraint
java.lang.String dropUniqueConstraint(Schema schema,
Table table,
Unique unique)
enableUniqueConstraint
java.lang.String enableUniqueConstraint(Schema schema,
Table table,
Unique unique,
boolean enable)
createForeignKeyConstraint
java.lang.String createForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable)
dropForeignKeyConstraint
java.lang.String dropForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable)
enableForeignKeyConstraint
java.lang.String enableForeignKeyConstraint(Schema schema,
Table table,
Fk fk,
Table toTable,
boolean enable)
Copyright © 2013. All Rights Reserved.