public interface PbCodegenSerializer
PbCodegenSerializer is responsible for converting flink internal data object to protobuf
object by codegen process. The codegen procedure could be considered as
resultVariableCode = codegen(flinkObjectCode)
| Modifier and Type | Method and Description |
|---|---|
String |
codegen(String resultVar,
String flinkObjectCode,
int indent) |
String codegen(String resultVar, String flinkObjectCode, int indent) throws PbCodegenException
resultVar - 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.