flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebastian Kruse (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1511) Scala classes not identified as Pojos
Date Wed, 11 Feb 2015 09:43:11 GMT

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

Sebastian Kruse commented on FLINK-1511:
----------------------------------------

I had a similar issue with case classes. There the problem was a missing default constructor,
which seems to be required in the analyzePojo(..). Might that apply here as well?

> Scala classes not identified as Pojos
> -------------------------------------
>
>                 Key: FLINK-1511
>                 URL: https://issues.apache.org/jira/browse/FLINK-1511
>             Project: Flink
>          Issue Type: Bug
>          Components: Scala API
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>
> Regular Scala classes such as 
> {code}
> class WC(var word: String, var cnt: Int) {
>   // my logic
> }
> {code}
> are not identified as POJO data types.
> Scala handles {{var}} class constructor parameters (such as {{word}} and {{cnt}}) as
public and generates getters and setters for them.



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

Mime
View raw message