avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (AVRO-404) Support "mixin properties" for specific codegen
Date Fri, 05 Feb 2010 22:40:28 GMT
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.


Mime
View raw message