Package | Description |
---|---|
oracle.javatools.db.ddl |
API for generating DDL in the database API.
|
Modifier and Type | Class and Description |
---|---|
class |
BundleDDLGenerator<T extends DDLType>
TokenDDLGenerator subclass that uses either a set of Properties files or
ResourceBundles with specially formatted keys to automatically register DDL
for generation.
|
class |
DDL<T extends DDLType>
Class that repsents single, or multiple, statements of DDL to be executed
against a database connection.
|
interface |
DDLGenerator<T extends DDLType>
A DDLGenerator takes a set of objects, or differences between objects, and
returns CREATE, DROP or ALTER statements that can be run against the database
to perform operations on the underlying definitions.
|
class |
DDLType<T extends DDLType>
This class must be extended for each DDLGenerator implementation that
corresponds to a database type.
|
class |
TokenDDLGenerator<T extends DDLType>
TokenDDLGenerator is DDLGenerator implementation that takes the registration
of "ddl code tokens" and registers
CreateDDLGenerator ,
DropDDLGenerator and AlterDDLGenerator with the superclass
as appropriate. |
Modifier and Type | Method and Description |
---|---|
protected DDL |
TokenDDLGenerator.createDDL(DDLOptions options,
java.lang.String code,
DBObject obj,
DDLType ddlType)
Creates a new DDL object with the given ddlCode by processing the given
code using a TokenProcessor and using the resulting String as the DDL
string.
|
protected DDL |
TokenDDLGenerator.createUpdateDDL(DDLOptions options,
java.lang.String code,
Difference rs,
DDLType ddlType)
Creates a new update DDL object with the given ddlCode by processing the
given update code using a TokenProcessor and using the resulting String as
the DDL string.
|
void |
TokenDDLGenerator.registerAlterDDL(java.lang.String type,
java.lang.String code,
DDLType ddlType) |
void |
TokenDDLGenerator.registerCreateDDL(java.lang.String type,
java.lang.String code,
DDLType ddlType) |
void |
TokenDDLGenerator.registerDropDDL(java.lang.String type,
java.lang.String code,
DDLType ddlType) |
void |
TokenDDLGenerator.registerUndeleteDDL(java.lang.String type,
java.lang.String code,
DDLType ddlType) |