Jark Wu created FLINK-5385:
------------------------------
Summary: 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)