Class TableProducer
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.datasources.kettle.TableProducer
-
- All Implemented Interfaces:
org.pentaho.di.trans.step.RowListener
public class TableProducer extends Object implements org.pentaho.di.trans.step.RowListener
-
-
Constructor Summary
Constructors Constructor Description TableProducer(org.pentaho.di.core.row.RowMetaInterface rowMeta, int queryLimit, boolean stopOnError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.pentaho.reporting.engine.classic.core.util.TypedTableModel
createTableModel(org.pentaho.di.core.row.RowMetaInterface rowMeta)
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 stepvoid
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)
-
-
-
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 interfaceorg.pentaho.di.trans.step.RowListener
- Parameters:
rowMeta
- the metadata of the rowrow
- 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 interfaceorg.pentaho.di.trans.step.RowListener
- Parameters:
rowMeta
- the metadata of the rowrow
- 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 interfaceorg.pentaho.di.trans.step.RowListener
- Parameters:
rowMeta
- the metadata of the rowrow
- 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
-
-