A FilterCompare is a type of IFilter that performs a value comparison.Namespace: Endeca.Navigation.Analytics
Assembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 188.8.131.52 (184.108.40.20614)
After being created, the FilterCompare object is then set in a Statement object with the HavingFilter or WhereFilter methods.
A FilterCompare can also be used to determine if the value of an Endeca property or dimension is null or non-null.
A typical use of this class is to compare the value of an Endeca property or dimension to a specified literal value. This can be considered as a programmatic equivalent of the SQL HAVING and WHERE clauses. For example, this text-based syntax snippet:
can be expressed programmatically as:
RETURN Reps AS WHERE Region = 'West'
Statement reps = new Statement(); reps.Name = "Reps"; FilterCompare whFilter = new FilterCompare("Region", FilterCompare.EQ, "West"); reps.WhereFilter = whFilter;