@WindowFunctionDescription(description=, supportsWindow=true, pivotResult=false, impliesOrder=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() |
GenericUDAFEvaluator |
getEvaluator(TypeInfo[] parameters)
Get the evaluator for the parameter types.
|
getEvaluatorpublic GenericUDAFEvaluator getEvaluator(TypeInfo[] parameters) throws SemanticException
GenericUDAFResolverIf 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 GenericUDAFResolvergetEvaluator in class AbstractGenericUDAFResolverparameters - The types of the parameters. We need the type information to know
which evaluator class to use.SemanticExceptionprotected GenericUDAFFirstValue.GenericUDAFFirstValueEvaluator createEvaluator()
Copyright © 2017 The Apache Software Foundation. All rights reserved.