Class CompilerThriftCodecFactory
java.lang.Object
io.airlift.drift.codec.internal.compiler.CompilerThriftCodecFactory
- All Implemented Interfaces:
ThriftCodecFactory
Creates Thrift codecs directly in byte code.
-
Constructor Summary
ConstructorsConstructorDescriptionCompilerThriftCodecFactory(boolean debug) CompilerThriftCodecFactory(boolean debug, ClassLoader parent) -
Method Summary
Modifier and TypeMethodDescriptionThriftCodec<?>generateThriftTypeCodec(ThriftCodecManager codecManager, ThriftStructMetadata metadata)
-
Constructor Details
-
CompilerThriftCodecFactory
-
CompilerThriftCodecFactory
public CompilerThriftCodecFactory(boolean debug) -
CompilerThriftCodecFactory
-
-
Method Details
-
generateThriftTypeCodec
public ThriftCodec<?> generateThriftTypeCodec(ThriftCodecManager codecManager, ThriftStructMetadata metadata) - Specified by:
generateThriftTypeCodecin interfaceThriftCodecFactory
-