Package edu.caltech.nanodb.functions
Class AvgDistinct
- java.lang.Object
-
- edu.caltech.nanodb.functions.Function
-
- edu.caltech.nanodb.functions.ScalarFunction
-
- edu.caltech.nanodb.functions.AggregateFunction
-
- edu.caltech.nanodb.functions.SumAvgAggregate
-
- edu.caltech.nanodb.functions.AvgDistinct
-
- All Implemented Interfaces:
java.lang.Cloneable
public class AvgDistinct extends SumAvgAggregate
Implementation of the AVG(DISTINCT 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 AvgDistinct()
-
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
-
-