public static class AvgAggFunction.DecimalAvgAggFunction extends AvgAggFunction
AvgAggFunction.ByteAvgAggFunction, AvgAggFunction.DecimalAvgAggFunction, AvgAggFunction.DoubleAvgAggFunction, AvgAggFunction.FloatAvgAggFunction, AvgAggFunction.IntAvgAggFunction, AvgAggFunction.LongAvgAggFunction, AvgAggFunction.ShortAvgAggFunction
Constructor and Description |
---|
DecimalAvgAggFunction(DecimalType type) |
Modifier and Type | Method and Description |
---|---|
protected UnresolvedCallExpression |
adjustedMinus(UnresolvedReferenceExpression arg1,
UnresolvedReferenceExpression arg2) |
protected UnresolvedCallExpression |
adjustedPlus(UnresolvedReferenceExpression arg1,
UnresolvedReferenceExpression arg2) |
DataType |
getResultType()
The result type of the function.
|
DataType |
getSumType() |
Expression[] |
initialValuesExpressions()
Expressions for initializing empty aggregation buffers.
|
accumulateExpressions, aggBufferAttributes, getAggBufferTypes, getValueExpression, mergeExpressions, operandCount, retractExpressions
getKind, getTypeInference, mergeOperand, mergeOperands, operand, operands
close, functionIdentifier, open, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRequirements, isDeterministic, supportsConstantFolding
public DecimalAvgAggFunction(DecimalType type)
public DataType getResultType()
DeclarativeAggregateFunction
getResultType
in class DeclarativeAggregateFunction
public DataType getSumType()
getSumType
in class AvgAggFunction
public Expression[] initialValuesExpressions()
DeclarativeAggregateFunction
initialValuesExpressions
in class AvgAggFunction
protected UnresolvedCallExpression adjustedPlus(UnresolvedReferenceExpression arg1, UnresolvedReferenceExpression arg2)
adjustedPlus
in class AvgAggFunction
protected UnresolvedCallExpression adjustedMinus(UnresolvedReferenceExpression arg1, UnresolvedReferenceExpression arg2)
adjustedMinus
in class AvgAggFunction
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.