org.apache.hadoop.hive.ql.exec
Class UDFArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.hive.ql.metadata.HiveException
org.apache.hadoop.hive.ql.parse.SemanticException
org.apache.hadoop.hive.ql.exec.UDFArgumentException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AmbiguousMethodException, NoMatchingMethodException, UDFArgumentLengthException, UDFArgumentTypeException
public class UDFArgumentException
- extends SemanticException
exception class, thrown when udf argument have something wrong.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UDFArgumentException
public UDFArgumentException()
UDFArgumentException
public UDFArgumentException(String message)
UDFArgumentException
public UDFArgumentException(Throwable cause)
UDFArgumentException
public UDFArgumentException(String message,
Class<?> funcClass,
List<TypeInfo> argTypeInfos,
List<Method> methods)
- Constructor.
- Parameters:
funcClass
- The UDF or UDAF class.argTypeInfos
- The list of argument types that lead to an ambiguity.methods
- All potential matches.
getFunctionClass
public Class<?> getFunctionClass()
getArgTypeList
public List<TypeInfo> getArgTypeList()
getMethods
public List<Method> getMethods()
Copyright © 2013 The Apache Software Foundation