Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12310

[Java] ValueVector#getObject should support covariance for complex types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • Java

    Description

      Currently, the ValueVector#getObject API supports covariance for primitive types.
      For example, IntVector#getObject returns Integer while BitVector#getObject returns Boolean.

      For complex types, we should also support covariance. For example, ListVector#getObject should return a List

      This will help reduce unnecessary casts, and enforce type safety.

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              fan_li_ya Liya Fan
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 10m
                  2h 10m