org.apache.hadoop.hive.ql.exec
Class NoMatchingMethodException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.hadoop.hive.ql.metadata.HiveException
              extended by org.apache.hadoop.hive.ql.parse.SemanticException
                  extended by org.apache.hadoop.hive.ql.exec.UDFArgumentException
                      extended by org.apache.hadoop.hive.ql.exec.NoMatchingMethodException
All Implemented Interfaces:
Serializable

public class NoMatchingMethodException
extends UDFArgumentException

Exception thrown by the UDF and UDAF method resolvers in case no matching method is found.

See Also:
Serialized Form

Constructor Summary
NoMatchingMethodException(Class<?> funcClass, List<TypeInfo> argTypeInfos, List<Method> methods)
          Constructor.
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDFArgumentException
getArgTypeList, getFunctionClass, getMethods
 
Methods inherited from class org.apache.hadoop.hive.ql.metadata.HiveException
getCanonicalErrorMsg
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoMatchingMethodException

public NoMatchingMethodException(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.


Copyright © 2014 The Apache Software Foundation. All rights reserved.