@Internal public final class FirstValueWithRetractAggFunction<T> extends InternalAggregateFunction<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) |
getTypeInferencegetAccumulatorType, getResultTypeclose, functionIdentifier, open, toStringpublic FirstValueWithRetractAggFunction(org.apache.flink.table.types.logical.LogicalType valueType)
public org.apache.flink.table.types.DataType[] getInputDataTypes()
getInputDataTypes in class InternalAggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>public org.apache.flink.table.types.DataType getAccumulatorDataType()
getAccumulatorDataType in class InternalAggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>public org.apache.flink.table.types.DataType getOutputDataType()
getOutputDataType in class InternalAggregateFunction<T,FirstValueWithRetractAggFunction.FirstValueWithRetractAccumulator<T>>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–2021 The Apache Software Foundation. All rights reserved.