[ https://issues.apache.org/jira/browse/ARROW-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659730#comment-17659730 ]
Rok Mihevc commented on ARROW-2704: ----------------------------------- This issue has been migrated to [issue #19095|https://github.com/apache/arrow/issues/19095] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [Java] IPC stream handling should be more friendly to low level processing > -------------------------------------------------------------------------- > > Key: ARROW-2704 > URL: https://issues.apache.org/jira/browse/ARROW-2704 > Project: Apache Arrow > Issue Type: Improvement > Components: Java > Reporter: Bryan Cutler > Assignee: Bryan Cutler > Priority: Critical > Labels: pull-request-available > Fix For: 0.10.0 > > Time Spent: 19h 20m > Remaining Estimate: 0h > > With some minor adjustments, the Java IPC stream reader could be more > friendly to allow for low level message processing. By that I mean reading a > stream and examining messages without necessarily having to load the Record > Batch data. These include > * Separate MessageChannelReader.readNextMessage to allow access to the buffer > containing the message. > * MessageChannelReader input channel should be protected > * ArrowStreamWriter should make the message to end a stream static > * WriteChannel intToBytes could write to existing bytes or byte buffer > instead of creating new array -- This message was sent by Atlassian Jira (v8.20.10#820010)