[ 
https://issues.apache.org/jira/browse/FLINK-5385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15770508#comment-15770508
 ] 

ASF GitHub Bot commented on FLINK-5385:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/3038


> Add a help function to create Row
> ---------------------------------
>
>                 Key: FLINK-5385
>                 URL: https://issues.apache.org/jira/browse/FLINK-5385
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jark Wu
>            Assignee: Jark Wu
>
> Currently, it is trivial to create a Row, for example:
> {code:java}
> Row row = new Row(3);
> row.setField(0, "hello");
> row.setField(1, true);
> row.setField(2, 1L);
> {code}
> It would be nice to have a help method {{of}} to create a Row, such as:
> {code:java}
> Row row = Row.of("hello", true, 1L);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to