예제 #1
0
 @Override
 public void readFields(DataInput input) throws IOException {
   super.readFields(input);
   formatString = WritableUtils.readString(input);
   type = WritableUtils.readEnum(input, FunctionArgumentType.class);
   formatter = type.getFormatter(formatString);
 }
예제 #2
0
 @Override
 public void readFields(DataInput input) throws IOException {
   super.readFields(input);
   init();
 }