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

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.AmbiguousMethodException
All Implemented Interfaces:
Serializable

public class AmbiguousMethodException
extends UDFArgumentException

Exception thrown by the UDF and UDAF method resolvers in case a unique method is not found.

See Also:
Serialized Form

Constructor Summary
AmbiguousMethodException(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

AmbiguousMethodException

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