Filters

Bo Ferri edited this page Oct 9, 2015 · 1 revision
Clone this wiki locally

Filters

Currently, a Filter can be defined at Job level (as skip filter) or per Mapping Input at a Mapping. Each filter expression at a certain Attribute Path can be of a certain type, e.g., a regular expression or numeric filter.

Filter Expression Types

Currently, 4 filter expression types are available (i.e. the method how the filter expression (string) should be interpreted at processing time).

Regular Expressions

The filter expression should be a valid regular expression, i.e. following the regular expression syntax of Java 8 (see here).

Numeric Filters

A Numeric must consist of a quantifier and a number. Following quantifiers are possible:

  • < smaller than: the value x must be smaller than the value y, e.g. "< 5"
  • > greater than: the value x must be greater than the value y, e.g. "> 1"
  • == equals: the value x must be equal to the value y, e.g. "== 3"
  • <= smaller than or equals: the value x must be smaller than or equals to the value y, e.g. "<= 2"
  • >= greater than or equals: the value x must be greater than or equals to the value y, e.g. ">= 0"

Equals

The value must exactly match the filter expression.

Not-Equals

The value cannot match the filter expression at all.