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

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

public class SelectColumnsStrategy
extends java.lang.Object
implements PropogateStrategy

Propogate Strategy for propogating only selected columns

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

Constructor Summary
SelectColumnsStrategy()
          Default Constructor
SelectColumnsStrategy(java.lang.String[] colsToPropogateArr)
          Instantiate SelectColumnsStrategy with array of columns that need to be propogated during propogation
 
Method Summary
protected  boolean isColumnPresent(Field field)
           
 RowSet propogate(RowSet rs)
          Propagate the specified columns from the row set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectColumnsStrategy

public SelectColumnsStrategy()
Default Constructor


SelectColumnsStrategy

public SelectColumnsStrategy(java.lang.String[] colsToPropogateArr)
Instantiate SelectColumnsStrategy with array of columns that need to be propogated during propogation

Parameters:
excludeColumnArr - Array of columns to be propogated
Method Detail

propogate

public RowSet propogate(RowSet rs)
Propagate the specified columns from the row set

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

isColumnPresent

protected boolean isColumnPresent(Field field)