Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-241

add union annotation to reflect API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • java
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. AVRO-241.patch
          5 kB
          Doug Cutting
        2. AVRO-241.patch
          9 kB
          Doug Cutting
        3. AVRO-241.patch
          16 kB
          Doug Cutting
        4. AVRO-241.patch
          21 kB
          Doug Cutting

        Activity

          People

            cutting Doug Cutting
            cutting Doug Cutting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: