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

generated record classes should use unboxed numeric types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • java
    • None

    Description

      Currently, in a generated Java class, an integer field has type java.lang.Integer. It would be more efficient if "int" were used. Similarly for longs, floats, doubles and boolean.

      Attachments

        1. AVRO-89.patch
          1 kB
          Doug Cutting

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: