public class PbCodegenMapDeserializer extends Object implements PbCodegenDeserializer
| Constructor and Description |
|---|
PbCodegenMapDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.MapType mapType,
boolean readDefaultValues) |
public PbCodegenMapDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.MapType mapType,
boolean readDefaultValues)
public String codegen(String returnVarName, String messageGetStr) throws PbCodegenException
codegen in interface PbCodegenDeserializerreturnVarName - the final var name that is calculated by codegen. This var name will be
used by outsider codegen environment.messageGetStr - may be a variable or expression. Current codegen environment can use
this literal name directly to access the input.PbCodegenExceptionCopyright © 2019–2021 The Apache Software Foundation. All rights reserved.