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