hansva commented on issue #8243:
URL: https://github.com/apache/hop/issues/8243#issuecomment-5526654161

   I am not sure if you can test based on code alone or if you need a client?
   I have not changed the filter rows transform, but I have added what you need 
to the java filter transform.
   
   You can now ask a row if a field exists and get values from fields that 
"could" exist 
   
   | Method | returns |
   |---|---|
   | `row.exists("field")` | `true` when the stream has a field with this name |
   |`row.isNull("field")`|`true` when the field is absent, or present with a 
null value |
   |`row.getString("field")`|the value as a String, `null` when the field is 
absent |
   |`row.getInteger("field")`|the value as a Long, `null` when the field is 
absent |
   |`row.getNumber("field")`|the value as a Double, `null` when the field is 
absent |
   |`row.getBigNumber("field")`|the value as a BigDecimal, `null` when the 
field is absent |
   |`row.getDate("field")`|the value as a Date, `null` when the field is absent 
|
   |`row.getBoolean("field")`|the value as a Boolean, `null` when the field is 
absent |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to