public class NumericOpMethodResolver extends java.lang.Object implements UDFMethodResolver
Constructor and Description |
---|
NumericOpMethodResolver(java.lang.Class<? extends UDF> udfClass)
Constuctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getEvalMethod(java.util.List<TypeInfo> argTypeInfos)
Gets the evaluate method for the UDF given the parameter types.
|
public NumericOpMethodResolver(java.lang.Class<? extends UDF> udfClass)
public java.lang.reflect.Method getEvalMethod(java.util.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 © 2012 The Apache Software Foundation