| Package | Description | 
|---|---|
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapreduce | 
| Modifier and Type | Method and Description | 
|---|---|
| static String | TaskAttemptID. getTaskAttemptIDsPattern(String jtIdentifier,
                        Integer jobId,
                        TaskType type,
                        Integer taskId,
                        Integer attemptId)Deprecated.  | 
| static String | TaskID. getTaskIDsPattern(String jtIdentifier,
                 Integer jobId,
                 TaskType type,
                 Integer taskId)Deprecated.  | 
| Constructor and Description | 
|---|
| TaskAttemptID(String jtIdentifier,
             int jobId,
             TaskType type,
             int taskId,
             int id)Constructs a TaskId object from given parts. | 
| TaskID(JobID jobId,
      TaskType type,
      int id)Constructs a TaskID object from given  JobID. | 
| TaskID(String jtIdentifier,
      int jobId,
      TaskType type,
      int id)Constructs a TaskInProgressId object from given parts. | 
| Modifier and Type | Method and Description | 
|---|---|
| TaskType | TaskID. getTaskType()Get the type of the task. | 
| TaskType | TaskAttemptID. getTaskType()Returns the TaskType of the TaskAttemptID | 
| static TaskType | TaskID. getTaskType(char c)Gets the  TaskTypecorresponding to the character. | 
| static TaskType | TaskType. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static TaskType[] | TaskType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static char | TaskID. getRepresentingCharacter(TaskType type)Gets the character representing the  TaskType. | 
| org.apache.hadoop.mapreduce.TaskReport[] | Job. getTaskReports(TaskType type)Get the information of the current state of the tasks of a job. | 
| Constructor and Description | 
|---|
| TaskAttemptID(String jtIdentifier,
             int jobId,
             TaskType type,
             int taskId,
             int id)Constructs a TaskId object from given parts. | 
| TaskID(JobID jobId,
      TaskType type,
      int id)Constructs a TaskID object from given  JobID. | 
| TaskID(String jtIdentifier,
      int jobId,
      TaskType type,
      int id)Constructs a TaskInProgressId object from given parts. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.