org.apache.hadoop.hive.ql.exec
Enum FunctionUtils.UDFClassType

java.lang.Object
  extended by java.lang.Enum<FunctionUtils.UDFClassType>
      extended by org.apache.hadoop.hive.ql.exec.FunctionUtils.UDFClassType
All Implemented Interfaces:
Serializable, Comparable<FunctionUtils.UDFClassType>
Enclosing class:
FunctionUtils

public static enum FunctionUtils.UDFClassType
extends Enum<FunctionUtils.UDFClassType>

Enum type to describe what kind of UDF implementation class


Enum Constant Summary
GENERIC_UDAF_RESOLVER
           
GENERIC_UDF
           
GENERIC_UDTF
           
TABLE_FUNCTION_RESOLVER
           
UDAF
           
UDF
           
UNKNOWN
           
 
Method Summary
static FunctionUtils.UDFClassType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FunctionUtils.UDFClassType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final FunctionUtils.UDFClassType UNKNOWN

UDF

public static final FunctionUtils.UDFClassType UDF

GENERIC_UDF

public static final FunctionUtils.UDFClassType GENERIC_UDF

GENERIC_UDTF

public static final FunctionUtils.UDFClassType GENERIC_UDTF

UDAF

public static final FunctionUtils.UDFClassType UDAF

GENERIC_UDAF_RESOLVER

public static final FunctionUtils.UDFClassType GENERIC_UDAF_RESOLVER

TABLE_FUNCTION_RESOLVER

public static final FunctionUtils.UDFClassType TABLE_FUNCTION_RESOLVER
Method Detail

values

public static FunctionUtils.UDFClassType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FunctionUtils.UDFClassType c : FunctionUtils.UDFClassType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FunctionUtils.UDFClassType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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