avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: How to deserialize java resource file in the jar package?
Date Fri, 02 May 2014 21:35:57 GMT
On Tue, Apr 29, 2014 at 10:43 PM, Fengyun RAO <raofengyun@gmail.com> wrote:
> Could there also be an API requiring only a Stream object in java, which I
> think would be quite convenient.

Please see DataFileStream, which can be constructed using an
InputStream.  This is the base class for DataFileReader.

http://avro.apache.org/docs/current/api/java/org/apache/avro/file/DataFileStream.html

Doug

Mime
View raw message