| Package | Description |
|---|---|
| com.facebook.swift.codec.internal.coercion | |
| com.facebook.swift.codec.metadata |
| Constructor and Description |
|---|
CoercionThriftCodec(ThriftCodec<?> codec,
TypeCoercion typeCoercion) |
| Modifier and Type | Method and Description |
|---|---|
TypeCoercion |
ThriftCatalog.getDefaultCoercion(Type type)
Gets the default TypeCoercion (and associated ThriftType) for the specified Java type.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<TypeCoercion> |
ThriftFieldMetadata.getCoercion() |
| Constructor and Description |
|---|
ThriftFieldMetadata(short id,
ThriftField.Requiredness requiredness,
ThriftType thriftType,
String name,
FieldKind fieldKind,
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) |
Copyright © 2012–2014 Facebook, Inc.. All rights reserved.