Class TableProducer

  • All Implemented Interfaces:
    org.pentaho.di.trans.step.RowListener

    public class TableProducer
    extends Object
    implements org.pentaho.di.trans.step.RowListener
    • Constructor Detail

      • TableProducer

        public TableProducer​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                             int queryLimit,
                             boolean stopOnError)
    • Method Detail

      • rowWrittenEvent

        public void rowWrittenEvent​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                                    Object[] row)
                             throws org.pentaho.di.core.exception.KettleStepException
        This method is called when a row is written to another step (even if there is no next step)
        Specified by:
        rowWrittenEvent in interface org.pentaho.di.trans.step.RowListener
        Parameters:
        rowMeta - the metadata of the row
        row - the data of the row
        Throws:
        org.pentaho.di.core.exception.KettleStepException - an exception that can be thrown to hard stop the step
      • createTableModel

        protected org.pentaho.reporting.engine.classic.core.util.TypedTableModel createTableModel​(org.pentaho.di.core.row.RowMetaInterface rowMeta)
      • rowReadEvent

        public void rowReadEvent​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                                 Object[] row)
                          throws org.pentaho.di.core.exception.KettleStepException
        This method is called when a row is read from another step
        Specified by:
        rowReadEvent in interface org.pentaho.di.trans.step.RowListener
        Parameters:
        rowMeta - the metadata of the row
        row - the data of the row
        Throws:
        org.pentaho.di.core.exception.KettleStepException - an exception that can be thrown to hard stop the step
      • errorRowWrittenEvent

        public void errorRowWrittenEvent​(org.pentaho.di.core.row.RowMetaInterface rowMeta,
                                         Object[] row)
                                  throws org.pentaho.di.core.exception.KettleStepException
        This method is called when the error handling of a row is writing a row to the error stream.
        Specified by:
        errorRowWrittenEvent in interface org.pentaho.di.trans.step.RowListener
        Parameters:
        rowMeta - the metadata of the row
        row - the data of the row
        Throws:
        org.pentaho.di.core.exception.KettleStepException - an exception that can be thrown to hard stop the step
      • getTableModel

        public TableModel getTableModel()
                                 throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
        Throws:
        org.pentaho.reporting.engine.classic.core.ReportDataFactoryException