@Override public Tuple3<Integer, Long, String> map(CustomType value) throws Exception { out.setField(value.myInt, 0); out.setField(value.myLong, 1); out.setField(value.myString, 2); return out; }
@Override public Tuple3<Integer, Long, String> map(Tuple3<Integer, Long, String> value) throws Exception { out.setFields(f2Replace, value.f1, value.f2); return out; }
@Override public Tuple3<Integer, Long, String> map(Tuple3<Integer, Long, String> value) throws Exception { Integer incr = Integer.valueOf(value.f0.intValue() + 1); value.setField(incr, 0); return value; }
@Override public Tuple3<Integer, String, Long> map(Tuple3<Integer, Long, String> value) throws Exception { Integer incr = Integer.valueOf(value.f0.intValue() + 1); out.setFields(incr, value.f2, value.f1); return out; }
@Override public String map(Tuple3<Integer, Long, String> value) throws Exception { return value.getField(2); }