public abstract class GenericUDAFLeadLag extends AbstractGenericUDAFResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericUDAFLeadLag.GenericUDAFLeadLagEvaluator |
| Constructor and Description |
|---|
GenericUDAFLeadLag() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract GenericUDAFLeadLag.GenericUDAFLeadLagEvaluator |
createLLEvaluator() |
protected abstract String |
functionName() |
GenericUDAFEvaluator |
getEvaluator(GenericUDAFParameterInfo parameters)
Get the evaluator for the parameter types.
|
getEvaluatorpublic GenericUDAFEvaluator getEvaluator(GenericUDAFParameterInfo parameters) 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 AbstractGenericUDAFResolverparameters - The parameter information that is applicable to the UDAF being
invoked.SemanticExceptionprotected abstract String functionName()
protected abstract GenericUDAFLeadLag.GenericUDAFLeadLagEvaluator createLLEvaluator()
Copyright © 2017 The Apache Software Foundation. All rights reserved.