avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniil Gitelson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-2069) Use primitive fields in generated getters & setters in Java code
Date Tue, 29 Aug 2017 09:14:00 GMT
Daniil Gitelson created AVRO-2069:
-------------------------------------

             Summary: Use primitive fields in generated getters & setters in Java code
                 Key: AVRO-2069
                 URL: https://issues.apache.org/jira/browse/AVRO-2069
             Project: Avro
          Issue Type: Improvement
    Affects Versions: 1.8.2
            Reporter: Daniil Gitelson


Currently, for primitive types (such as int, long, etc) generated getters and setters return
and accept java.lang.* boxed (while fields actually holds primitive values). This is inefeccient
and produces code boilerplate.

I propose generating appropriate primitive types.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message