SequenceFileLoader in ElephantBird is very generic. Lets you load/store any
writables.

https://github.com/kevinweil/elephant-bird/blob/master/src/java/com/twitter/elephantbird/pig/load/SequenceFileLoader.java

For arbitrary Writable, you can use "GenericWritableConverter" and it
returns raw writable bytes (you can process them in your UDF).

describe your use case here if you need more help.

Raghu.

On Tue, Nov 1, 2011 at 4:44 PM, Gayatri Rao <rgayat...@gmail.com> wrote:

> Does any one have an example of how to use SequenceFileLoader for writable
> objects other than IntWritable, LongWritable, Text etc.
>
>
> Thanks
> Gayatri
>

Reply via email to