in
The in match filter returns rows that contain a match of one or more specified values.
Syntax
columnName- the column the filter will search for matching values.valueList- the set of values to match on. This supports:- a comma-separated list of values:
A in X, Y, Z. The filter will returntruefor all rows where the value in columnAis equal toX,Y, orZ. - a java array:
A in X. The filter will returntruefor all rows whereAis equal to at least one element of the java arrayX. - a
java.util.Collection:A in X. The filter will returntruefor all rows whereAis equal to at least one element of the collectionX. - all other types:
A in X. The filter will returntruefor all rows whereAis equal toX.
- a comma-separated list of values:
Examples
The following example returns rows where Color is in a comma-separated list of values.
The following example returns rows where Number is in an array of values.
The following example returns rows where Number is in an array of values or Code is in an array of values.
The following example returns rows where Color is in a collection of values.