FilterOperator Class

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

Namespace

Reports

FilterOperator Methods

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.

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. 

Syntax

public String getLabel()

Return Value

Type: String

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.

Syntax

public String getName()

Return Value

Type: String