Micah Kornfield created ARROW-6296: -------------------------------------- Summary: [Java] Cleanup JDBC interfaces and eliminate one memcopy for binary/varchar fields Key: ARROW-6296 URL: https://issues.apache.org/jira/browse/ARROW-6296 Project: Apache Arrow Issue Type: Improvement Components: Java Reporter: Micah Kornfield
* If we use direct setting of fields, we can avoid the extra temporary buffer and memcpy by setting bytes directly. * We should overwrite existing vectors in consumers before returning results, to avoid the possibility of closing vectors in use (or alternatively make sure we retain the underlying buffers). * Try to eliminate some of the state in load() by moving initialization to the constructor. -- This message was sent by Atlassian Jira (v8.3.2#803003)