Hey folks ,

I have a small question regarding TableMap class. I know it is deprecated in
0.20.3 ,

But the declaration was changed from

public interface TableMap<K extends WritableComparable, V extends Writable>
extends Mapper<ImmutableBytesWritable, RowResult, K, V>

 TO

public interface TableMap<K extends WritableComparable<? super K>, V extends
Writable>
extends Mapper<ImmutableBytesWritable, RowResult, K, V> {


Why is there an additional restriction on K  that "<? super K>"  . Because
of this my app written for 0.19.3 isn't getting compiled now .

Any suggestions or comments?

Thanks

Reply via email to