public class DefaultUDFMethodResolver extends java.lang.Object implements UDFMethodResolver
| Constructor and Description |
|---|
DefaultUDFMethodResolver(java.lang.Class<? extends UDF> udfClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.Method |
getEvalMethod(java.util.List<TypeInfo> argClasses)
Gets the evaluate method for the UDF given the parameter types.
|
public DefaultUDFMethodResolver(java.lang.Class<? extends UDF> udfClass)
UDFMethodResolverpublic java.lang.reflect.Method getEvalMethod(java.util.List<TypeInfo> argClasses) throws UDFArgumentException
getEvalMethod in interface UDFMethodResolverargClasses - The list of the argument types that need to matched with the
evaluate function signature.UDFArgumentExceptionCopyright © 2012 The Apache Software Foundation