public enum ThriftTypes extends java.lang.Enum<ThriftTypes>
| Enum Constant and Description |
|---|
BOOL |
BYTE |
DOUBLE |
ENUM |
I16 |
I32 |
I64 |
IGNORE1 |
IGNORE2 |
IGNORE3 |
LIST |
MAP |
SET |
STOP |
STRING |
STRUCT |
VOID |
| Modifier and Type | Method and Description |
|---|---|
static ThriftTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThriftTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftTypes STOP
public static final ThriftTypes VOID
public static final ThriftTypes BOOL
public static final ThriftTypes BYTE
public static final ThriftTypes DOUBLE
public static final ThriftTypes IGNORE1
public static final ThriftTypes I16
public static final ThriftTypes IGNORE2
public static final ThriftTypes I32
public static final ThriftTypes IGNORE3
public static final ThriftTypes I64
public static final ThriftTypes STRING
public static final ThriftTypes STRUCT
public static final ThriftTypes MAP
public static final ThriftTypes SET
public static final ThriftTypes LIST
public static final ThriftTypes ENUM
public static ThriftTypes[] values()
for (ThriftTypes c : ThriftTypes.values()) System.out.println(c);
public static ThriftTypes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null