Filter Class

Represents a WHERE clause in a SOSL or SOQL query.

DataSource

Compound types require child filters. Specifically, the subfilters property can’t be null if the type property is NOT_, AND_, or OR_.

The following are properties for Filter.

  • columnName

    Name of the column that’s being evaluated in a simple comparative type of filter.

  • columnValue

    Value that the filter compares records against in a simple comparative type of filter.

  • subfilters

    List of subfilters for compound filter types, such as NOT_, AND_, and OR_.

  • tableName

    Name of the table whose column is being evaluated in a simple comparative type of filter.

  • type

    Type of filter operation that limits the returned data.

Name of the column that’s being evaluated in a simple comparative type of filter.

public String columnName {get; set;}

Type: String

Value that the filter compares records against in a simple comparative type of filter.

public Object columnValue {get; set;}

Type: Object

List of subfilters for compound filter types, such as NOT_, AND_, and OR_.

public List<DataSource.Filter> subfilters {get; set;}

Type: List<DataSource.Filter>

Name of the table whose column is being evaluated in a simple comparative type of filter.

public String tableName {get; set;}

Type: String

Type of filter operation that limits the returned data.

public DataSource.FilterType type {get; set;}

Type: DataSource.FilterType