flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hogan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6874) Static and transient fields ignored for POJOs
Date Thu, 08 Jun 2017 14:41:18 GMT
Greg Hogan created FLINK-6874:
---------------------------------

             Summary: Static and transient fields ignored for POJOs
                 Key: FLINK-6874
                 URL: https://issues.apache.org/jira/browse/FLINK-6874
             Project: Flink
          Issue Type: Improvement
          Components: Documentation
    Affects Versions: 1.4.0
            Reporter: Greg Hogan
            Assignee: Greg Hogan
            Priority: Trivial


Update {{dev/types_serialization.html}} to note that static and transient fields are ignored
when validating a POJO ({{TypeExtractor#analyzePojo}} calls {{#getAllDeclaredFields}} which
ignores transient and static fields) and that {{is}} methods are allowed in place of {{get}}
(see {{#isValidPojoField}}).

"All fields in the class (and all superclasses) are either public (and non-final) or have
a public getter- and a setter- method that follows the Java beans naming conventions for getters
and setters."



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message