public static class FirstValueAggFunction.StringFirstValueAggFunction extends FirstValueAggFunction<StringData>
FirstValueAggFunction.BooleanFirstValueAggFunction, FirstValueAggFunction.ByteFirstValueAggFunction, FirstValueAggFunction.DecimalFirstValueAggFunction, FirstValueAggFunction.DoubleFirstValueAggFunction, FirstValueAggFunction.FloatFirstValueAggFunction, FirstValueAggFunction.IntFirstValueAggFunction, FirstValueAggFunction.LongFirstValueAggFunction, FirstValueAggFunction.ShortFirstValueAggFunction, FirstValueAggFunction.StringFirstValueAggFunction
Constructor and Description |
---|
StringFirstValueAggFunction() |
Modifier and Type | Method and Description |
---|---|
void |
accumulate(GenericRowData acc,
StringData value) |
void |
accumulate(GenericRowData acc,
StringData value,
Long order) |
TypeInformation<StringData> |
getResultType()
Returns the
TypeInformation of the UserDefinedAggregateFunction 's result. |
accumulate, accumulate, createAccumulator, getAccumulatorType, getValue, isDeterministic, resetAccumulator
getKind, getRequirements, getTypeInference, requiresOver
close, functionIdentifier, open, toString
public TypeInformation<StringData> getResultType()
UserDefinedAggregateFunction
TypeInformation
of the UserDefinedAggregateFunction
's result.getResultType
in class UserDefinedAggregateFunction<StringData,GenericRowData>
TypeInformation
of the UserDefinedAggregateFunction
's result or
null
if the result type should be automatically inferred.public void accumulate(GenericRowData acc, StringData value)
public void accumulate(GenericRowData acc, StringData value, Long order)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.