Consider a single-argumentexpression that applies averaging on its input expression. Listing 5 shows the CriteriaQuery to select the average balance of all accounts.
考虑一个对输入表达式应用平均值的单参数表达式。
2
Note: the query optimizer considers using a functional index when the index expression is used in a relational expression or as an argument to one of the operator class functions.
注意:当索引表达式被用于关系表达式,或作为某个操作符类函数的参数时,查询优化器将考虑使用函数索引。
3
The regular expressionargument is the routing mechanism.