public static class SumWithRetractAggFunction.DecimalSumWithRetractAggFunction extends SumWithRetractAggFunction
SumWithRetractAggFunction.ByteSumWithRetractAggFunction, SumWithRetractAggFunction.DecimalSumWithRetractAggFunction, SumWithRetractAggFunction.DoubleSumWithRetractAggFunction, SumWithRetractAggFunction.FloatSumWithRetractAggFunction, SumWithRetractAggFunction.IntSumWithRetractAggFunction, SumWithRetractAggFunction.LongSumWithRetractAggFunction, SumWithRetractAggFunction.ShortSumWithRetractAggFunction
Constructor and Description |
---|
DecimalSumWithRetractAggFunction(DecimalType decimalType) |
Modifier and Type | Method and Description |
---|---|
protected UnresolvedCallExpression |
adjustedMinus(Expression arg1,
UnresolvedReferenceExpression arg2) |
protected UnresolvedCallExpression |
adjustedPlus(UnresolvedReferenceExpression arg1,
UnresolvedReferenceExpression arg2) |
DataType |
getResultType()
The result type of the function.
|
protected Expression |
zeroLiteral() |
accumulateExpressions, aggBufferAttributes, getAggBufferTypes, getValueExpression, initialValuesExpressions, 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
public DecimalSumWithRetractAggFunction(DecimalType decimalType)
public DataType getResultType()
DeclarativeAggregateFunction
getResultType
in class DeclarativeAggregateFunction
protected Expression zeroLiteral()
zeroLiteral
in class SumWithRetractAggFunction
protected UnresolvedCallExpression adjustedPlus(UnresolvedReferenceExpression arg1, UnresolvedReferenceExpression arg2)
adjustedPlus
in class SumWithRetractAggFunction
protected UnresolvedCallExpression adjustedMinus(Expression arg1, UnresolvedReferenceExpression arg2)
adjustedMinus
in class SumWithRetractAggFunction
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.