avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaolu Ye (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-770) Codegen enhancement per comments from Avro-726
Date Fri, 18 Feb 2011 15:26:38 GMT

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

Xiaolu Ye updated AVRO-770:

    Attachment: patch.zip

The patch.zip contains patch file for GenericDatumReader/Writer and new sets of extension
classes for the enhancement listed in the summary

> Codegen enhancement per comments from Avro-726
> ----------------------------------------------
>                 Key: AVRO-770
>                 URL: https://issues.apache.org/jira/browse/AVRO-770
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.4.1
>            Reporter: Xiaolu Ye
>         Attachments: patch.zip
> Codegen extension to support per discussion from Avro-726:
> 1) Introduced SpecificRecordEx interface that extends SpecificRecord and added setter/getter
of primitive types in it. 
> 2) All generated classes are derived from SpecificRecordEx with impl class has setter/getter
of primitive types auto-generated based on the schema
> 3) Auto generate interface class for record type with user friendly setter/getter of
proper types and maintain inheritance structure based on supertypes definition in the schema
> 4) Support callback dispatch by introducing Cbk interface in SpecificRecordEx with dispatch(Cbk)
function. All derived interface has its own Cbk interface derived from SpecificRecordEx.Cbk,
and its impl class implements dispatch(Cbk) to invoke the proper callback. 
> 5) Auto generate Builder class for each impl class 
> Patch will be supplied.

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


View raw message