Exemple #1
0
 @Override
 public void writeData(ObjectDataOutput out) throws IOException {
   out.writeUTF(mapName);
   out.writeObject(predicate);
   out.writeByte(iterationType.getId());
   out.writeObject(aggregator);
   out.writeObject(projection);
 }
 @Override
 protected void writeInternal(ObjectDataOutput out) throws IOException {
   super.writeInternal(out);
   out.writeObject(predicate);
   out.writeByte(iterationType.getId());
 }