public class DefaultUDFMethodResolver extends Object implements UDFMethodResolver
| Constructor and Description |
|---|
DefaultUDFMethodResolver(Class<? extends UDF> udfClass)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Method |
getEvalMethod(List<TypeInfo> argClasses)
Gets the evaluate method for the UDF given the parameter types.
|
public DefaultUDFMethodResolver(Class<? extends UDF> udfClass)
UDFMethodResolverpublic Method getEvalMethod(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 © 2019 The Apache Software Foundation. All Rights Reserved.