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

Doug Cutting commented on AVRO-404:
-----------------------------------

The reflect API uses the "java-class" property in a schema for a related 
purpose.  It also uses annotations to specify this.

> Support "mixin properties" for specific codegen
> -----------------------------------------------
>
>                 Key: AVRO-404
>                 URL: https://issues.apache.org/jira/browse/AVRO-404
>             Project: Avro
>          Issue Type: New Feature
>          Components: java, spec
>            Reporter: Todd Lipcon
>
> As we add more features for RPC and the specific codegen, there are some 
> codegen options that should be provided as annotations on schema fields. For 
> example, some users may want to turn binary fields into byte[], and other 
> people may prefer ByteBuffer. Since these are codegen-scoped and not 
> data-scoped, it would be nice to allow the properties to be "mixed in" at 
> codegen time. By moving them out of the main schema definition, different 
> users of the same Avro protocol could make different choices for the codegen 
> in their specific applications.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to