public class GenericUDAFPercentileApprox extends AbstractGenericUDAFResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericUDAFPercentileApprox.GenericUDAFMultiplePercentileApproxEvaluator |
static class |
GenericUDAFPercentileApprox.GenericUDAFPercentileApproxEvaluator
Construct a histogram using the algorithm described by Ben-Haim and Tom-Tov, and then
use it to compute an approximate percentile value.
|
static class |
GenericUDAFPercentileApprox.GenericUDAFSinglePercentileApproxEvaluator |
| Constructor and Description |
|---|
GenericUDAFPercentileApprox() |
| Modifier and Type | Method and Description |
|---|---|
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.SemanticExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.