GitHub user omalley opened a pull request:
https://github.com/apache/orc/pull/278
ORC-251: Extend InStream and OutStream to support encryption.
This patch:
* Adds a method to Codec to get the CompressionKind.
* Creates StreamOptions for both InStream and OutStream to gather together
the parameters they need.
* Extends InStream and OutStream to handle encryption.
* Changes InStream to use DiskRangeList instead of List<DiskRange>.
* Creates CryptoUtils with a method to create an IV based on the stream
name.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/omalley/orc orc-251
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/orc/pull/278.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #278
----
commit ff620c3faccbabc7e011e245dfb3bcdbfef41b7a
Author: Owen O'Malley <omalley@...>
Date: 2018-05-09T16:36:28Z
ORC-251: Extend InStream and OutStream to support encryption.
----
---