orc-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <owen.omal...@gmail.com>
Subject Re: Creating a Reader from a Java InputStream
Date Thu, 20 Feb 2020 20:17:35 GMT
Just to be a little more clear, Java’s InputStream doesn’t provide the primitive methods
that we need.  We’d always need a sub interface That provides positioned reads and there
hasn’t been any consensus about which extension to use. 

Effectively what we need is Hadoop’s PositionedReadable  with ByteBuffers. I’m actually
currently defining the extension to PositionedReadable  to add an async read method with ByteBuffers.


https://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/PositionedReadable.html

.. Owen

> On Feb 20, 2020, at 11:01, Matamoros, Ronald <ronald.matamoros@accenture.com> wrote:
> 

Mime
View raw message