Creates new between comparison filter.
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
C# |
---|
public static RangeFilter CreateComparisonRangeFilter( string attributeName, RangeFilterOperator rangeOperator, double bound1 ) |
Visual Basic (Declaration) |
---|
Public Shared Function CreateComparisonRangeFilter ( _ attributeName As String, _ rangeOperator As RangeFilterOperator, _ bound1 As Double _ ) As RangeFilter |
Visual C++ |
---|
public: static RangeFilter^ CreateComparisonRangeFilter( String^ attributeName, RangeFilterOperator rangeOperator, double bound1 ) |
Parameters
- attributeName
- Type: System..::.String
The attribute (i.e. property or dimension) that this filter acts upon.
- rangeOperator
- Type: Endeca.Data..::.RangeFilterOperator
describes the comparison operation for this filter.
- bound1
- Type: System..::.Double
The bound for the comparison operation.
Remarks
This filter will include records for which the value of the (integer or floating-point valued)
record attribute identified by the attributeName parameter, is greater
than, greater than or equal, less than, or less than or equal to the value specified by
the bound1 parameter.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | if attributeName is null or empty, or if rangeOperator is not one of LessThan, LessThanOrEqual, GreaterThan, or GreaterThanOrEqual |