Predicate

This partitioning function partitions data according to a list of PredicateGroup.

An element belongs to a partition if the corresponding predicate is true.

See Also
Operators
Expression Language
Defining and Managing Data Queries
Parameter Description
groups The list of PredicateGroup. For example, person.age < 20, person.age > 60
matchingPolicy Specifies how to manage elements matching several predicates. If "FIRST_ONLY", only the first partition matching the element will get it. Otherwise, the elements can be in several partitions. Default: "FIRST_ONLY".