Class RowToProtoConverter
- java.lang.Object
-
- org.apache.flink.formats.protobuf.serialize.RowToProtoConverter
-
public class RowToProtoConverter extends Object
RowToProtoConvertercan convert flink row data to binary protobuf message data by codegen process.
-
-
Constructor Summary
Constructors Constructor Description RowToProtoConverter(org.apache.flink.table.types.logical.RowType rowType, PbFormatConfig formatConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]convertRowToProtoBinary(org.apache.flink.table.data.RowData rowData)protected booleanisCodeSplit()
-
-
-
Constructor Detail
-
RowToProtoConverter
public RowToProtoConverter(org.apache.flink.table.types.logical.RowType rowType, PbFormatConfig formatConfig) throws PbCodegenException- Throws:
PbCodegenException
-
-