Class Avg

All Implemented Interfaces:
Serializable, Cloneable, AggregateOperator, GraphPatternGroupable, QueryModelNode, ValueExpr, VariableScopeChange

public class Avg extends AbstractAggregateOperator
The AVG operator as defined in http://www.w3.org/TR/sparql11-query/#aggregates.

Note that we introduce AVG as a first-class object into the algebra, despite it being defined as a compound of other operators (namely, SUM and COUNT). This allows us to more easily optimize evaluation.

Author:
Jeen Broekstra
See Also: