예제 #1
0
 public TajoIdProtos.TaskAttemptIdProto getProto() {
   return TajoIdProtos.TaskAttemptIdProto.newBuilder()
       .setTaskId(taskId.getProto())
       .setId(id)
       .build();
 }
예제 #2
0
 public TaskAttemptId(TajoIdProtos.TaskAttemptIdProto proto) {
   this(new TaskId(proto.getTaskId()), proto.getId());
 }