com.informatica.powercenter.sdk.mapfwk.core
Class ExcludedColumnStrategy

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.ExcludedColumnStrategy
All Implemented Interfaces:
PropogateStrategy
Direct Known Subclasses:
ExcludedFieldStrategy

public class ExcludedColumnStrategy
extends java.lang.Object
implements PropogateStrategy

Propogate Strategy for excluding certain columns while propogating

See Also:
DataTypeStrategy, AllColumnsStrategy, FKSelectionStrategy, PatternMatchStrategy, PKSelectionStrategy, SelectColumnsStrategy

Constructor Summary
ExcludedColumnStrategy()
          Default Constructor
ExcludedColumnStrategy(java.lang.String[] excludeColumnArr)
          Instantiate ExcludedColumnStrategy with array of columns that need to be excluded during propogation
 
Method Summary
protected  boolean isNotPresent(Field field)
          Checks if the given field is present in the given column list
 RowSet propogate(RowSet rs)
          Propagate all the columns except the columns specified to be excluded from the row set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcludedColumnStrategy

public ExcludedColumnStrategy(java.lang.String[] excludeColumnArr)
Instantiate ExcludedColumnStrategy with array of columns that need to be excluded during propogation

Parameters:
excludeColumnArr - Array of columns to be excluded

ExcludedColumnStrategy

public ExcludedColumnStrategy()
Default Constructor

Method Detail

propogate

public RowSet propogate(RowSet rs)
Propagate all the columns except the columns specified to be excluded from the row set

Specified by:
propogate in interface PropogateStrategy
Parameters:
rs - row set
Returns:
row set with propogated fields

isNotPresent

protected boolean isNotPresent(Field field)
Checks if the given field is present in the given column list

Parameters:
field -
Returns:
boolean