Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-5385

Add a help function to create Row

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Core
    • Labels:
      None

      Description

      Currently, it is trivial to create a Row, for example:

      Row row = new Row(3);
      row.setField(0, "hello");
      row.setField(1, true);
      row.setField(2, 1L);
      

      It would be nice to have a help method of to create a Row, such as:

      Row row = Row.of("hello", true, 1L);
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jark Jark Wu
                Reporter:
                jark Jark Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: