public abstract class IncrSumWithRetractAggFunction extends DeclarativeAggregateFunction
| Modifier and Type | Class and Description |
|---|---|
static class |
IncrSumWithRetractAggFunction.ByteIncrSumWithRetractAggFunction
Built-in Byte IncrSum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.DecimalIncrSumWithRetractAggFunction
Built-in Decimal IncrSum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.DoubleIncrSumWithRetractAggFunction
Built-in Double IncrSum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.FloatIncrSumWithRetractAggFunction
Built-in Float IncrSum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.IntIncrSumWithRetractAggFunction
Built-in IncrInt Sum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.LongIncrSumWithRetractAggFunction
Built-in Long IncrSum with retract aggregate function.
|
static class |
IncrSumWithRetractAggFunction.ShortIncrSumWithRetractAggFunction
Built-in Short IncrSum with retract aggregate function.
|
| Constructor and Description |
|---|
IncrSumWithRetractAggFunction() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.expressions.Expression[] |
accumulateExpressions()
Expressions for accumulating the mutable aggregation buffer based on an input row.
|
org.apache.flink.table.expressions.UnresolvedReferenceExpression[] |
aggBufferAttributes()
All fields of the aggregate buffer.
|
org.apache.flink.table.types.DataType[] |
getAggBufferTypes()
All types of the aggregate buffer.
|
org.apache.flink.table.expressions.Expression |
getValueExpression()
An expression which returns the final value for this aggregate function.
|
org.apache.flink.table.expressions.Expression[] |
initialValuesExpressions()
Expressions for initializing empty aggregation buffers.
|
org.apache.flink.table.expressions.Expression[] |
mergeExpressions()
A sequence of expressions for merging two aggregation buffers together.
|
int |
operandCount()
How many operands your function will deal with.
|
org.apache.flink.table.expressions.Expression[] |
retractExpressions()
Expressions for retracting the mutable aggregation buffer based on an input row.
|
protected abstract org.apache.flink.table.expressions.Expression |
zeroLiteral() |
getKind, getResultType, getTypeInference, mergeOperand, mergeOperands, operand, operandsclose, functionIdentifier, open, toStringpublic int operandCount()
DeclarativeAggregateFunctionoperandCount in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.UnresolvedReferenceExpression[] aggBufferAttributes()
DeclarativeAggregateFunctionaggBufferAttributes in class DeclarativeAggregateFunctionpublic org.apache.flink.table.types.DataType[] getAggBufferTypes()
DeclarativeAggregateFunctiongetAggBufferTypes in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] initialValuesExpressions()
DeclarativeAggregateFunctioninitialValuesExpressions in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] accumulateExpressions()
DeclarativeAggregateFunctionaccumulateExpressions in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] retractExpressions()
DeclarativeAggregateFunctionretractExpressions in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] mergeExpressions()
DeclarativeAggregateFunctionattributeName and mergeOperand(attributeName) to refer to the attributes corresponding to each of the buffers
being merged.mergeExpressions in class DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression getValueExpression()
DeclarativeAggregateFunctiongetValueExpression in class DeclarativeAggregateFunctionprotected abstract org.apache.flink.table.expressions.Expression zeroLiteral()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.