Class AvgAggFunction.ShortAvgAggFunction
- 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.ShortAvgAggFunction
-
- All Implemented Interfaces:
Serializable
,FunctionDefinition
- Enclosing class:
- AvgAggFunction
public static class AvgAggFunction.ShortAvgAggFunction extends AvgAggFunction
Built-in Short 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 ShortAvgAggFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataType
getResultType()
The result type of the function.DataType
getSumType()
-
Methods inherited from class org.apache.flink.table.planner.functions.aggfunctions.AvgAggFunction
accumulateExpressions, adjustedMinus, adjustedPlus, aggBufferAttributes, getAggBufferTypes, getValueExpression, initialValuesExpressions, 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
-
-