Interface IRowHandler
-
public interface IRowHandlerDefines methods used for handling row data within transforms.By default, the implementation used in BaseTransform leverages the logic defined within BaseTransform. (see
BaseTransform)BaseTransform.setRowHandler(IRowHandler)can be used to override this behavior.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Object[]getRow()default Object[]getRowFrom(IRowSet rowSet)voidputError(IRowMeta rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes)voidputRow(IRowMeta rowMeta, Object[] row)default voidputRowTo(IRowMeta rowMeta, Object[] row, IRowSet rowSet)
-
-
-
Field Detail
-
PKG
static final Class<?> PKG
-
-
Method Detail
-
getRow
Object[] getRow() throws HopException
- Throws:
HopException
-
putRow
void putRow(IRowMeta rowMeta, Object[] row) throws HopTransformException
- Throws:
HopTransformException
-
putError
void putError(IRowMeta rowMeta, Object[] row, long nrErrors, String errorDescriptions, String fieldNames, String errorCodes) throws HopTransformException
- Throws:
HopTransformException
-
putRowTo
default void putRowTo(IRowMeta rowMeta, Object[] row, IRowSet rowSet) throws HopTransformException
- Throws:
HopTransformException
-
getRowFrom
default Object[] getRowFrom(IRowSet rowSet) throws HopTransformException
- Throws:
HopTransformException
-
-