You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2012/09/11 00:10:07 UTC
[jira] [Assigned] (AVRO-1149) Add all-args constructor to generated
class definitions
[ 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