예제 #1
0
 @Override
 public Tuple3<Integer, Long, String> map(Tuple3<Integer, Long, String> value) throws Exception {
   out.setFields(f2Replace, value.f1, value.f2);
   return out;
 }
예제 #2
0
 @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;
 }