hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adeel Qureshi <adeelmahm...@gmail.com>
Subject custom writablecomparable with complex fields
Date Sat, 31 Aug 2013 19:53:49 GMT
I want to write a custom writablecomparable object with two List objects
within it ..

public class CompositeKey implements WritableComparable {

private List<JsonKey> groupBy;
private List<JsonKey> sortBy;

what I am not sure about is how to write

readFields and write methods for this object. Any help would be appreciated.


View raw message