hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dieter De Witte <drdwi...@gmail.com>
Subject Re: CompateTo() in WritableComparable
Date Mon, 04 Nov 2013 10:41:39 GMT
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 <unmeshabiju@gmail.com>

>
> 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/>*
>

Mime
View raw message