Class SumWithRetractAggFunction.DecimalSumWithRetractAggFunction
java.lang.Object
org.apache.flink.table.functions.UserDefinedFunction
org.apache.flink.table.functions.DeclarativeAggregateFunction
org.apache.flink.table.planner.functions.aggfunctions.SumWithRetractAggFunction
org.apache.flink.table.planner.functions.aggfunctions.SumWithRetractAggFunction.DecimalSumWithRetractAggFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.table.functions.FunctionDefinition
- Enclosing class:
- SumWithRetractAggFunction
public static class SumWithRetractAggFunction.DecimalSumWithRetractAggFunction
extends SumWithRetractAggFunction
Built-in Decimal Sum with retract aggregate function.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.table.planner.functions.aggfunctions.SumWithRetractAggFunction
SumWithRetractAggFunction.ByteSumWithRetractAggFunction, SumWithRetractAggFunction.DecimalSumWithRetractAggFunction, SumWithRetractAggFunction.DoubleSumWithRetractAggFunction, SumWithRetractAggFunction.FloatSumWithRetractAggFunction, SumWithRetractAggFunction.IntSumWithRetractAggFunction, SumWithRetractAggFunction.LongSumWithRetractAggFunction, SumWithRetractAggFunction.ShortSumWithRetractAggFunction -
Constructor Summary
ConstructorsConstructorDescriptionDecimalSumWithRetractAggFunction(org.apache.flink.table.types.logical.DecimalType decimalType) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.flink.table.expressions.UnresolvedCallExpressionadjustedMinus(org.apache.flink.table.expressions.Expression arg1, org.apache.flink.table.expressions.UnresolvedReferenceExpression arg2) protected org.apache.flink.table.expressions.UnresolvedCallExpressionadjustedPlus(org.apache.flink.table.expressions.UnresolvedReferenceExpression arg1, org.apache.flink.table.expressions.UnresolvedReferenceExpression arg2) org.apache.flink.table.types.DataTypeprotected org.apache.flink.table.expressions.ExpressionMethods inherited from class org.apache.flink.table.planner.functions.aggfunctions.SumWithRetractAggFunction
accumulateExpressions, 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
-
DecimalSumWithRetractAggFunction
public DecimalSumWithRetractAggFunction(org.apache.flink.table.types.logical.DecimalType decimalType)
-
-
Method Details
-
getResultType
public org.apache.flink.table.types.DataType getResultType()- Specified by:
getResultTypein classorg.apache.flink.table.functions.DeclarativeAggregateFunction
-
zeroLiteral
protected org.apache.flink.table.expressions.Expression zeroLiteral()- Specified by:
zeroLiteralin classSumWithRetractAggFunction
-
adjustedPlus
protected org.apache.flink.table.expressions.UnresolvedCallExpression adjustedPlus(org.apache.flink.table.expressions.UnresolvedReferenceExpression arg1, org.apache.flink.table.expressions.UnresolvedReferenceExpression arg2) - Overrides:
adjustedPlusin classSumWithRetractAggFunction
-
adjustedMinus
protected org.apache.flink.table.expressions.UnresolvedCallExpression adjustedMinus(org.apache.flink.table.expressions.Expression arg1, org.apache.flink.table.expressions.UnresolvedReferenceExpression arg2) - Overrides:
adjustedMinusin classSumWithRetractAggFunction
-