Class SingleThreadedPipelineExecutor


  • public class SingleThreadedPipelineExecutor
    extends Object
    • Constructor Detail

      • SingleThreadedPipelineExecutor

        public SingleThreadedPipelineExecutor​(Pipeline pipeline)
      • SingleThreadedPipelineExecutor

        public SingleThreadedPipelineExecutor​(Pipeline pipeline,
                                              boolean handleExceptionsExternally)
    • Method Detail

      • initializeObject

        public void initializeObject​(Pipeline pipeline,
                                     boolean handleExceptionsExternally)
      • oneIteration

        public boolean oneIteration()
                             throws HopException
        Give all transforms in the pipeline the chance to process all rows on input...
        Returns:
        true if more iterations can be performed. False if this is not the case.
        Throws:
        HopException
      • buildExecutionSummary

        public void buildExecutionSummary()
      • getTotalRows

        protected int getTotalRows​(List<IRowSet> rowSets)
      • getErrors

        public long getErrors()
      • getResult

        public Result getResult()
      • isStopped

        public boolean isStopped()
      • getPipeline

        public Pipeline getPipeline()
      • clearError

        public void clearError()
        Clear the error in the pipeline, clear all the rows from all the row sets...