Skip navigation links

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

E17060-03


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

java.lang.Object
  extended by oracle.odi.interfaces.interactive.support.actions.InterfaceActionAddFilter

All Implemented Interfaces:
IInterfaceAction

public class InterfaceActionAddFilter
extends java.lang.Object
implements IInterfaceAction

InterfaceActionAddFilter is an interface action class used to create create a filter on a data source in an ODI interface data set. The source data store that is being filtered is specified in the SQL expression string. An alias must be used to specifiy the data source. An example filter string would be "EMP_ALIAS.EMPID > 100". This would filter the rows from a source with alias "EMP_ALIAS", and only allow processing for those with an EMPID column value greater than 100.

The filter that is created is owned by the DataSet object that is passed in to the constructor. The filtered source data store 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 filter may be automatically changed, even if it has been explicitly set in the constructor.

Since:
11.1.1.3.0
See Also:
InteractiveInterfaceHelperWithActions

Constructor Summary
InterfaceActionAddFilter(DataSet pDataSet, java.lang.String pSql, OdiInterface.ExecutionLocation pExecutionLocation)
          Constructor to create an action class instance which will create a filter on a data 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

InterfaceActionAddFilter

public InterfaceActionAddFilter(DataSet pDataSet,
                                java.lang.String pSql,
                                OdiInterface.ExecutionLocation pExecutionLocation)
Constructor to create an action class instance which will create a filter on a data sources in an interface, when performAction is called. This constructor should be called directly to create the action class instance, then the instance should be passed to an InteractiveInterfaceHelperWithActions instance performAction method call in order to perform the create.
Parameters:
pDataSet - A reference to the interface data set that contains both sources.
pSql - The SQL join condition.
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

Skip navigation links

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

E17060-03


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