@Internal public final class CollectAggFunction<T> extends BuiltInAggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CollectAggFunction.CollectAccumulator<T>
Accumulator for COLLECT.
|
| 构造器和说明 |
|---|
CollectAggFunction(org.apache.flink.table.types.logical.LogicalType elementType) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accumulate(CollectAggFunction.CollectAccumulator<T> accumulator,
T value) |
CollectAggFunction.CollectAccumulator<T> |
createAccumulator() |
org.apache.flink.table.types.DataType |
getAccumulatorDataType() |
List<org.apache.flink.table.types.DataType> |
getArgumentDataTypes() |
org.apache.flink.table.types.DataType |
getOutputDataType() |
org.apache.flink.table.data.MapData |
getValue(CollectAggFunction.CollectAccumulator<T> accumulator) |
void |
merge(CollectAggFunction.CollectAccumulator<T> accumulator,
Iterable<CollectAggFunction.CollectAccumulator<T>> others) |
void |
resetAccumulator(CollectAggFunction.CollectAccumulator<T> accumulator) |
void |
retract(CollectAggFunction.CollectAccumulator<T> accumulator,
T value) |
getRequirements, getTypeInference, isDeterministicgetAccumulatorType, getResultTypeclose, functionIdentifier, open, toStringpublic CollectAggFunction(org.apache.flink.table.types.logical.LogicalType elementType)
public List<org.apache.flink.table.types.DataType> getArgumentDataTypes()
getArgumentDataTypes 在类中 BuiltInAggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>public org.apache.flink.table.types.DataType getAccumulatorDataType()
getAccumulatorDataType 在类中 BuiltInAggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>public org.apache.flink.table.types.DataType getOutputDataType()
getOutputDataType 在类中 BuiltInAggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>public CollectAggFunction.CollectAccumulator<T> createAccumulator()
createAccumulator 在类中 org.apache.flink.table.functions.ImperativeAggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>public void resetAccumulator(CollectAggFunction.CollectAccumulator<T> accumulator)
public void accumulate(CollectAggFunction.CollectAccumulator<T> accumulator, T value) throws Exception
Exceptionpublic void retract(CollectAggFunction.CollectAccumulator<T> accumulator, T value) throws Exception
Exceptionpublic void merge(CollectAggFunction.CollectAccumulator<T> accumulator, Iterable<CollectAggFunction.CollectAccumulator<T>> others) throws Exception
Exceptionpublic org.apache.flink.table.data.MapData getValue(CollectAggFunction.CollectAccumulator<T> accumulator)
getValue 在类中 org.apache.flink.table.functions.AggregateFunction<org.apache.flink.table.data.MapData,CollectAggFunction.CollectAccumulator<T>>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.