Java org.apache.hadoop.mapreduce TaskAttemptID fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.mapreduce TaskAttemptID fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.mapreduce TaskAttemptID.

The text is from its open source code.

Constructor

TaskAttemptID()
TaskAttemptID(String jtIdentifier, int jobId, TaskType type, int taskId, int id)
Constructs a TaskId object from given parts.
TaskAttemptID(String jtIdentifier, int jobId, boolean isMap, int taskId, int id)
Constructs a TaskId object from given parts.
TaskAttemptID(TaskID taskId, int id)
Constructs a TaskAttemptID object from given TaskID .

Method

TaskAttemptIDforName(String str)
Construct a TaskAttemptID object from given string
intgetId()
returns the int which represents the identifier
JobIDgetJobID()
Returns the JobID object that this task attempt belongs to
TaskIDgetTaskID()
Returns the TaskID object that this task attempt belongs to
TaskTypegetTaskType()
Returns the TaskType of the TaskAttemptID
booleanisMap()
Returns whether this TaskID is a map ID
StringtoString()