FilterOperator Class

Contains information about a filter operator, such as display name and API name.

Reports

The following are methods for FilterOperator. All are instance methods.

  • getLabel()

    Returns the localized display name of the filter operator. Possible values for this name are restricted based on the data type of the column being filtered. 

  • getName()

    Returns the unique API name of the filter operator. Possible values for this name are restricted based on the data type of the column being filtered.  For example multipicklist fields can use the following filter operators: “equals,” “not equal to,” “includes,” and “excludes.” Bucket fields are considered to be of the String type.

Returns the localized display name of the filter operator. Possible values for this name are restricted based on the data type of the column being filtered. 

public String getLabel()

Type: String

Returns the unique API name of the filter operator. Possible values for this name are restricted based on the data type of the column being filtered.  For example multipicklist fields can use the following filter operators: “equals,” “not equal to,” “includes,” and “excludes.” Bucket fields are considered to be of the String type.

public String getName()

Type: String