public static class FirstValueAggFunction.StringFirstValueAggFunction extends FirstValueAggFunction<BinaryString>
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(GenericRow acc,
BinaryString value) |
void |
accumulate(GenericRow acc,
BinaryString value,
Long order) |
TypeInformation<BinaryString> |
getResultType()
Returns the
TypeInformation of the UserDefinedAggregateFunction 's result. |
accumulate, accumulate, createAccumulator, getAccumulatorType, getValue, isDeterministic, resetAccumulator
getKind, getRequirements, requiresOver
close, functionIdentifier, open, toString
public TypeInformation<BinaryString> getResultType()
UserDefinedAggregateFunction
TypeInformation
of the UserDefinedAggregateFunction
's result.getResultType
in class UserDefinedAggregateFunction<BinaryString,GenericRow>
TypeInformation
of the UserDefinedAggregateFunction
's result or
null
if the result type should be automatically inferred.public void accumulate(GenericRow acc, BinaryString value)
public void accumulate(GenericRow acc, BinaryString value, Long order)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.