Jyoti

The following tutorial may help explain things in more detail -
http://developer.yahoo.com/hadoop/tutorial/module5.html#writable

Rob

On 18/11/2013 15:33, "Sebastian Schelter" <[email protected]> wrote:

>These functions are used to serialize instances of the class, e.g. to
>spill them to disk, hold them in byte arrays or send them over the
>network.
>
>--sebastian
>
>On 18.11.2013 16:26, Jyoti Yadav wrote:
>> Hi  folks...
>> 
>> Would you please explain me in simple words--What is the use of
>>following
>> two functions in Writable.java class.
>> 
>> 1.   public void readFields(DataInput in)
>> 2.    public void write(DataOutput out)
>> 
>> When we are going to write some custom class which is implementing
>> Writable.java , then how we should deal with these two functions...??
>> 
>> Thanks
>> Jyoti
>> 
>




Reply via email to