avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Carey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1299) SpecificRecordBase implements GenericRecord
Date Thu, 18 Apr 2013 20:20:14 GMT

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

Scott Carey commented on AVRO-1299:
-----------------------------------

I'm uncomfortable with the mutator here. (put)  This may make immutable records impossible
in the future.  Currently the only mutators are generated from the template, can these be
optional from the compile template as well?  Or can we break up the generic record interface
into read/write bits and only expose the accessor by default?
                
> SpecificRecordBase implements GenericRecord
> -------------------------------------------
>
>                 Key: AVRO-1299
>                 URL: https://issues.apache.org/jira/browse/AVRO-1299
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.7.4
>            Reporter: Christophe Taton
>            Priority: Minor
>             Fix For: 1.7.5
>
>         Attachments: AVRO-1299.20130416-222225.patch, AVRO-1299.20130417-101039.patch
>
>
> Code written for generic records should be directly applicable on equivalent specific
records.

--
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

Mime
View raw message