@Internal public final class FirstValueWithRetractAggFunction<T> extends BuiltInAggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>
| Modifier and Type | Class and Description |
|---|---|
static class |
FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>
Accumulator for FIRST_VALUE.
|
| Constructor and Description |
|---|
FirstValueWithRetractAggFunction(org.apache.flink.table.types.logical.LogicalType valueType) |
getRequirements, getTypeInference, isDeterministicgetAccumulatorType, getResultTypepublic FirstValueWithRetractAggFunction(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 FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> createAccumulator()
createAccumulator in class org.apache.flink.table.functions.ImperativeAggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>public void accumulate(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, Object value) throws Exception
Exceptionpublic void accumulate(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, Object value, Long order) throws Exception
Exceptionpublic void accumulate(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, org.apache.flink.table.data.StringData value) throws Exception
Exceptionpublic void accumulate(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, org.apache.flink.table.data.StringData value, Long order) throws Exception
Exceptionpublic void retract(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, Object value) throws Exception
Exceptionpublic void retract(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc, Object value, Long order) throws Exception
Exceptionpublic void resetAccumulator(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc)
public T getValue(FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T> acc)
getValue in class org.apache.flink.table.functions.AggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.