Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1511

Scala classes not identified as Pojos

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.9
    • None
    • API / Scala
    • None

    Description

      Regular Scala classes such as

      class WC(var word: String, var cnt: Int) {
        // my logic
      }
      

      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.

      Attachments

        Activity

          People

            aljoscha Aljoscha Krettek
            fhueske Fabian Hueske
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: