public enum NullType extends Enum<NullType> implements com.facebook.thrift.TEnum
| Enum Constant and Description |
|---|
__NULL__ |
BAD_DATA |
BAD_TYPE |
DIV_BY_ZERO |
ERR_OVERFLOW |
NaN |
OUT_OF_RANGE |
UNKNOWN_PROP |
| Modifier and Type | Method and Description |
|---|---|
static NullType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static NullType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullType __NULL__
public static final NullType NaN
public static final NullType BAD_DATA
public static final NullType BAD_TYPE
public static final NullType ERR_OVERFLOW
public static final NullType UNKNOWN_PROP
public static final NullType DIV_BY_ZERO
public static final NullType OUT_OF_RANGE
public static NullType[] values()
for (NullType c : NullType.values()) System.out.println(c);
public static NullType 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 nullpublic int getValue()
getValue in interface com.facebook.thrift.TEnumpublic static NullType findByValue(int value)
Copyright © 2022. All rights reserved.