@Deprecated public enum ThriftType extends Enum<ThriftType>
| Enum Constant and Description |
|---|
BOOL
Deprecated.
|
BYTE
Deprecated.
|
DOUBLE
Deprecated.
|
I16
Deprecated.
|
I32
Deprecated.
|
I64
Deprecated.
|
STRING
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ThriftType |
get(Class<?> key)
Deprecated.
|
static ThriftType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ThriftType[] |
values()
Deprecated.
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–2019 The Apache Software Foundation. All rights reserved.