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

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

Introduction

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

The text is from its open source code.

Constructor

TaskID(JobID jobId, TaskType type, int id)
Constructs a TaskID object from given JobID .
TaskID(JobID jobId, boolean isMap, int id)
Constructs a TaskID object from given JobID .
TaskID()
Default constructor for Writable.
TaskID(String jtIdentifier, int jobId, TaskType type, int id)
Constructs a TaskInProgressId object from given parts.
TaskID(String jtIdentifier, int jobId, boolean isMap, int id)
Constructs a TaskInProgressId object from given parts.

Method

TaskIDforName(String str)
Construct a TaskID object from given string.
intgetId()
returns the int which represents the identifier
JobIDgetJobID()
Returns the JobID object that this tip belongs to.
TaskTypegetTaskType(char c)
Gets the TaskType corresponding to the character.
TaskTypegetTaskType()
Get the type of the task.
booleanisMap()
Returns whether this TaskID is a map ID.
StringtoString()