170171172173174175176177178179180
@Override protected Void on_writable() throws IOException { WritableComparable writable = (WritableComparable)ReflectionUtils.newInstance(Util.getClass(in.readUTF()), this.conf); writable.readFields(in); this.values.add(writable); return null; }
178179180181182183184185186187188
return newTuple; } else { WritableComparable w = (WritableComparable)ReflectionUtils.newInstance( Util.getClass(input.readUTF()), conf); w.readFields(input); return w; } }