id: org.apache.streampipes.processors.transformation.jvm.transform-to-boolean title: Transform to boolean sidebar_label: Transform to boolean


Description

This processors transforms numbers and strings to boolean values.


Required input

A string with the values “true”, “True”, “false”, “False” or a number with value 1.0, 1, 0, or 0.0


Configuration

Select fields that should be converted to boolean.

Output

Selected properties of input events are transformed to booleans. When the value is not valid an error message is logged and the event is discarde.