|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.interfaces.interactive.support.actions.InterfaceActionAddLookup
public class InterfaceActionAddLookup
InterfaceActionAddLookup is an interface action class used to create lookup of a data source in an interface data set. Alternately a lookup from another interface result can be specified. The data source or interface that will be the lookup source is specified explicitly. The lookup condition is similar to a join condition. It should it should specify a lookup condition relationship between an existing data source in the interface and the lookup source. For example, if the one interface source has alias "EMP_ALIAS" and the lookup source has an alist "DEPT_ALIAS", then the passed-in SQL lookup string might be "EMP_ALIAS.DEPTNO = DEPT_ALIAS.DEPTNO".
The lookup that is created is owned by the DataSet
object that is passed in to the constructor. The existing interface data source specified in the lookup condition must be in the same data set.
If the auto-fix manager is set up for the InteractiveInterfaceHelperWithActions
helper, it is possible that the execution location of the lookup may be automatically changed, even if it has been explicitly set in the constructor.
InteractiveInterfaceHelperWithActions
Nested Class Summary | |
---|---|
class |
InterfaceActionAddLookup.MyClauseImporter An inner class that implements the <@link IClauseImporter> interface. |
Constructor Summary | |
---|---|
InterfaceActionAddLookup(DataSet pDataSet, OdiDataStore pOdiDataStore, java.lang.String pAlias, java.lang.String pLookupSql, OdiInterface.ExecutionLocation pExecutionLocation, boolean pSelectLookup) A constructor to create the lookup creation action, to do a lookup of rows from a data source. |
|
InterfaceActionAddLookup(DataSet pDataSet, OdiInterface pOdiInterface, java.lang.String pAlias, java.lang.String pLookupSql, OdiInterface.ExecutionLocation pExecutionLocation, boolean pSelectLookup) A constructor to create the lookup creation action, to do a lookup of rows from another interface result. |
Method Summary | |
---|---|
void |
performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper) Action that is performed on the ODI interface objects. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InterfaceActionAddLookup(DataSet pDataSet, OdiDataStore pOdiDataStore, java.lang.String pAlias, java.lang.String pLookupSql, OdiInterface.ExecutionLocation pExecutionLocation, boolean pSelectLookup)
pDataSet
- The data set that contains the lookup driver data source and will contain the lookup object.pOdiDataStore
- The OdiDataStore
object to be looked up.pAlias
- The alias to be used for the lookup table.pLookupSql
- The SQL lookup condition string.pExecutionLocation
- The location where the lookup will be executed.pSelectLookup
- If true, creates a select lookup which translates to a data source and an ordinary join. Otherwise an outer join is used.public InterfaceActionAddLookup(DataSet pDataSet, OdiInterface pOdiInterface, java.lang.String pAlias, java.lang.String pLookupSql, OdiInterface.ExecutionLocation pExecutionLocation, boolean pSelectLookup)
pDataSet
- The data set that contains the lookup driver data source and will contain the lookup object.pOdiInterface
- The other interface whose result will act as the lookup source.pAlias
- The alias to be used for the lookup table.pLookupSql
- The SQL lookup condition string. The string specifies the lookuppExecutionLocation
- The location where the lookup will be executed.pSelectLookup
- If true, creates a select lookup which translates to a data source and an ordinary join. Otherwise an outer join is used.Method Detail |
---|
public void performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper)
IInterfaceAction
performAction
in interface IInterfaceAction
pInterfaceActionListener
- the interface action listener instancepInterfaceUndoListener
- the interface undo listener instancepActionHelper
- the action helper instance
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |