|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.odi.generation.support.DDLGeneratorServiceImpl
public final class DDLGeneratorServiceImpl
Default IDDLGeneratorService
implementation.
Constructor Summary | |
---|---|
DDLGeneratorServiceImpl(OdiInstance pOdiInstance)
Construct a DDLGenerationServiceImpl to use as a IDDLGeneratorService for the DDL generation service. |
Method Summary | |
---|---|
DDLDifferences |
computeDDLDifferences(java.lang.Number pOdiModelId,
java.lang.String pOdiContextCode,
boolean pProcessTablesOutsideOfModel)
Computes a DDLDifferences object for a given ODI Model ID. |
java.lang.Number |
generateProcedure(java.lang.String pProcedureName,
java.lang.Number pOdiActionGroupId,
java.lang.Number pOdiFolderId,
DDLDifferences pDDLDifferences)
Invokes the DDL generator service to create a procedure with all DDL statements that match the list of differences defined in the pDifferences parameter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DDLGeneratorServiceImpl(OdiInstance pOdiInstance)
IDDLGeneratorService
for the DDL generation service.
pOdiInstance
- to use for service.Method Detail |
---|
public DDLDifferences computeDDLDifferences(java.lang.Number pOdiModelId, java.lang.String pOdiContextCode, boolean pProcessTablesOutsideOfModel)
IDDLGeneratorService
Computes a DDLDifferences
object for a given ODI Model ID.
Note that the differences are calculated between the saved repository model
and the database. Changes applied to the model that are not saved will not be
used to calculate the differences.
computeDDLDifferences
in interface IDDLGeneratorService
pOdiModelId
- Existing ODI Model IDpOdiContextCode
- Context Code for existing OdiContext used to access the tables in a schema.pProcessTablesOutsideOfModel
- Indicator to ask the generator if it needs to compare all tables of
the schema with the tables of the ODI Model or limit only to the
tables already defined in the ODI model.
public java.lang.Number generateProcedure(java.lang.String pProcedureName, java.lang.Number pOdiActionGroupId, java.lang.Number pOdiFolderId, DDLDifferences pDDLDifferences)
IDDLGeneratorService
Invokes the DDL generator service to create a procedure with all DDL
statements that match the list of differences defined in the
pDifferences
parameter.
generateProcedure
in interface IDDLGeneratorService
pProcedureName
- Name of the procedure that the generator will create.pOdiActionGroupId
- ID of the ODI Action Group to use. When set to null
, it
will use the Generic Action Group as defined in ODI Topology.pOdiFolderId
- Destination Folder ID in which the procedure will be created.pDDLDifferences
- the DDLDifferences
object as obtained initially from
computeDDLDifferences()
and eventually modified with
setToGenerate(true)
on some of the DDLDiff
differences.
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.3.0) E17060-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |