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
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.