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

Xiaolu Ye commented on AVRO-726:
--------------------------------

Hi Scott,

Sorry, just saw your comment. I'll supply a patch shortly.

Meanwhile, is it possible to make those data members protected in 1.5 anyway? 
Noticed as of now, it's not in the blocker list. 

Thanks,

Xiaolu

> Make GenericDatumReader/GenericDatumWriter data member protected so that it 
> can be used by the derived classes
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: AVRO-726
>                 URL: https://issues.apache.org/jira/browse/AVRO-726
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.5.0
>            Reporter: Xiaolu Ye
>             Fix For: 1.5.0
>
>
> Currently, GenericDatumReader/GenericDatumWriter data members are private. Is 
> it possible to make them protected so that we could extend those classes and 
> create our own special DatumReader/Writer? The reason we want to do that is 
> because we've created our own base SpecificRecordEx that implements 
> SpecificRecord and added put/get for primitive types. We now want to extend 
> the GenericDatumReader/GenericDatumWriter to use those primitive put/get 
> functions to reduce box/unbox for better performance. 
> Thanks,
> Xiaolu

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to