Mapping comparison operators: ComparisonOpMapper elementThe ComparisonOpMapper element is used for customizing the mappings of the comparison operators listed in Table 11-4. The table also shows the default template for each operator.
Comparison operator Operand data types Default template <INTEGER>, <INTEGER>
<DECIMAL>, <DECIMAL><DOUBLE>, <DOUBLE>
<VARCHAR>, <VARCHAR><TIMESTAMP>, <TIMESTAMP> Use EQ as the FunctionName for =. Use GT as the FunctionName for >. Use LT as the FunctionName for <. Use GE as the FunctionName for >=. Use LE as the FunctionName for <=. Use NE as the FunctionName for <>.You change the mapping of the <> operator for VARCHAR because on your database the comparison operator for strings is an exclamation point followed by an equals sign (!=). You use NE as the FunctionName:
|
|
Copyright Actuate Corporation 2012 |