| 程序包 | 说明 |
|---|---|
| com.facebook.swift.codec.metadata |
| 限定符和类型 | 字段和说明 |
|---|---|
static ThriftType |
ThriftType.BINARY |
static ThriftType |
ThriftType.BOOL |
static ThriftType |
ThriftType.BYTE |
static ThriftType |
ThriftType.DOUBLE |
static ThriftType |
ThriftType.I16 |
static ThriftType |
ThriftType.I32 |
static ThriftType |
ThriftType.I64 |
static ThriftType |
ThriftType.STRING |
static ThriftType |
ThriftType.VOID |
| 限定符和类型 | 方法和说明 |
|---|---|
static ThriftType |
ThriftType.array(ThriftType valueType) |
ThriftType |
ThriftType.coerceTo(java.lang.reflect.Type javaType) |
static ThriftType |
ThriftType.enumType(ThriftEnumMetadata<?> enumMetadata) |
ThriftType |
ThriftType.getKeyType() |
ThriftType |
TypeCoercion.getThriftType() |
ThriftType |
ThriftFieldMetadata.getThriftType() |
ThriftType |
ThriftCatalog.getThriftType(java.lang.reflect.Type javaType)
Gets the ThriftType for the specified Java type.
|
ThriftType |
ThriftType.getUncoercedType() |
ThriftType |
ThriftType.getValueType() |
static <E> ThriftType |
ThriftType.list(ThriftType valueType) |
static <K,V> ThriftType |
ThriftType.map(ThriftType keyType,
ThriftType valueType) |
static <E> ThriftType |
ThriftType.set(ThriftType valueType) |
static ThriftType |
ThriftType.struct(ThriftStructMetadata structMetadata) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ThriftCatalog.addThriftType(ThriftType thriftType) |
static ThriftType |
ThriftType.array(ThriftType valueType) |
static <E> ThriftType |
ThriftType.list(ThriftType valueType) |
static <K,V> ThriftType |
ThriftType.map(ThriftType keyType,
ThriftType valueType) |
static <E> ThriftType |
ThriftType.set(ThriftType valueType) |
| 构造器和说明 |
|---|
ThriftFieldMetadata(short id,
com.facebook.swift.codec.ThriftField.Requiredness requiredness,
ThriftType thriftType,
java.lang.String name,
FieldKind fieldKind,
java.util.List<ThriftInjection> injections,
com.google.common.base.Optional<ThriftConstructorInjection> constructorInjection,
com.google.common.base.Optional<ThriftMethodInjection> methodInjection,
com.google.common.base.Optional<ThriftExtraction> extraction,
com.google.common.base.Optional<TypeCoercion> coercion) |
ThriftType(ThriftType uncoercedType,
java.lang.reflect.Type javaType) |
TypeCoercion(ThriftType thriftType,
java.lang.reflect.Method toThrift,
java.lang.reflect.Method fromThrift) |
Copyright © 2021. All Rights Reserved.