public class PbCodegenSimpleSerializer extends Object implements PbCodegenSerializer
| Constructor and Description |
|---|
PbCodegenSimpleSerializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType type) |
public PbCodegenSimpleSerializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType type)
public String codegen(String returnPbVar, String dataGetStr)
codegen in interface PbCodegenSerializerreturnPbVar - dataGetStr - dataGetStr is the expression string from row data, the real value of
rowFieldGetStr may be null, String, int, long, double, float, boolean, byte[]Copyright © 2019–2021 The Apache Software Foundation. All rights reserved.