forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-1864: [Java] Upgrade Netty to 4.1.17
Upgrade Netty to 4.1.17 since the Netty community will deprecate 4.0.x soon. This PR includes the following changes: - Bump Netty version. - Implement new ByteBuf APIs added in Netty 4.1.x: a bunch of get/setXXXLE methods. They are the opposite of get/setXXX method regarding byte order. E.g., as ArrowBuf is little endian, `setInt` will put an `int` to the buffer in little endian byte order, while `setIntLE` will put `int` in big byte endian order. The method naming seems confusing anyway, and I opened a Netty issue: netty/netty#7465. The user can call these new methods to get or set multi-byte integers in big endian byte order. - Make ArrowByteBufAllocator overwrite AbstractByteBufAllocator. Author: Shixiong Zhu <[email protected]> Closes apache#1376 from zsxwing/ARROW-1864 and squashes the following commits: 96a93e1 [Shixiong Zhu] extend AbstractByteBufAllocator; add javadoc for new methods bb97333 [Shixiong Zhu] Add comment for calculateNewCapacity 555f88a [Shixiong Zhu] Add methods back 5e09cca [Shixiong Zhu] Upgrade Netty to 4.1.x
- Loading branch information
1 parent
9d84f84
commit 707af38
Showing
5 changed files
with
320 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.