Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

oracle.odi.interfaces.interactive.support.actions
Class InterfaceActionAddCrossJoin

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.actions.InterfaceActionAddCrossJoin
All Implemented Interfaces:
IInterfaceAction

public class InterfaceActionAddCrossJoin
extends java.lang.Object
implements IInterfaceAction

InterfaceActionAddCrossJoin is an interface action class used to create create a join between two sources in an ODI interface data set. A cross join has no join condition and thus creates a cartesian product between the join sources. The two SourceDataStore objects are explicitly specified in the constructor.

The join that is created is owned by the DataSet object that is associated with the first passsed-in SourceDataStore. All sources that are joined must belong to the same data set. To change the properties of the join, for example to set the relationship between two of the join sources to be an outer join, use the InterfaceActionOnJoinSetJoinProperties class.

If the auto-fix manager is set up for the InteractiveInterfaceHelperWithActions helper, it is possible that the execution location of the join may be automatically changed, even if it has been explicitly set in the constructor.

The same join object should be used to join any number columns between 2 sources, using the "AND" SQL keyword to combine the join condition predicates.

Since:
11.1.1.3.0
See Also:
InteractiveInterfaceHelperWithActions

Constructor Summary
InterfaceActionAddCrossJoin(SourceDataStore pSourceDataStore1, SourceDataStore pSourceDataStore2, OdiInterface.ExecutionLocation pExecutionLocation)
          Constructor to create an action class instance which will create a cross join between two sources in an interface, when performAction is called.
 
Method Summary
 void performAction(IInterfaceActionListener pInterfaceActionListener, IInterfaceUndoListener pInterfaceUndoListener, IActionHelper pActionHelper)
          For internal use only.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceActionAddCrossJoin

public InterfaceActionAddCrossJoin(SourceDataStore pSourceDataStore1,
                                   SourceDataStore pSourceDataStore2,
                                   OdiInterface.ExecutionLocation pExecutionLocation)
Constructor to create an action class instance which will create a cross join between two sources in an interface, when performAction is called.

Parameters:
pSourceDataStore1 - A reference to the SourceDataStore object representing the first joined source data store.
pSourceDataStore2 - A reference to the SourceDataStore object representing the second joined source data store.
pExecutionLocation - The location where the join will be executed.
Method Detail

performAction

public void performAction(IInterfaceActionListener pInterfaceActionListener,
                          IInterfaceUndoListener pInterfaceUndoListener,
                          IActionHelper pActionHelper)
For internal use only.

Specified by:
performAction in interface IInterfaceAction
Parameters:
pInterfaceActionListener - the interface action listener instance
pInterfaceUndoListener - the interface undo listener instance
pActionHelper - the action helper instance

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.3.0)

E17060-01

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.