Interface IRowListener
-
- All Known Implementing Classes:
RowAdapter
public interface IRowListenerIRowListener is a listener interface for receiving row events. A class that is interested in processing a row event implements this interface, and the object created with that class is registered with a component using the component'saddRowListener
method. When the row event occurs, that object's appropriate method is invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderrorRowWrittenEvent(IRowMeta rowMeta, Object[] row)This method is called when the error handling of a row is writing a row to the error stream.voidrowReadEvent(IRowMeta rowMeta, Object[] row)This method is called when a row is read from another transformvoidrowWrittenEvent(IRowMeta rowMeta, Object[] row)This method is called when a row is written to another transform (even if there is no next transform)
-
-
-
Method Detail
-
rowReadEvent
void rowReadEvent(IRowMeta rowMeta, Object[] row) throws HopTransformException
This method is called when a row is read from another transform- Parameters:
rowMeta- the metadata of the rowrow- the data of the row- Throws:
HopTransformException- an exception that can be thrown to hard stop the transform
-
rowWrittenEvent
void rowWrittenEvent(IRowMeta rowMeta, Object[] row) throws HopTransformException
This method is called when a row is written to another transform (even if there is no next transform)- Parameters:
rowMeta- the metadata of the rowrow- the data of the row- Throws:
HopTransformException- an exception that can be thrown to hard stop the transform
-
errorRowWrittenEvent
void errorRowWrittenEvent(IRowMeta rowMeta, Object[] row) throws HopTransformException
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 rowrow- the data of the row- Throws:
HopTransformException- an exception that can be thrown to hard stop the transform
-
-