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.
|
getEvaluator
public GenericUDAFEvaluator getEvaluator(GenericUDAFParameterInfo parameters) throws SemanticException
GenericUDAFResolver2
If 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 GenericUDAFResolver2
getEvaluator
in class AbstractGenericUDAFResolver
parameters
- The parameter information that is applicable to the UDAF being
invoked.SemanticException
protected abstract String functionName()
protected abstract GenericUDAFLeadLag.GenericUDAFLeadLagEvaluator createLLEvaluator()
Copyright © 2021 The Apache Software Foundation. All rights reserved.