Commits


liyafan82 authored and Micah Kornfield committed fa47050e497
ARROW-12310: [Java] ValueVector#getObject should support covariance for complex types 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. Closes #9964 from liyafan82/fly_0408_cv Authored-by: liyafan82 <fan_li_ya@foxmail.com> Signed-off-by: Micah Kornfield <emkornfield@gmail.com>