You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Keegan Witt (JIRA)" <ji...@apache.org> on 2014/07/25 15:51:39 UTC

[jira] [Commented] (AVRO-1552) Option to use primitive wrappers for fields

    [ https://issues.apache.org/jira/browse/AVRO-1552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074405#comment-14074405 ] 

Keegan Witt commented on AVRO-1552:
-----------------------------------

Out of curiosity, why are primitives used at all?  The getters and setters seem to use the primitive wrappers anyway.

> Option to use primitive wrappers for fields
> -------------------------------------------
>
>                 Key: AVRO-1552
>                 URL: https://issues.apache.org/jira/browse/AVRO-1552
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Keegan Witt
>
> It'd be nice if there were an option for SpecificCompiler that would use primitive wrappers (Integer, Long, etc) instead of their primitive types (int, long, etc).  One use case is that the serialization would still fail if these were not set and one didn't use the builder.



--
This message was sent by Atlassian JIRA
(v6.2#6252)