public class MRProtoUtils extends Object
Constructor and Description |
---|
MRProtoUtils() |
Modifier and Type | Method and Description |
---|---|
static JobState |
convertFromProtoFormat(MRProtos.JobStateProto e) |
static Phase |
convertFromProtoFormat(MRProtos.PhaseProto e) |
static TaskAttemptCompletionEventStatus |
convertFromProtoFormat(MRProtos.TaskAttemptCompletionEventStatusProto e) |
static TaskAttemptState |
convertFromProtoFormat(MRProtos.TaskAttemptStateProto e) |
static TaskState |
convertFromProtoFormat(MRProtos.TaskStateProto e) |
static TaskType |
convertFromProtoFormat(MRProtos.TaskTypeProto e) |
static MRProtos.JobStateProto |
convertToProtoFormat(JobState e) |
static MRProtos.PhaseProto |
convertToProtoFormat(Phase e) |
static MRProtos.TaskAttemptCompletionEventStatusProto |
convertToProtoFormat(TaskAttemptCompletionEventStatus e) |
static MRProtos.TaskAttemptStateProto |
convertToProtoFormat(TaskAttemptState e) |
static MRProtos.TaskStateProto |
convertToProtoFormat(TaskState e) |
static MRProtos.TaskTypeProto |
convertToProtoFormat(TaskType e) |
public static MRProtos.JobStateProto convertToProtoFormat(JobState e)
public static JobState convertFromProtoFormat(MRProtos.JobStateProto e)
public static MRProtos.PhaseProto convertToProtoFormat(Phase e)
public static Phase convertFromProtoFormat(MRProtos.PhaseProto e)
public static MRProtos.TaskAttemptCompletionEventStatusProto convertToProtoFormat(TaskAttemptCompletionEventStatus e)
public static TaskAttemptCompletionEventStatus convertFromProtoFormat(MRProtos.TaskAttemptCompletionEventStatusProto e)
public static MRProtos.TaskAttemptStateProto convertToProtoFormat(TaskAttemptState e)
public static TaskAttemptState convertFromProtoFormat(MRProtos.TaskAttemptStateProto e)
public static MRProtos.TaskStateProto convertToProtoFormat(TaskState e)
public static TaskState convertFromProtoFormat(MRProtos.TaskStateProto e)
public static MRProtos.TaskTypeProto convertToProtoFormat(TaskType e)
public static TaskType convertFromProtoFormat(MRProtos.TaskTypeProto e)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.