org.apache.hadoop.hive.ql.exec
Enum FunctionUtils.UDFClassType
java.lang.Object
java.lang.Enum<FunctionUtils.UDFClassType>
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
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
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.