Package edu.caltech.nanodb.functions
Class Avg
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Avg extends SumAvgAggregate
Implementation of the AVG(x) SQL aggregate function, computes the average of its inputs. Returns NULL if no inputs are non-NULL.
-
-
Field Summary
-
Fields inherited from class edu.caltech.nanodb.functions.SumAvgAggregate
set
-
-
Constructor Summary
Constructors Constructor Description Avg()
-
Method Summary
-
Methods inherited from class edu.caltech.nanodb.functions.SumAvgAggregate
addValue, clearResult, getResult, getReturnType
-
Methods inherited from class edu.caltech.nanodb.functions.AggregateFunction
supportsDistinct
-
-