public abstract class AggregateFcts
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static AggregateFunction | avgFunctionForByteAVG function for byte values (tinyint). | 
| static AggregateFunction | avgFunctionForCounterAVG function for counter column values. | 
| static AggregateFunction | avgFunctionForDecimalThe AVG function for decimal values. | 
| static AggregateFunction | avgFunctionForDoubleAVG function for double values. | 
| static AggregateFunction | avgFunctionForFloatAVG function for float values. | 
| static AggregateFunction | avgFunctionForInt32AVG function for int32 values. | 
| static AggregateFunction | avgFunctionForLongAVG function for long values. | 
| static AggregateFunction | avgFunctionForShortAVG function for for short values (smallint). | 
| static AggregateFunction | avgFunctionForVarintThe AVG function for varint values. | 
| static AggregateFunction | countRowsFunctionThe function used to count the number of rows of a result set. | 
| static AggregateFunction | maxFunctionForCounterMAX function for counter column values. | 
| static AggregateFunction | minFunctionForCounterThe MIN function for counter column values. | 
| static AggregateFunction | sumFunctionForByteThe SUM function for byte values (tinyint). | 
| static AggregateFunction | sumFunctionForCounterThe SUM function for counter column values. | 
| static AggregateFunction | sumFunctionForDecimalThe SUM function for decimal values. | 
| static AggregateFunction | sumFunctionForDoubleThe SUM function for double values. | 
| static AggregateFunction | sumFunctionForFloatThe SUM function for float values. | 
| static AggregateFunction | sumFunctionForInt32The SUM function for int32 values. | 
| static AggregateFunction | sumFunctionForLongThe SUM function for long values. | 
| static AggregateFunction | sumFunctionForShortThe SUM function for short values (smallint). | 
| static AggregateFunction | sumFunctionForVarintThe SUM function for varint values. | 
| Constructor and Description | 
|---|
| AggregateFcts() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.Collection<AggregateFunction> | all() | 
| static AggregateFunction | makeCountFunction(AbstractType<?> inputType)Creates a COUNT function for the specified type. | 
| static AggregateFunction | makeMaxFunction(AbstractType<?> inputType)Creates a MAX function for the specified type. | 
| static AggregateFunction | makeMinFunction(AbstractType<?> inputType)Creates a MIN function for the specified type. | 
public static final AggregateFunction countRowsFunction
public static final AggregateFunction sumFunctionForDecimal
public static final AggregateFunction avgFunctionForDecimal
public static final AggregateFunction sumFunctionForVarint
public static final AggregateFunction avgFunctionForVarint
public static final AggregateFunction sumFunctionForByte
public static final AggregateFunction avgFunctionForByte
public static final AggregateFunction sumFunctionForShort
public static final AggregateFunction avgFunctionForShort
public static final AggregateFunction sumFunctionForInt32
public static final AggregateFunction avgFunctionForInt32
public static final AggregateFunction sumFunctionForLong
public static final AggregateFunction avgFunctionForLong
public static final AggregateFunction sumFunctionForFloat
public static final AggregateFunction avgFunctionForFloat
public static final AggregateFunction sumFunctionForDouble
public static final AggregateFunction avgFunctionForDouble
public static final AggregateFunction sumFunctionForCounter
public static final AggregateFunction avgFunctionForCounter
public static final AggregateFunction minFunctionForCounter
public static final AggregateFunction maxFunctionForCounter
public static java.util.Collection<AggregateFunction> all()
public static AggregateFunction makeMaxFunction(AbstractType<?> inputType)
inputType - the function input and output typepublic static AggregateFunction makeMinFunction(AbstractType<?> inputType)
inputType - the function input and output typepublic static AggregateFunction makeCountFunction(AbstractType<?> inputType)
inputType - the function input typeCopyright © 2018 The Apache Software Foundation