Thanks Doug, it works! 2014-05-03 5:35 GMT+08:00 Doug Cutting <[email protected]>:
> On Tue, Apr 29, 2014 at 10:43 PM, Fengyun RAO <[email protected]> > 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 >
