org.pentaho.di.trans.steps.rules
Class RulesData
java.lang.Object
org.pentaho.di.trans.step.BaseStepData
org.pentaho.di.trans.steps.rules.RulesData
- All Implemented Interfaces:
- StepDataInterface
public class RulesData
- extends BaseStepData
- implements StepDataInterface
This Transformation Step allows a user to execute a rule set against
an individual rule or a collection of rules.
Additional columns can be added to the output from the rules and these
(of course) can be used for routing if desired.
- Author:
- cboyden
RulesData
public RulesData()
getRuleString
public String getRuleString()
setRuleString
public void setRuleString(String ruleString)
getRuleFilePath
public String getRuleFilePath()
setRuleFilePath
public void setRuleFilePath(String ruleFilePath)
setOutputRowMeta
public void setOutputRowMeta(RowMetaInterface outputRowMeta)
getOutputRowMeta
public RowMetaInterface getOutputRowMeta()
initializeRules
public void initializeRules()
initializeColumns
public void initializeColumns(RowMetaInterface inputRowMeta)
loadRow
public void loadRow(Object[] r)
execute
public void execute()
fetchResult
public Object fetchResult(String columnName)
- Parameters:
columnName
- Column.payload associated with the result, or null if not found
- Returns:
shutdown
public void shutdown()