@Internal public final class LastValueWithRetractAggFunction<T> extends BuiltInAggregateFunction<T,LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T>>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T>
Accumulator for LAST_VALUE with retraction.
|
| 构造器和说明 |
|---|
LastValueWithRetractAggFunction(org.apache.flink.table.types.logical.LogicalType valueType) |
getRequirements, getTypeInference, isDeterministicgetAccumulatorType, getResultTypepublic LastValueWithRetractAggFunction(org.apache.flink.table.types.logical.LogicalType valueType)
public List<org.apache.flink.table.types.DataType> getArgumentDataTypes()
public org.apache.flink.table.types.DataType getAccumulatorDataType()
public org.apache.flink.table.types.DataType getOutputDataType()
public LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> createAccumulator()
createAccumulator 在类中 org.apache.flink.table.functions.ImperativeAggregateFunction<T,LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T>>public void accumulate(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, Object value) throws Exception
Exceptionpublic void accumulate(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, Object value, Long order) throws Exception
Exceptionpublic void accumulate(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, org.apache.flink.table.data.StringData value) throws Exception
Exceptionpublic void accumulate(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, org.apache.flink.table.data.StringData value, Long order) throws Exception
Exceptionpublic void retract(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, Object value) throws Exception
Exceptionpublic void retract(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc, Object value, Long order) throws Exception
Exceptionpublic void resetAccumulator(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc)
public T getValue(LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T> acc)
getValue 在类中 org.apache.flink.table.functions.AggregateFunction<T,LastValueWithRetractAggFunction.LastValueWithRetractAccumulator<T>>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.