## Uses of Class
org.apache.hadoop.mapreduce.ID

- Packages that use ID
  Package | Description
  --- | ---
  org.apache.hadoop.mapred |
  org.apache.hadoop.mapreduce |

- - ### Uses of ID in org.apache.hadoop.mapred

    Subclasses of ID in org.apache.hadoop.mapred
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ID` A general identifier, which internally stores the id as an integer.

  - ### Uses of ID in org.apache.hadoop.mapreduce

    Subclasses of ID in org.apache.hadoop.mapreduce
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JobID` JobID represents the immutable and unique identifier for the job.
    `class` | `TaskAttemptID` TaskAttemptID represents the immutable and unique identifier for a task attempt.
    `class` | `TaskID` TaskID represents the immutable and unique identifier for a Map or Reduce Task.

    Methods in org.apache.hadoop.mapreduce with parameters of type ID
    Modifier and Type | Method and Description
    --- | ---
    `int` | ID.`compareTo(ID that)` Compare IDs by associated numbers
    `int` | TaskID.`compareTo(ID o)` Compare TaskInProgressIds by first jobIds, then by tip numbers.
    `int` | JobID.`compareTo(ID o)` Compare JobIds by first jtIdentifiers, then by job numbers
    `int` | TaskAttemptID.`compareTo(ID o)` Compare TaskIds by first tipIds, then by task numbers.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.