You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fabian Hueske (JIRA)" <ji...@apache.org> on 2015/02/11 10:08:11 UTC

[jira] [Created] (FLINK-1511) Scala classes not identified as Pojos

Fabian Hueske created FLINK-1511:
------------------------------------

             Summary: 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)