public enum ThriftProtocolType extends java.lang.Enum<ThriftProtocolType>
| 限定符和类型 | 方法和说明 |
|---|---|
byte |
getType() |
static ThriftProtocolType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ThriftProtocolType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ThriftProtocolType UNKNOWN
public static final ThriftProtocolType BOOL
public static final ThriftProtocolType BYTE
public static final ThriftProtocolType DOUBLE
public static final ThriftProtocolType I16
public static final ThriftProtocolType I32
public static final ThriftProtocolType I64
public static final ThriftProtocolType STRING
public static final ThriftProtocolType STRUCT
public static final ThriftProtocolType MAP
public static final ThriftProtocolType SET
public static final ThriftProtocolType LIST
public static final ThriftProtocolType ENUM
public static final ThriftProtocolType BINARY
public static ThriftProtocolType[] values()
for (ThriftProtocolType c : ThriftProtocolType.values()) System.out.println(c);
public static ThriftProtocolType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public byte getType()
Copyright © 2020. All Rights Reserved.