public class PbCodegenRowSerializer extends Object implements PbCodegenSerializer
| Constructor and Description |
|---|
PbCodegenRowSerializer(com.google.protobuf.Descriptors.Descriptor descriptor,
org.apache.flink.table.types.logical.RowType rowType,
PbFormatContext formatContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
codegen(String resultVar,
String flinkObjectCode,
int indent) |
public PbCodegenRowSerializer(com.google.protobuf.Descriptors.Descriptor descriptor,
org.apache.flink.table.types.logical.RowType rowType,
PbFormatContext formatContext)
public String codegen(String resultVar, String flinkObjectCode, int indent) throws PbCodegenException
codegen in interface PbCodegenSerializerresultVar - the final var name that is calculated by codegen. This var name will be used
by outsider codegen environment. resultVariable should be protobuf objectflinkObjectCode - may be a variable or expression. Current codegen environment can use
this literal name directly to access the input. flinkObject should be a flink
internal object.PbCodegenExceptionCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.