You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2017/06/08 14:41:18 UTC
[jira] [Created] (FLINK-6874) Static and transient fields ignored
for POJOs
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)