Interface PbCodegenSerializer

    • Method Detail

      • codegen

        String codegen​(String resultVar,
                       String flinkObjectCode,
                       int indent)
                throws PbCodegenException
        Parameters:
        resultVar - the final var name that is calculated by codegen. This var name will be used by outsider codegen environment. resultVariable should be protobuf object
        flinkObjectCode - 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.
        Returns:
        The java code generated
        Throws:
        PbCodegenException