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