Class PbCodegenSerializeFactory
- java.lang.Object
-
- org.apache.flink.formats.protobuf.serialize.PbCodegenSerializeFactory
-
public class PbCodegenSerializeFactory extends Object
Codegen factory class which returnPbCodegenSerializer
of different data type.
-
-
Constructor Summary
Constructors Constructor Description PbCodegenSerializeFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PbCodegenSerializer
getPbCodegenSer(com.google.protobuf.Descriptors.FieldDescriptor fd, LogicalType type, PbFormatContext formatContext)
static PbCodegenSerializer
getPbCodegenTopRowSer(com.google.protobuf.Descriptors.Descriptor descriptor, RowType rowType, PbFormatContext formatContext)
-
-
-
Method Detail
-
getPbCodegenSer
public static PbCodegenSerializer getPbCodegenSer(com.google.protobuf.Descriptors.FieldDescriptor fd, LogicalType type, PbFormatContext formatContext) throws PbCodegenException
- Throws:
PbCodegenException
-
getPbCodegenTopRowSer
public static PbCodegenSerializer getPbCodegenTopRowSer(com.google.protobuf.Descriptors.Descriptor descriptor, RowType rowType, PbFormatContext formatContext)
-
-