public class GenericUDAFComputeStats extends AbstractGenericUDAFResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
GenericUDAFComputeStats.GenericUDAFBinaryStatsEvaluator
GenericUDAFBinaryStatsEvaluator.
|
static class |
GenericUDAFComputeStats.GenericUDAFBooleanStatsEvaluator
GenericUDAFBooleanStatsEvaluator.
|
static class |
GenericUDAFComputeStats.GenericUDAFDateStatsEvaluator
GenericUDAFDateStatsEvaluator
High/low value will be saved in stats DB as long value representing days since epoch.
|
static class |
GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator |
static class |
GenericUDAFComputeStats.GenericUDAFDoubleStatsEvaluator
GenericUDAFDoubleStatsEvaluator.
|
static class |
GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator
GenericUDAFLongStatsEvaluator.
|
static class |
GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator<V,OI extends PrimitiveObjectInspector> |
static class |
GenericUDAFComputeStats.GenericUDAFStringStatsEvaluator
GenericUDAFStringStatsEvaluator.
|
| Constructor and Description |
|---|
GenericUDAFComputeStats() |
| Modifier and Type | Method and Description |
|---|---|
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.SemanticExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.