Date: Fri, 29 Mar 2024 14:39:48 +0100 (CET) Message-ID: <347036993.163.1711719588066@vmisdata19.uni-oldenburg.de> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_162_857542277.1711719588065" ------=_Part_162_857542277.1711719588065 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This operator can be used to route the elements in the stream to= different further processing operators, depending on the predicate. The el= ements for which no predicate evaluates to true are send to the last + 1 ou= tput port.
predicates
: A list of predicatesoverlappingPredicates
: If set to true, all predicates are =
evaluated and for each predicate evaluated to true, the element will be sen=
d. Default is false and will only send the element when the first element e=
valuates to true.sendingHeartbeats
: If an element is routed to an outp=
ut, heartbeats will be send to all other outputs. Default is false.output = =3D route({predicates=3D['price < 200', 'price < 300', 'price < 40= 0']}, input) /// elements with price < 200 are in 0:output /// elements with price < 300 are in 1:output /// elements with price < 400 are in 2:output /// All other elements are in 3:output