Have a look at SequenceFileInputFormat :
On Mon, Sep 3, 2012 at 8:26 PM, Francesco Silvestri <[EMAIL PROTECTED]>wrote:
> I have a binary file of integers and I would like an input format that
> generates pairs <key,value>, where value is an integer in the file and key
> the position of the integer in the file. Which class should I use? (i.e.
> I'm looking for a kind of TextinputFormat for binary files)
> Thank you for your consideration,