public class PbCodegenSimpleDeserializer extends Object implements PbCodegenDeserializer
| Constructor and Description |
|---|
PbCodegenSimpleDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType logicalType) |
| Modifier and Type | Method and Description |
|---|---|
String |
codegen(String resultVar,
String pbObjectCode,
int indent) |
public PbCodegenSimpleDeserializer(com.google.protobuf.Descriptors.FieldDescriptor fd,
org.apache.flink.table.types.logical.LogicalType logicalType)
public String codegen(String resultVar, String pbObjectCode, int indent) throws PbCodegenException
codegen in interface PbCodegenDeserializerresultVar - the final var name that is calculated by codegen. This var name will be used
by outsider codegen environment. resultVariable should be flink objectpbObjectCode - may be a variable or expression. Current codegen environment can use this
literal name directly to access the input. pbObject should be a protobuf objectPbCodegenExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.