|
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.Objectoracle.odi.domain.project.OdiInterface.TargetDataStore
public class OdiInterface.TargetDataStore
Represents the target datastore of the interface, which may be either a temporary datastore or an underlying existing OdiDataStore defined in an OdiModel.
It is located on an OdiLogicalSchema, which is either deduced from the underlying OdiDataStore or either shared with the Staging Area for a temporary datastore.
It contains TargetColumns which are either the mirror of existing OdiColumns from the underlying OdiDataStore, or either temporary target columns. Both are represented by the class TargetColumn.
It has an update key, which is either taken from one of the underlying datastore's OdiReferences, either set using a TemporaryTargetUpdateKey.
It references a CKM, which is used at runtime to check the data that is sent to the target.
It references an IKM, which is used to actually integrate the data from the sources into the target datastore.
| Method Summary | |
|---|---|
void |
addColumn(TargetColumn pTargetColumn)
For internal use only Adds a new target column to this target datastore. |
void |
changeToTemporary()
For internal use only Switches the datastore to a temporary datastore. |
void |
clearColumns()
For internal use only On a temporary datastore only, deletes all target columns of the datastore. |
OdiCKM |
getCKM()
Returns the Control Knowledge module associated to this OdiInterface.TargetDataStore instance. |
java.util.List<IOptionValue> |
getCKMOptions()
Returns the list of options of the Control Knowledge module. |
TargetColumn |
getColumn(java.lang.String pColumnName)
Obtains the column matching the given name. |
java.util.List<TargetColumn> |
getColumns()
Obtains the columns owned by this data store. |
OdiInterface.DatabaseSchema |
getDatabaseSchema()
Returns the DatabaseSchema (user schema, temporary schema, or existing schema) on which this temporary target datastore is located. |
OdiInterface.CheckableFlowConstraint[] |
getFlowConstraints()
Returns a list of checkable flow constraints for the target datastore. |
OdiContext |
getForcedTargetContext()
Returns the forced target context on the target datastore. |
OdiIKM |
getIKM()
Returns the Integration Knowledge module associated to this OdiInterface.TargetDataStore instance. |
java.util.List<IOptionValue> |
getIKMOptions()
Returns the list of options of the Integration knowledge module. |
java.lang.Number |
getInstanceId()
|
java.io.Serializable |
getInternalId()
The internal ID of this sub component. Returning null from this method will indicate the object has never been persisted in the repository. |
java.lang.String |
getKeyName()
Returns the name of the update key of the target datastore. |
java.util.Collection<TemporaryTargetUpdateKey> |
getKeys()
This method in inherited from IDataStore, but is not relevant in
this context, especially if the target datastore is a temporary
datastore. |
OdiLogicalSchema |
getLogicalSchema()
Returns the logical schema of the target datastore. |
java.lang.Integer |
getMaxIntegrationErrors()
Returns the maximum integration errors allowed for this target datastore. |
java.lang.String |
getName()
Obtains the name of this data store. |
OdiInterface |
getOdiInterface()
Returns the parent interface owning this target datastore. |
OdiPartition |
getPartition()
Returns the selected partition of this target datastore. |
java.lang.String |
getSubComponentDescription()
Returns the sub component's description in a human-readable way. |
java.lang.String |
getSubComponentDescription(java.util.Locale pLocale)
Returns the sub component's description in a human-readable way for the given Locale. |
OdiDataStore |
getUnderlyingOdiDataStore()
Returns the underlying real data store for the target of this interface. |
IKey |
getUnderlyingUpdateKey()
Returns the underlying update key. |
boolean |
isInstanceLevelSecurityNeeded()
Internal: this method is for internal purpose and must not be considered as part of the public API. |
boolean |
isMaxIntegrationErrorsAsPercentage()
Returns whether the maximum integration errors allowed for this target datastore is defined as a percentage. |
boolean |
isTemporaryDataStore()
Returns whether the target datastore is temporary. |
void |
populatePersistedColumns()
For internal use only Populates internal persistence objects from target columns. |
void |
removeColumn(TargetColumn pTargetColumn)
For internal use only Removes an existing target column from this target datastore. |
void |
renameColumn(java.lang.String pOldName,
java.lang.String pNewName)
For internal use only Rename a target column. |
void |
setCKM(OdiCKM pOdiCKM)
For internal use only Sets the Control Knowledge module associated to this OdiInterface.TargetDataStore instance. |
void |
setDatabaseSchema(OdiInterface.DatabaseSchema pDatabaseSchema)
For internal use only Set the DatabaseSchema which this temporary target datastore is located. |
void |
setForcedTargetContext(OdiContext pForcedTargetContext)
For internal use only Set the forced target context for this target datastore. |
void |
setIKM(OdiIKM pOdiIKM)
For internal use only Sets the Integration Knowledge module associated to this OdiInterface.TargetDataStore instance. |
void |
setMaxIntegrationErrors(java.lang.Integer pMaxIntegrationErrors)
For internal use only Sets the maximum integration errors allowed for this target datastore. |
void |
setMaxIntegrationErrorsAsPercentage(boolean pMaxIntegrationErrorsAsPercentage)
For internal use only Sets the flag to indicate that maximum integration errors allowed for this target datastore is defined as a percentage. |
void |
setName(java.lang.String pTableName)
For internal use only Sets the name of the target datastore if it is a temporary datastore. |
void |
setPartition(OdiPartition pPartition)
For internal use only Sets the partition of this target datastore. |
void |
setUnderlyingOdiDataStore(OdiDataStore pRealTarget,
java.util.List<TargetColumn> pTargetColumns)
For internal use only Sets the underlying datastore and resets the list of columns with pTargetColumns.Resets the key name, sets the correct logical schema on the staging area if it's on the target. To modify an OdiInterface object or its children, please refer to the description of the class. |
void |
setUpdateKey(IKey<? extends IColumn> pKey)
For internal use only Sets the update key of the target datastore. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addColumn(TargetColumn pTargetColumn)
OdiInterface object or its children, please refer to the description of the class.
pTargetColumn - The target column to be added.public void changeToTemporary()
OdiInterface object or its children, please refer to the description of the class.
public void clearColumns()
OdiInterface object or its children, please refer to the description of the class.
public OdiCKM getCKM()
OdiInterface.TargetDataStore instance.
OdiCKM,
setCKM(OdiCKM)public java.util.List<IOptionValue> getCKMOptions()
OdiCKM,
IOptionValue
public TargetColumn getColumn(java.lang.String pColumnName)
throws ColumnNotFoundException
getColumn in interface IDataStore<TargetColumn,TemporaryTargetUpdateKey>pColumnName - the name of the column to retrieve
ColumnNotFoundException - if no column was found for the
specified nameIDataStore.getColumn(java.lang.String)public java.util.List<TargetColumn> getColumns()
getColumns in interface IDataStore<TargetColumn,TemporaryTargetUpdateKey>IDataStore.getColumns()public OdiInterface.DatabaseSchema getDatabaseSchema()
OdiInterface.DatabaseSchema,
setDatabaseSchema(oracle.odi.domain.project.OdiInterface.DatabaseSchema)public OdiInterface.CheckableFlowConstraint[] getFlowConstraints()
public OdiContext getForcedTargetContext()
null otherwise.setForcedTargetContext(OdiContext)public OdiIKM getIKM()
OdiInterface.TargetDataStore instance.
OdiIKM,
setIKM(OdiIKM)public java.util.List<IOptionValue> getIKMOptions()
OdiIKM,
IOptionValuepublic java.lang.Number getInstanceId()
getInstanceId in interface oracle.odi.domain.procusage.IProcedureUserpublic java.io.Serializable getInternalId()
IInterfaceSubComponentnull from this method will indicate the object has never been persisted in the repository.
getInternalId in interface IInterfaceSubComponentIInterfaceSubComponent.getInternalId()public java.lang.String getKeyName()
public java.util.Collection<TemporaryTargetUpdateKey> getKeys()
IDataStore, but is not relevant in
this context, especially if the target datastore is a temporary
datastore. Therefore this method always returns null
and is not implemented.
getKeys in interface IDataStore<TargetColumn,TemporaryTargetUpdateKey>null.public OdiLogicalSchema getLogicalSchema()
public java.lang.Integer getMaxIntegrationErrors()
setMaxIntegrationErrors(Integer)public java.lang.String getName()
IDataStore
getName in interface IDataStore<TargetColumn,TemporaryTargetUpdateKey>setName(String)public OdiInterface getOdiInterface()
OdiInterface for which this is the target datastore.public OdiPartition getPartition()
setPartition(OdiPartition)public java.lang.String getSubComponentDescription()
IInterfaceSubComponent
getSubComponentDescription in interface IInterfaceSubComponentpublic java.lang.String getSubComponentDescription(java.util.Locale pLocale)
IInterfaceSubComponent
getSubComponentDescription in interface IInterfaceSubComponentpLocale - the Locale for which the description should be returned
public OdiDataStore getUnderlyingOdiDataStore()
OdiDataStore that will be used as the target if it is a real datastore, null otherwisesetUnderlyingOdiDataStore(OdiDataStore, List)public IKey getUnderlyingUpdateKey()
null if no such key is defined.public boolean isInstanceLevelSecurityNeeded()
Defines a method to capture the info on which object needs instance level privilege.
true if instance level security needed,
false otherwisepublic boolean isMaxIntegrationErrorsAsPercentage()
true, getMaxIntegrationErrors() returns a percentage rather than an absolute valuegetMaxIntegrationErrors(),
setMaxIntegrationErrorsAsPercentage(boolean)public boolean isTemporaryDataStore()
true if the target datastore is a temporary datastore, false otherwisepublic void populatePersistedColumns()
public void removeColumn(TargetColumn pTargetColumn)
OdiInterface object or its children, please refer to the description of the class.
pTargetColumn - the target column to be removed
public void renameColumn(java.lang.String pOldName,
java.lang.String pNewName)
OdiInterface object or its children, please refer to the description of the class.
pOldName - the column name we want to renamepNewName - the new name for this columnpublic void setCKM(OdiCKM pOdiCKM)
OdiInterface.TargetDataStore instance.
To modify an OdiInterface object or its children, please refer to the description of the class.
pOdiCKM - the new CKM to setOdiCKM,
getCKM()public void setDatabaseSchema(OdiInterface.DatabaseSchema pDatabaseSchema)
OdiInterface object or its children, please refer to the description of the class.
pDatabaseSchema - new value for Database SchemagetDatabaseSchema()public void setForcedTargetContext(OdiContext pForcedTargetContext)
OdiInterface object or its children, please refer to the description of the class.
pForcedTargetContext - the new forced target contextgetForcedTargetContext()public void setIKM(OdiIKM pOdiIKM)
OdiInterface.TargetDataStore instance.
To modify an OdiInterface object or its children, please refer to the description of the class.
pOdiIKM - the new IKM to be setOdiIKM,
getIKM()public void setMaxIntegrationErrors(java.lang.Integer pMaxIntegrationErrors)
OdiInterface object or its children, please refer to the description of the class.
pMaxIntegrationErrors - new value for MaxIntegrationErrorsgetMaxIntegrationErrors()public void setMaxIntegrationErrorsAsPercentage(boolean pMaxIntegrationErrorsAsPercentage)
OdiInterface object or its children, please refer to the description of the class.
pMaxIntegrationErrorsAsPercentage - new value for MaxIntegrationErrorsAsPercentageisMaxIntegrationErrorsAsPercentage()public void setName(java.lang.String pTableName)
OdiInterface object or its children, please refer to the description of the class.
pTableName - the new table name for the target datastoregetName()public void setPartition(OdiPartition pPartition)
OdiInterface object or its children, please refer to the description of the class.
pPartition - new PartitiongetPartition()
public void setUnderlyingOdiDataStore(OdiDataStore pRealTarget,
java.util.List<TargetColumn> pTargetColumns)
pTargetColumns.OdiInterface object or its children, please refer to the description of the class.
pRealTarget - the real OdiDataStore which is to replace the current onepTargetColumns - along with their mappings, and the caller must make sure that the mappings are attached to the right source tables etc.getUnderlyingOdiDataStore()
public void setUpdateKey(IKey<? extends IColumn> pKey)
throws ColumnNotFoundException
OdiInterface object or its children, please refer to the description of the class.
pKey - a new update key
ColumnNotFoundException - if pKey refers to a column name for which no column was found in the target datastore
|
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 | ||||||||