| 程序包 | 说明 |
|---|---|
| net.gdface.codegen.thrift |
| 限定符和类型 | 字段和说明 |
|---|---|
static CxxType |
CxxType.BINARY |
static CxxType |
CxxType.BOOL |
static CxxType |
CxxType.BYTE |
static CxxType |
CxxType.DOUBLE |
static CxxType |
CxxType.I16 |
static CxxType |
CxxType.I32 |
static CxxType |
CxxType.I64 |
static CxxType |
CxxType.STRING |
static CxxType |
CxxType.VOID |
| 限定符和类型 | 字段和说明 |
|---|---|
static com.google.common.collect.ImmutableMap<java.lang.Class<?>,CxxType> |
CxxType.THRIFT_BUILTIN_CXX_TYPES |
static com.google.common.collect.ImmutableMap<java.lang.Class<?>,CxxType> |
CxxType.THRIFT_CAST_CXX_TYPES |
| 限定符和类型 | 方法和说明 |
|---|---|
static CxxType |
CxxType.array(CxxType valueType) |
static CxxType |
CxxType.container(java.lang.reflect.ParameterizedType type) |
static CxxType |
CxxType.enumType(java.lang.reflect.Type javaType) |
static CxxType |
CxxType.exception(java.lang.reflect.Type javaType) |
CxxType |
ThriftStructDecorator.getCxxField(java.lang.String name) |
CxxType |
ThriftStructDecorator.getCxxType() |
CxxType |
ThriftServiceDecorator.getCxxType() |
CxxType |
CxxHelper.getCxxType(java.lang.reflect.Type type) |
static CxxType |
CxxType.getThriftType(java.lang.reflect.Type javaType)
Gets the CxxType for the specified Java type.
|
static <E> CxxType |
CxxType.list(CxxType valueType) |
static <K,V> CxxType |
CxxType.map(CxxType keyType,
CxxType valueType) |
static <E> CxxType |
CxxType.set(CxxType valueType) |
static CxxType |
CxxType.struct(java.lang.reflect.Type javaType) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.common.collect.ImmutableMap<java.lang.String,CxxType> |
ThriftStructDecorator.getCxxFieldsAsMap() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
CxxType.addThriftType(CxxType thriftType) |
static CxxType |
CxxType.array(CxxType valueType) |
boolean |
ThriftSchema.isCanMove(CxxType cxxType) |
static <E> CxxType |
CxxType.list(CxxType valueType) |
static <K,V> CxxType |
CxxType.map(CxxType keyType,
CxxType valueType) |
static <E> CxxType |
CxxType.set(CxxType valueType) |
Copyright © 2020. All Rights Reserved.