A writableComparable is an interface. A key in mapreduce needs to implement
it, since the keys need to be compared for equality. So it has nothing to
do with key value pairs as such.

Regards, Dieter


2013/11/4 unmesha sreeveni <[email protected]>

>
> what is CompateTo() in WritableComparable?
> Is that comparing a key and value or comparing key and key,value and value
>
> --
> *Thanks & Regards*
>
> Unmesha Sreeveni U.B
>
> *Junior Developer*
>
> *Amrita Center For Cyber Security *
>
>
> * Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
>

Reply via email to