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)
UDFMethodResolver
public Method getEvalMethod(List<TypeInfo> argClasses) throws UDFArgumentException
getEvalMethod
in interface UDFMethodResolver
argClasses
- 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.