public static class LastValueWithRetractAggFunction.LongLastValueWithRetractAggFunction extends LastValueWithRetractAggFunction<Long>
LastValueWithRetractAggFunction.BooleanLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.ByteLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.DecimalLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.DoubleLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.FloatLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.IntLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.LongLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.ShortLastValueWithRetractAggFunction, LastValueWithRetractAggFunction.StringLastValueWithRetractAggFunction
Constructor and Description |
---|
LongLastValueWithRetractAggFunction() |
Modifier and Type | Method and Description |
---|---|
protected TypeSerializer<Long> |
createValueSerializer() |
TypeInformation<Long> |
getResultType()
Returns the
TypeInformation of the UserDefinedAggregateFunction 's result. |
accumulate, accumulate, createAccumulator, getAccumulatorType, getValue, resetAccumulator, retract, retract
getKind, getRequirements, getTypeInference, requiresOver
close, functionIdentifier, open, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isDeterministic
public TypeInformation<Long> getResultType()
UserDefinedAggregateFunction
TypeInformation
of the UserDefinedAggregateFunction
's result.getResultType
in class UserDefinedAggregateFunction<Long,GenericRowData>
TypeInformation
of the UserDefinedAggregateFunction
's result or
null
if the result type should be automatically inferred.protected TypeSerializer<Long> createValueSerializer()
createValueSerializer
in class LastValueWithRetractAggFunction<Long>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.