avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (AVRO-1149) Add all-args constructor to generated class definitions
Date Mon, 10 Sep 2012 22:10:07 GMT

     [ https://issues.apache.org/jira/browse/AVRO-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Doug Cutting reassigned AVRO-1149:

    Assignee: Gabriel Reid
> Add all-args constructor to generated class definitions
> -------------------------------------------------------
>                 Key: AVRO-1149
>                 URL: https://issues.apache.org/jira/browse/AVRO-1149
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments: AVRO-1149.patch
> Having an all-args constructor (in addition to the default no-args constructor) can make
it a lot easier to work with generated Avro classes directly, as it allows setting up the
state of the class in one call.
> The included builders are useful for this, but the use of the builder can be overly verbose
and not very readable when a small number of parameters are involved.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message