public class NumericOpMethodResolver extends Object implements UDFMethodResolver
Constructor and Description |
---|
NumericOpMethodResolver(Class<? extends UDF> udfClass)
Constuctor.
|
Modifier and Type | Method and Description |
---|---|
Method |
getEvalMethod(List<TypeInfo> argTypeInfos)
Gets the evaluate method for the UDF given the parameter types.
|
public Method getEvalMethod(List<TypeInfo> argTypeInfos) throws UDFArgumentException
UDFMethodResolver
getEvalMethod
in interface UDFMethodResolver
argTypeInfos
- The list of the argument types that need to matched with the
evaluate function signature.UDFArgumentException
Copyright © 2017 The Apache Software Foundation. All rights reserved.