[ https://issues.apache.org/jira/browse/FLINK-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317945#comment-14317945 ]
Stephan Ewen commented on FLINK-1512: ------------------------------------- [~chiwanpark] Here is the difference: - The {{types}} method lets you supply a list of primitive types and will construct an n-tuple - The {{tupleType}} method allows you to use a class that is a subclass of the n-Tuple, and it will derive the field types from that class, and return instances of that class and put the fields into it. Something like {{class MyType extends Tuple3<Long, String, Double> ...}} > Add CsvReader for reading into POJOs. > ------------------------------------- > > Key: FLINK-1512 > URL: https://issues.apache.org/jira/browse/FLINK-1512 > Project: Flink > Issue Type: New Feature > Components: Java API, Scala API > Reporter: Robert Metzger > Assignee: Chiwan Park > Priority: Minor > Labels: starter > > Currently, the {{CsvReader}} supports only TupleXX types. > It would be nice if users were also able to read into POJOs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)