Commits


liyafan82 authored and Micah Kornfield committed c46c5e68b4f
ARROW-6707: [Java] Improve the performance of JDBC adapters by using nullable information JDBC meta data has a field that indicates if a column can contain null. We can make use of this information when transforming jdbc data to arrow vectors. In particular, if the column cannot have null, there is no need to call the JDBC API for each value to check if the last value is null. This will improve the performance of transforming JDBC data to arrow vectors. Closes #5508 from liyafan82/fly_0926_null and squashes the following commits: 65b71fad0 <liyafan82> Revise the loop in the composite consumer eb373704c <liyafan82> Make consumers override the consume method 245f8d7cf <liyafan82> Evaluate more columns in the benchmark 00a3a4efa <liyafan82> Adjust benchmark to consume multiple columns without loop 3d1327e39 <liyafan82> Add benchmark to consume multiple columns 51a54e17c <liyafan82> Adjust the benchmark 81d083547 <liyafan82> Revise Javadoc for JdbcConsumer#wasNull 41fb48f59 <liyafan82> Fix bug for null consumer a15b14f55 <liyafan82> Merge branch 'master' into fly_0926_null 7b687f9bc <liyafan82> Remove if branch by overriding wasNull method 044557bfb <liyafan82> Provide separate consumers for nullable and non-nullable scenarios f691e9014 <liyafan82> Revise the benchmark 6f7d78650 <liyafan82> Improve the performance of JDBC adapters by using nullable information Authored-by: liyafan82 <fan_li_ya@foxmail.com> Signed-off-by: Micah Kornfield <emkornfield@gmail.com>