public class NumericUDAFEvaluatorResolver extends DefaultUDAFEvaluatorResolver
Constructor and Description |
---|
NumericUDAFEvaluatorResolver(Class<? extends UDAF> udafClass)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends UDAFEvaluator> |
getEvaluatorClass(List<TypeInfo> argTypeInfos)
Gets the evaluator class for the UDAF given the parameter types.
|
public Class<? extends UDAFEvaluator> getEvaluatorClass(List<TypeInfo> argTypeInfos) throws UDFArgumentException
DefaultUDAFEvaluatorResolver
getEvaluatorClass
in interface UDAFEvaluatorResolver
getEvaluatorClass
in class DefaultUDAFEvaluatorResolver
argTypeInfos
- The list of the parameter types.UDFArgumentException
Copyright © 2017 The Apache Software Foundation. All rights reserved.