org.apache.hadoop.hive.ql.udf.generic
Enum GenericUDFBaseCompare.CompareType
java.lang.Object
java.lang.Enum<GenericUDFBaseCompare.CompareType>
org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseCompare.CompareType
- All Implemented Interfaces:
- Serializable, Comparable<GenericUDFBaseCompare.CompareType>
- Enclosing class:
- GenericUDFBaseCompare
public static enum GenericUDFBaseCompare.CompareType
- extends Enum<GenericUDFBaseCompare.CompareType>
COMPARE_STRING
public static final GenericUDFBaseCompare.CompareType COMPARE_STRING
COMPARE_TEXT
public static final GenericUDFBaseCompare.CompareType COMPARE_TEXT
COMPARE_INT
public static final GenericUDFBaseCompare.CompareType COMPARE_INT
COMPARE_LONG
public static final GenericUDFBaseCompare.CompareType COMPARE_LONG
COMPARE_BYTE
public static final GenericUDFBaseCompare.CompareType COMPARE_BYTE
COMPARE_BOOL
public static final GenericUDFBaseCompare.CompareType COMPARE_BOOL
SAME_TYPE
public static final GenericUDFBaseCompare.CompareType SAME_TYPE
NEED_CONVERT
public static final GenericUDFBaseCompare.CompareType NEED_CONVERT
values
public static GenericUDFBaseCompare.CompareType[] 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 (GenericUDFBaseCompare.CompareType c : GenericUDFBaseCompare.CompareType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GenericUDFBaseCompare.CompareType 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.