public class TableProducer extends Object implements org.pentaho.di.trans.step.RowListener
Constructor and Description |
---|
TableProducer(org.pentaho.di.core.row.RowMetaInterface rowMeta,
int queryLimit,
boolean stopOnError) |
Modifier and Type | Method and Description |
---|---|
void |
errorRowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
This method is called when the error handling of a row is writing a row to the error stream.
|
TableModel |
getTableModel() |
void |
rowReadEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
This method is called when a row is read from another step
|
void |
rowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta,
Object[] row)
This method is called when a row is written to another step (even if there is no next step)
|
public TableProducer(org.pentaho.di.core.row.RowMetaInterface rowMeta, int queryLimit, boolean stopOnError)
public void rowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row) throws org.pentaho.di.core.exception.KettleStepException
rowWrittenEvent
in interface org.pentaho.di.trans.step.RowListener
rowMeta
- the metadata of the rowrow
- the data of the roworg.pentaho.di.core.exception.KettleStepException
- an exception that can be thrown to hard stop the steppublic void rowReadEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row) throws org.pentaho.di.core.exception.KettleStepException
rowReadEvent
in interface org.pentaho.di.trans.step.RowListener
rowMeta
- the metadata of the rowrow
- the data of the roworg.pentaho.di.core.exception.KettleStepException
- an exception that can be thrown to hard stop the steppublic void errorRowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface rowMeta, Object[] row) throws org.pentaho.di.core.exception.KettleStepException
errorRowWrittenEvent
in interface org.pentaho.di.trans.step.RowListener
rowMeta
- the metadata of the rowrow
- the data of the roworg.pentaho.di.core.exception.KettleStepException
- an exception that can be thrown to hard stop the steppublic TableModel getTableModel() throws org.pentaho.reporting.engine.classic.core.ReportDataFactoryException
org.pentaho.reporting.engine.classic.core.ReportDataFactoryException