@Test public void testLoadRow() throws Exception { data.loadRow( new Object[] { "1", "2" } ); data.execute(); data.loadRow( new Object[] { "3", "4" } ); assertEquals( null, data.fetchResult( "c1" ) ); assertEquals( null, data.fetchResult( "c2" ) ); }
public void loadRow( Object[] r ) { for ( int i = 0; i < columnList.length; i++ ) { columnList[i].setPayload( r[i] ); } resultMap.clear(); }
RulesExecutorData extends BaseStepData implements StepDataInterface { public void loadRow( Object[] r ) { for ( int i = 0; i < columnList.length; i++ ) { columnList[i].setPayload( r[i] ); } resultMap.clear(); } }
RulesExecutorData extends BaseStepData implements StepDataInterface { public void loadRow( Object[] r ) { for ( int i = 0; i < columnList.length; i++ ) { columnList[i].setPayload( r[i] ); } resultMap.clear(); }  }
RulesExecutorData extends BaseStepData implements StepDataInterface { public void loadRow( Object[] r ) { for ( int i = 0; i < columnList.length; i++ ) { columnList[i].setPayload( r[i] ); } resultMap.clear(); }  String getRuleString(); void setRuleString( String ruleString ); String getRuleFilePath(); void setRuleFilePath( String ruleFilePath ); void setOutputRowMeta( RowMetaInterface outputRowMeta ); RowMetaInterface getOutputRowMeta(); void initializeRules(); void initializeColumns( RowMetaInterface inputRowMeta ); void loadRow( Object[] r ); void execute(); Object fetchResult( String columnName ); void shutdown(); }
RulesExecutorData extends BaseStepData implements StepDataInterface { public void loadRow( Object[] r ) { for ( int i = 0; i < columnList.length; i++ ) { columnList[i].setPayload( r[i] ); } resultMap.clear(); }  String getRuleString(); void setRuleString( String ruleString ); String getRuleFilePath(); void setRuleFilePath( String ruleFilePath ); void setOutputRowMeta( RowMetaInterface outputRowMeta ); RowMetaInterface getOutputRowMeta(); void initializeRules(); void initializeColumns( RowMetaInterface inputRowMeta ); void loadRow( Object[] r ); void execute(); Object fetchResult( String columnName ); void shutdown();  }