public RowSet findInputRowSetImpl( String from, int fromcopy, String to, int tocopy ) { return super.findInputRowSet( from, fromcopy, to, tocopy ); }
public RowSet findInputRowSetImpl( String sourceStep ) throws KettleStepException { return super.findInputRowSet( sourceStep ); }
/** * Find input row set. * * @param sourceStep the source step * @return the row set * @throws KettleStepException the kettle step exception */ public RowSet findInputRowSet( String sourceStep ) throws KettleStepException { // Check to see that "sourceStep" only runs in a single copy // Otherwise you'll see problems during execution. // StepMeta sourceStepMeta = transMeta.findStep( sourceStep ); if ( sourceStepMeta == null ) { throw new KettleStepException( BaseMessages.getString( PKG, "BaseStep.Exception.SourceStepToReadFromDoesntExist", sourceStep ) ); } if ( sourceStepMeta.getCopies() > 1 ) { throw new KettleStepException( BaseMessages.getString( PKG, "BaseStep.Exception.SourceStepToReadFromCantRunInMultipleCopies", sourceStep, Integer .toString( sourceStepMeta.getCopies() ) ) ); } return findInputRowSet( sourceStep, 0, getStepname(), getCopy() ); }
public StepStreamReader(SimpleExecutionModel model, String srcStepName) throws KettleStepException { this.model = model; this.step = model.getStep(); this.data = model.getData(); rs = step.findInputRowSet(srcStepName); }