not in

The not in match filter returns rows that do not contain a match of one or more specified values.

Syntax

  • columnName - the column the filter will search for non-matching values.
  • valueList - the set of values to remove. This supports:
    • a comma-separated list of values: A not in X, Y, Z. The filter will return true for all rows where the value in column A is not equal to X, Y, and Z.
    • a java array: A not in X. The filter will return true for all rows where A is not equal to every element of the java array X.
    • a java.util.Collection: A not in X. The filter will return true for all rows where A is not equal to every element of the collection X.
    • all other types: A not in X. The filter will return true for all rows where A is not equal to X.

Examples

The following example returns rows where Color is not in the comma-separated list of values.

The following example returns rows where Number is not in an array of values.

The following example returns rows where Number is not in an array of values or Code is in an array of values.

The following example returns rows where Color is not in a collection of values.