[
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
Here's a patch that implements this, with tests.
> 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
>
>
> 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.