public class AggAvg extends AggregatorBase
| Modifier and Type | Method and Description |
|---|---|
Aggregator |
copy(Expr expr) |
Accumulator |
createAccumulator()
Create an accumulator for this aggregator
|
boolean |
equals(Object other) |
Expr |
getExpr()
Get the expression - may be null (e.g COUNT(*)) ;
|
Node |
getValueEmpty()
Value if there are no elements in any group : return null for no result
|
int |
hashCode() |
String |
toPrefixString() |
String |
toString() |
copyTransform, getValue, keypublic AggAvg(Expr expr)
public Aggregator copy(Expr expr)
public String toString()
toString in class AggregatorBasepublic String toPrefixString()
toPrefixString in interface AggregatortoPrefixString in class AggregatorBasepublic Accumulator createAccumulator()
AggregatorcreateAccumulator in interface AggregatorcreateAccumulator in class AggregatorBasepublic final Expr getExpr()
Aggregatorpublic Node getValueEmpty()
AggregatorgetValueEmpty in interface AggregatorgetValueEmpty in class AggregatorBasepublic int hashCode()
hashCode in interface AggregatorhashCode in class AggregatorBasepublic boolean equals(Object other)
equals in interface Aggregatorequals in class AggregatorBaseLicenced under the Apache License, Version 2.0