getInRowType
Returns the input type of the current row in the transformation. The method returns a value of insert, update, delete, or reject.
Use the following syntax:
rowType getInRowType();
The following table describes the parameter:
Parameter | Parameter Type | Datatype | Description |
---|
rowType | Output | String | Returns the update strategy type, which is one of the following values: - - DELETE
- - INSERT
- - REJECT
- - UPDATE
|
You can add the getInRowType method to the Java code on the On Input code entry tab.
You can use the getInRowType method in active transformations configured to set the update strategy. If you call this method in an active transformation that is not configured to set the update strategy, the Data Integration Service generates an error.