org.pentaho.di.trans.step
Class RowAdapter

java.lang.Object
  extended by org.pentaho.di.trans.step.RowAdapter
All Implemented Interfaces:
RowListener

public class RowAdapter
extends Object
implements RowListener

RowAdapter is an adapter class for receiving row events. The methods in this class are empty. This class exists as convenience for creating row listener objects that may not need to implement all the methods of the RowListener interface

See Also:
RowListener

Constructor Summary
RowAdapter()
          Instantiates a new row adapter.
 
Method Summary
 void errorRowWrittenEvent(RowMetaInterface rowMeta, Object[] row)
          Empty method implementing the RowListener.errorRowWrittenEvent interface method
 void rowReadEvent(RowMetaInterface rowMeta, Object[] row)
          Empty method implementing the RowListener.rowReadEvent interface method
 void rowWrittenEvent(RowMetaInterface rowMeta, Object[] row)
          Empty method implementing the RowListener.rowWrittenEvent interface method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowAdapter

public RowAdapter()
Instantiates a new row adapter.

Method Detail

errorRowWrittenEvent

public void errorRowWrittenEvent(RowMetaInterface rowMeta,
                                 Object[] row)
                          throws KettleStepException
Empty method implementing the RowListener.errorRowWrittenEvent interface method

Specified by:
errorRowWrittenEvent in interface RowListener
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
See Also:
RowListener.errorRowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface, java.lang.Object[])

rowReadEvent

public void rowReadEvent(RowMetaInterface rowMeta,
                         Object[] row)
                  throws KettleStepException
Empty method implementing the RowListener.rowReadEvent interface method

Specified by:
rowReadEvent in interface RowListener
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
See Also:
RowListener.rowReadEvent(org.pentaho.di.core.row.RowMetaInterface, java.lang.Object[])

rowWrittenEvent

public void rowWrittenEvent(RowMetaInterface rowMeta,
                            Object[] row)
                     throws KettleStepException
Empty method implementing the RowListener.rowWrittenEvent interface method

Specified by:
rowWrittenEvent in interface RowListener
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
See Also:
RowListener.rowWrittenEvent(org.pentaho.di.core.row.RowMetaInterface, java.lang.Object[])