Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> In Java, how can I create an equivalent of an Apache Avro container file without being forced to use a File as a medium?


Copy link to this message
-
Re: In Java, how can I create an equivalent of an Apache Avro container file without being forced to use a File as a medium?
Hi Bernard,

I think you're looking for the DataFileStream class:
http://avro.apache.org/docs/1.5.4/api/java/org/apache/avro/file/DataFileStream.html

Some of the command line tools use this class-- e.g. see
http://svn.apache.org/viewvc/avro/tags/release-1.5.4/lang/java/tools/src/main/java/org/apache/avro/tool/ToTextTool.java?revision=1169533&view=markuplines
64-69.

Best,
Joe

On Sat, Sep 24, 2011 at 5:14 AM, Bernard Liang <[EMAIL PROTECTED]>wrote:

> Hello,
>
> This is somewhat of a more advanced question regarding the Java
> implementation of Avro. The details are located at the following link:
>
>
> http://stackoverflow.com/questions/7537959/in-java-how-can-i-create-an-equivalent-of-an-apache-avro-container-file-without
>
> If there is anyone that might be able to assist me with this, I would like
> to get in contact with you.
>
> Best regards,
> Bernard Liang
>