| Modifier and Type | Method and Description |
|---|---|
ThriftType |
ThriftCodec.getType()
The Thrift type this codec supports.
|
ThriftType |
DelegateCodec.getType() |
| Modifier and Type | Method and Description |
|---|---|
ThriftCodec<?> |
ThriftCodecManager.getCachedCodecIfPresent(ThriftType type) |
ThriftCodec<?> |
ThriftCodecManager.getCodec(ThriftType type) |
Object |
ThriftCodecManager.read(ThriftType type,
TProtocolReader protocol) |
void |
ThriftCodecManager.write(ThriftType type,
Object value,
TProtocolWriter protocol) |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
EnumThriftCodec.getType() |
| Constructor and Description |
|---|
EnumThriftCodec(ThriftType type) |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
StringThriftCodec.getType() |
ThriftType |
MapThriftCodec.getType() |
ThriftType |
DoubleArrayThriftCodec.getType() |
ThriftType |
ShortThriftCodec.getType() |
ThriftType |
ListThriftCodec.getType() |
ThriftType |
BooleanArrayThriftCodec.getType() |
ThriftType |
OptionalIntThriftCodec.getType() |
ThriftType |
OptionalDoubleThriftCodec.getType() |
ThriftType |
OptionalLongThriftCodec.getType() |
ThriftType |
ByteBufferThriftCodec.getType() |
ThriftType |
BooleanThriftCodec.getType() |
ThriftType |
SetThriftCodec.getType() |
ThriftType |
ByteThriftCodec.getType() |
ThriftType |
IntegerThriftCodec.getType() |
ThriftType |
IntArrayThriftCodec.getType() |
ThriftType |
VoidThriftCodec.getType() |
ThriftType |
OptionalThriftCodec.getType() |
ThriftType |
LongArrayThriftCodec.getType() |
ThriftType |
LongThriftCodec.getType() |
ThriftType |
DoubleThriftCodec.getType() |
ThriftType |
ShortArrayThriftCodec.getType() |
| Constructor and Description |
|---|
ListThriftCodec(ThriftType type,
ThriftCodec<T> elementCodec) |
MapThriftCodec(ThriftType type,
ThriftCodec<K> keyCodec,
ThriftCodec<V> valueCodec) |
OptionalThriftCodec(ThriftType type,
ThriftCodec<T> elementCodec) |
SetThriftCodec(ThriftType type,
ThriftCodec<T> elementCodec) |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
CoercionThriftCodec.getType() |
| Modifier and Type | Method and Description |
|---|---|
static io.airlift.bytecode.ParameterizedType |
ThriftCodecByteCodeGenerator.toParameterizedType(ThriftType type) |
| Modifier and Type | Method and Description |
|---|---|
ThriftType |
AbstractReflectionThriftCodec.getType() |
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
static ThriftType |
ThriftType.array(ThriftType valueType) |
static ThriftType |
ThriftType.array(ThriftTypeReference valueTypeReference) |
ThriftType |
ThriftType.coerceTo(Type javaType) |
static ThriftType |
ThriftType.enumType(ThriftEnumMetadata<?> enumMetadata) |
ThriftType |
DefaultThriftTypeReference.get() |
ThriftType |
RecursiveThriftTypeReference.get() |
ThriftType |
ThriftTypeReference.get() |
ThriftType |
ThriftMethodMetadata.getReturnType() |
ThriftType |
TypeCoercion.getThriftType() |
ThriftType |
ThriftFieldMetadata.getThriftType() |
ThriftType |
ThriftCatalog.getThriftType(Type javaType)
Gets the ThriftType for the specified Java type.
|
ThriftType |
ThriftCatalog.getThriftTypeFromCache(Type javaType) |
ThriftType |
ThriftType.getUncoercedType() |
static <E> ThriftType |
ThriftType.list(ThriftType valueType) |
static <E> ThriftType |
ThriftType.list(ThriftTypeReference valueTypeReference) |
static <K,V> ThriftType |
ThriftType.map(ThriftTypeReference keyTypeReference,
ThriftTypeReference valueTypeReference) |
static <K,V> ThriftType |
ThriftType.map(ThriftType keyType,
ThriftType valueType) |
static ThriftType |
ThriftType.optional(ThriftType valueType) |
static <T> ThriftType |
ThriftType.optional(ThriftTypeReference valueTypeReference) |
static <E> ThriftType |
ThriftType.set(ThriftType valueType) |
static <E> ThriftType |
ThriftType.set(ThriftTypeReference valueTypeReference) |
static ThriftType |
ThriftType.struct(ThriftStructMetadata structMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Map<Short,ThriftType> |
ThriftMethodMetadata.getExceptions() |
| Modifier and Type | Method and Description |
|---|---|
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 ThriftType |
ThriftType.optional(ThriftType valueType) |
static <E> ThriftType |
ThriftType.set(ThriftType valueType) |
| Constructor and Description |
|---|
DefaultThriftTypeReference(ThriftType thriftType) |
ThriftType(ThriftType uncoercedType,
Type javaType) |
ThriftType(ThriftType uncoercedType,
Type javaType,
Object nullValue) |
TypeCoercion(ThriftType thriftType,
Method toThrift,
Method fromThrift) |
Copyright © 2012–2018. All rights reserved.