Class AvgAggFunction.LongAvgAggFunction
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.LongAvgAggFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- AvgAggFunction
Built-in Long Avg aggregate function.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.types.DataTypeorg.apache.flink.table.types.DataTypeMethods inherited from class org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction
accumulateExpressions, adjustedMinus, adjustedPlus, aggBufferAttributes, getAggBufferTypes, getValueExpression, initialValuesExpressions, mergeExpressions, operandCount, retractExpressionsMethods inherited from class org.apache.flink.table.functions.DeclarativeAggregateFunction
getKind, getTypeInference, mergeOperand, mergeOperands, operand, operandsMethods inherited from class org.apache.flink.table.functions.UserDefinedFunction
close, functionIdentifier, open, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.flink.table.functions.FunctionDefinition
getRequirements, isDeterministic, supportsConstantFolding
-
Constructor Details
-
LongAvgAggFunction
public LongAvgAggFunction()
-
-
Method Details
-
getResultType
public org.apache.flink.table.types.DataType getResultType()- Specified by:
getResultTypein classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-
getSumType
public org.apache.flink.table.types.DataType getSumType()- Specified by:
getSumTypein classAvgAggFunction
-