public enum ThriftType extends Enum<ThriftType>
| Enum Constant and Description |
|---|
BOOL |
BYTE |
DOUBLE |
I16 |
I32 |
I64 |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static ThriftType |
get(Class<?> key) |
static ThriftType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThriftType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThriftType BOOL
public static final ThriftType BYTE
public static final ThriftType I16
public static final ThriftType I32
public static final ThriftType I64
public static final ThriftType DOUBLE
public static final ThriftType STRING
public static ThriftType[] values()
for (ThriftType c : ThriftType.values()) System.out.println(c);
public static ThriftType 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 static ThriftType get(Class<?> key)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.