public class ListAggFunction extends DeclarativeAggregateFunction
| 构造器和说明 |
|---|
ListAggFunction(int operandCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.types.DataType |
getResultType()
The result type of the function.
|
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.
|
getKind, getTypeInference, mergeOperand, mergeOperands, operand, operandsclose, functionIdentifier, open, toStringpublic int operandCount()
DeclarativeAggregateFunctionoperandCount 在类中 DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.UnresolvedReferenceExpression[] aggBufferAttributes()
DeclarativeAggregateFunctionpublic org.apache.flink.table.types.DataType[] getAggBufferTypes()
DeclarativeAggregateFunctionpublic org.apache.flink.table.types.DataType getResultType()
DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] initialValuesExpressions()
DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] accumulateExpressions()
DeclarativeAggregateFunctionpublic org.apache.flink.table.expressions.Expression[] retractExpressions()
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.public org.apache.flink.table.expressions.Expression getValueExpression()
DeclarativeAggregateFunctionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.