@WindowFunctionDescription(supportsWindow=true, pivotResult=false, impliesOrder=true, supportsNullTreatment=true) public class GenericUDAFFirstValue extends AbstractGenericUDAFResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericUDAFFirstValue.GenericUDAFFirstValueEvaluator |
| Constructor and Description |
|---|
GenericUDAFFirstValue() |
| Modifier and Type | Method and Description |
|---|---|
protected GenericUDAFFirstValue.GenericUDAFFirstValueEvaluator |
createEvaluator(boolean skipNulls) |
GenericUDAFEvaluator |
getEvaluator(GenericUDAFParameterInfo info)
Get the evaluator for the parameter types.
|
getEvaluatorpublic GenericUDAFEvaluator getEvaluator(GenericUDAFParameterInfo info) throws SemanticException
GenericUDAFResolver2If the class of the object does not implement Serializable, then we will create a new instance of the class at execution time.
getEvaluator in interface GenericUDAFResolver2getEvaluator in class AbstractGenericUDAFResolverinfo - The parameter information that is applicable to the UDAF being
invoked.SemanticExceptionprotected GenericUDAFFirstValue.GenericUDAFFirstValueEvaluator createEvaluator(boolean skipNulls)
Copyright © 2022 The Apache Software Foundation. All rights reserved.