Uses of Interface
io.airlift.drift.codec.ThriftCodec
Packages that use ThriftCodec
Package
Description
-
Uses of ThriftCodec in io.airlift.drift.codec
Classes in io.airlift.drift.codec that implement ThriftCodecModifier and TypeClassDescriptionclassA placeholder for aThriftCodecthat defers computation of the real codec until it is actually used, and then just delegates to that codec.Methods in io.airlift.drift.codec that return ThriftCodecModifier and TypeMethodDescription<T> ThriftCodec<T>ThriftCodecManager.getCachedCodecIfPresent(com.google.common.reflect.TypeToken<T> type) ThriftCodec<?>ThriftCodecManager.getCachedCodecIfPresent(ThriftType type) <T> ThriftCodec<T>ThriftCodecManager.getCachedCodecIfPresent(Class<T> javaType) ThriftCodec<?>ThriftCodecManager.getCachedCodecIfPresent(Type javaType) <T> ThriftCodec<T>ThriftCodecManager.getCodec(com.google.common.reflect.TypeToken<T> type) ThriftCodec<?>ThriftCodecManager.getCodec(ThriftType type) <T> ThriftCodec<T>ThriftCodec<?>ThriftCodec<?>ThriftCodecManager.getElementCodec(ThriftTypeReference thriftTypeReference) Methods in io.airlift.drift.codec with parameters of type ThriftCodecModifier and TypeMethodDescriptionvoidThriftCodecManager.addCodec(ThriftCodec<?> codec) Adds or replaces the codec associated with the type contained in the codec.Constructors in io.airlift.drift.codec with parameters of type ThriftCodecModifierConstructorDescriptionThriftCodecManager(ThriftCodecFactory factory, ThriftCodec<?>... codecs) ThriftCodecManager(ThriftCodec<?>... codecs) ThriftCodecManager(ClassLoader parent, ThriftCodec<?>... codecs) Constructor parameters in io.airlift.drift.codec with type arguments of type ThriftCodecModifierConstructorDescriptionThriftCodecManager(ThriftCodecFactory factory, ThriftCatalog catalog, Set<ThriftCodec<?>> codecs) ThriftCodecManager(ThriftCodecFactory factory, Set<ThriftCodec<?>> codecs) -
Uses of ThriftCodec in io.airlift.drift.codec.guice
Methods in io.airlift.drift.codec.guice with parameters of type ThriftCodecModifier and TypeMethodDescriptionvoidThriftCodecBinder.bindCustomThriftCodec(ThriftCodec<?> thriftCodec) Method parameters in io.airlift.drift.codec.guice with type arguments of type ThriftCodecModifier and TypeMethodDescriptionvoidThriftCodecBinder.bindCustomThriftCodec(com.google.inject.Key<? extends ThriftCodec<?>> thriftCodecKey) voidThriftCodecBinder.bindCustomThriftCodec(com.google.inject.TypeLiteral<? extends ThriftCodec<?>> thriftCodecType) voidThriftCodecBinder.bindCustomThriftCodec(Class<? extends ThriftCodec<?>> thriftCodecType) -
Uses of ThriftCodec in io.airlift.drift.codec.internal
Classes in io.airlift.drift.codec.internal that implement ThriftCodecModifier and TypeClassDescriptionclassEnumThriftCodec<T extends Enum<T>>EnumThriftCodec is a codec for Java enum types.Methods in io.airlift.drift.codec.internal that return ThriftCodecModifier and TypeMethodDescriptionThriftCodec<?>ThriftCodecFactory.generateThriftTypeCodec(ThriftCodecManager codecManager, ThriftStructMetadata metadata) Methods in io.airlift.drift.codec.internal with parameters of type ThriftCodecModifier and TypeMethodDescription<T extends Enum<T>>
TProtocolReader.readEnumField(ThriftCodec<T> enumCodec) ProtocolReader.readField(ThriftCodec<?> codec) <E> List<E>ProtocolReader.readList(ThriftCodec<E> elementCodec) <E> List<E>ProtocolReader.readListField(ThriftCodec<List<E>> listCodec) <K,V> Map<K, V> ProtocolReader.readMap(ThriftCodec<K> keyCodec, ThriftCodec<V> valueCodec) <K,V> Map<K, V> ProtocolReader.readMapField(ThriftCodec<Map<K, V>> mapCodec) <E> Set<E>ProtocolReader.readSet(ThriftCodec<E> elementCodec) <E> Set<E>ProtocolReader.readSetField(ThriftCodec<Set<E>> setCodec) <T> TProtocolReader.readStructField(ThriftCodec<T> codec) <T extends Enum<T>>
voidProtocolWriter.writeEnumField(String name, short id, ThriftCodec<T> codec, T enumValue) <T> voidProtocolWriter.writeField(String name, short id, ThriftCodec<T> codec, T value) <T> voidProtocolWriter.writeList(ThriftCodec<T> elementCodec, List<T> list) <E> voidProtocolWriter.writeListField(String name, short id, ThriftCodec<List<E>> codec, List<E> list) <K,V> void ProtocolWriter.writeMap(ThriftCodec<K> keyCodec, ThriftCodec<V> valueCodec, Map<K, V> map) <K,V> void ProtocolWriter.writeMapField(String name, short id, ThriftCodec<Map<K, V>> codec, Map<K, V> map) <T> voidProtocolWriter.writeSet(ThriftCodec<T> elementCodec, Set<T> set) <E> voidProtocolWriter.writeSetField(String name, short id, ThriftCodec<Set<E>> codec, Set<E> set) <T> voidProtocolWriter.writeStructField(String name, short id, ThriftCodec<T> codec, T struct) -
Uses of ThriftCodec in io.airlift.drift.codec.internal.builtin
Classes in io.airlift.drift.codec.internal.builtin that implement ThriftCodecModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassMapThriftCodec<K,V> classclassclassclassclassclassclassclassclassVoidThriftCodec is a convenience codec used for service invocations that return void type.Constructors in io.airlift.drift.codec.internal.builtin with parameters of type ThriftCodecModifierConstructorDescriptionListThriftCodec(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) -
Uses of ThriftCodec in io.airlift.drift.codec.internal.coercion
Classes in io.airlift.drift.codec.internal.coercion that implement ThriftCodecModifier and TypeClassDescriptionclassCoercionThriftCodec encapsulates a ThriftCodec and coerces the values to another type using the supplied ThriftCoercion.Constructors in io.airlift.drift.codec.internal.coercion with parameters of type ThriftCodecModifierConstructorDescriptionCoercionThriftCodec(ThriftCodec<?> codec, TypeCoercion typeCoercion) -
Uses of ThriftCodec in io.airlift.drift.codec.internal.compiler
Methods in io.airlift.drift.codec.internal.compiler that return ThriftCodecModifier and TypeMethodDescriptionThriftCodec<?>CompilerThriftCodecFactory.generateThriftTypeCodec(ThriftCodecManager codecManager, ThriftStructMetadata metadata) ThriftCodecByteCodeGenerator.getThriftCodec() -
Uses of ThriftCodec in io.airlift.drift.codec.internal.reflection
Classes in io.airlift.drift.codec.internal.reflection that implement ThriftCodecModifier and TypeClassDescriptionclassclassclassFields in io.airlift.drift.codec.internal.reflection with type parameters of type ThriftCodecModifier and TypeFieldDescriptionprotected final SortedMap<Short,ThriftCodec<?>> AbstractReflectionThriftCodec.fieldsMethods in io.airlift.drift.codec.internal.reflection that return ThriftCodecModifier and TypeMethodDescriptionThriftCodec<?>ReflectionThriftCodecFactory.generateThriftTypeCodec(ThriftCodecManager codecManager, ThriftStructMetadata metadata)