| Package | Description |
|---|---|
| com.webapp.utils.thrift |
| Modifier and Type | Class and Description |
|---|---|
class |
Generic
泛型描述类,是一个树形的结构,每个Generic都有可能有多个types
|
| Modifier and Type | Field and Description |
|---|---|
static ThriftType |
ThriftType.BOOL |
static ThriftType |
ThriftType.BYTE |
static ThriftType |
ThriftType.DOUBLE |
static ThriftType |
ThriftType.ENUM |
static ThriftType |
ThriftType.I16 |
static ThriftType |
ThriftType.I32 |
static ThriftType |
ThriftType.I64 |
static ThriftType |
ThriftType.LIST |
static ThriftType |
ThriftType.MAP |
static ThriftType |
ThriftType.SET |
static ThriftType |
ThriftType.STRING |
static ThriftType |
ThriftType.STRUCT |
static ThriftType |
ThriftType.VOID |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
ThriftType.clone() |
static ThriftType |
ThriftType.fromJavaType(Class<?> clazz) |
static ThriftType |
ThriftType.fromJavaType(Type type) |
| Modifier and Type | Method and Description |
|---|---|
List<ThriftType> |
Generic.getTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
Generic.addGeneric(ThriftType generic) |
| Modifier and Type | Method and Description |
|---|---|
void |
Generic.setTypes(List<ThriftType> types) |
Copyright © 2017. All rights reserved.