org.pentaho.di.trans.step
Interface RowListener

All Known Implementing Classes:
RowAdapter, RowStepCollector

public interface RowListener


Method Summary
 void errorRowWrittenEvent(RowMetaInterface rowMeta, Object[] row)
          This method is called when the error handling of a row is writing a row to the error stream.
 void rowReadEvent(RowMetaInterface rowMeta, Object[] row)
          This method is called when a row is read from another step
 void rowWrittenEvent(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

rowReadEvent

void rowReadEvent(RowMetaInterface rowMeta,
                  Object[] row)
                  throws KettleStepException
This method is called when a row is read from another step

Parameters:
rowMeta - the metadata of the row
row - the data of the row
Throws:
KettleStepException - an exception that can be thrown to hard stop the step

rowWrittenEvent

void rowWrittenEvent(RowMetaInterface rowMeta,
                     Object[] row)
                     throws KettleStepException
This method is called when a row is written to another step (even if there is no next step)

Parameters:
rowMeta - the metadata of the row
row - the data of the row
Throws:
KettleStepException - an exception that can be thrown to hard stop the step

errorRowWrittenEvent

void errorRowWrittenEvent(RowMetaInterface rowMeta,
                          Object[] row)
                          throws KettleStepException
This method is called when the error handling of a row is writing a row to the error stream.

Parameters:
rowMeta - the metadata of the row
row - the data of the row
Throws:
KettleStepException - an exception that can be thrown to hard stop the step