public static enum GenericUDFBaseCompare.CompareType extends Enum<GenericUDFBaseCompare.CompareType>
Enum Constant and Description |
---|
COMPARE_BOOL |
COMPARE_BYTE |
COMPARE_INT |
COMPARE_LONG |
COMPARE_STRING |
COMPARE_TEXT |
NEED_CONVERT |
SAME_TYPE |
Modifier and Type | Method and Description |
---|---|
static GenericUDFBaseCompare.CompareType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericUDFBaseCompare.CompareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericUDFBaseCompare.CompareType COMPARE_STRING
public static final GenericUDFBaseCompare.CompareType COMPARE_TEXT
public static final GenericUDFBaseCompare.CompareType COMPARE_INT
public static final GenericUDFBaseCompare.CompareType COMPARE_LONG
public static final GenericUDFBaseCompare.CompareType COMPARE_BYTE
public static final GenericUDFBaseCompare.CompareType COMPARE_BOOL
public static final GenericUDFBaseCompare.CompareType SAME_TYPE
public static final GenericUDFBaseCompare.CompareType NEED_CONVERT
public static GenericUDFBaseCompare.CompareType[] values()
for (GenericUDFBaseCompare.CompareType c : GenericUDFBaseCompare.CompareType.values()) System.out.println(c);
public static GenericUDFBaseCompare.CompareType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 The Apache Software Foundation. All rights reserved.