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

Automatically register Conversion<T> classes

    XMLWordPrintableJSON

Details

    Description

      Manually registering a Conversion<T> is cumbersome, but necessary if creating the factory requires constructor parameters.

      For most cases though, a Conversion<T> gets all the information it needs from the schema. This makes it a good candidate for a SPI (using the Java 6 ServiceLoader class).

      This is the addendum to AVRO-3441, which does the same thing for LogicalTypeFactory.

       

      Attachments

        Issue Links

          Activity

            People

              opwvhk Oscar Westra van Holthe - Kind
              opwvhk Oscar Westra van Holthe - Kind
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h