Class AvgAggFunction.DoubleAvgAggFunction
- java.lang.Object
-
- org.apache.flink.table.functions.UserDefinedFunction
-
- org.apache.flink.table.functions.DeclarativeAggregateFunction
-
- org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction
-
- org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction.DoubleAvgAggFunction
-
- All Implemented Interfaces:
Serializable
,FunctionDefinition
- Enclosing class:
- AvgAggFunction
public static class AvgAggFunction.DoubleAvgAggFunction extends AvgAggFunction
Built-in Double Avg aggregate function.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction
AvgAggFunction.ByteAvgAggFunction, AvgAggFunction.DecimalAvgAggFunction, AvgAggFunction.DoubleAvgAggFunction, AvgAggFunction.FloatAvgAggFunction, AvgAggFunction.IntAvgAggFunction, AvgAggFunction.LongAvgAggFunction, AvgAggFunction.ShortAvgAggFunction
-
-
Constructor Summary
Constructors Constructor Description DoubleAvgAggFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
getResultType()
The result type of the function.DataType
getSumType()
Expression[]
initialValuesExpressions()
Expressions for initializing empty aggregation buffers.-
Methods inherited from class org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction
accumulateExpressions, adjustedMinus, adjustedPlus, aggBufferAttributes, getAggBufferTypes, getValueExpression, mergeExpressions, operandCount, retractExpressions
-
Methods inherited from class org.apache.flink.table.functions.DeclarativeAggregateFunction
getKind, getTypeInference, mergeOperand, mergeOperands, operand, operands
-
Methods inherited from class org.apache.flink.table.functions.UserDefinedFunction
close, functionIdentifier, open, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.flink.table.functions.FunctionDefinition
getRequirements, isDeterministic, supportsConstantFolding
-
-
-
-
Method Detail
-
getResultType
public DataType getResultType()
Description copied from class:DeclarativeAggregateFunction
The result type of the function.- Specified by:
getResultType
in classDeclarativeAggregateFunction
-
getSumType
public DataType getSumType()
- Specified by:
getSumType
in classAvgAggFunction
-
initialValuesExpressions
public Expression[] initialValuesExpressions()
Description copied from class:DeclarativeAggregateFunction
Expressions for initializing empty aggregation buffers.- Overrides:
initialValuesExpressions
in classAvgAggFunction
-
-