[
https://issues.apache.org/jira/browse/AVRO-241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-241:
------------------------------
Attachment: AVRO-241.patch
> the properties that the reflect API [ ... ] should be referenced in JavaDoc
Done. I substantially updated the javadoc.
> // if array element type is a class with a union annotation, note it
> typo: extra "it" at end of first line
That's intended.
> R9 could be annotated to note that it's checking arrays of unions.
Done.
> add union annotation to reflect API
> -----------------------------------
>
> Key: AVRO-241
> URL: https://issues.apache.org/jira/browse/AVRO-241
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Doug Cutting
> Assignee: Doug Cutting
> Fix For: 1.3.0
>
> Attachments: AVRO-241.patch, AVRO-241.patch, AVRO-241.patch,
> AVRO-241.patch
>
>
> In existing Hadoop RPC interfaces one can use an abstract base class or
> interface in a method declaration, and then pass different instantiable
> subclasses, since Hadoop RPC tags parameters and return types with their
> runtime java class name. To permit such interfaces to be supported by Avro
> reflection we can add a Union annotation that can be added to the base class,
> declaring its instantiable subclasses for Avro.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.