@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ID extends Object implements org.apache.hadoop.io.WritableComparable<ID>
JobID, 
 TaskID and TaskAttemptID.JobID, 
TaskID, 
TaskAttemptID| Modifier and Type | Field and Description | 
|---|---|
| protected int | id | 
| protected static char | SEPARATOR | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | ID() | 
|   | ID(int id)constructs an ID object from the given int | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(ID that)Compare IDs by associated numbers | 
| boolean | equals(Object o) | 
| int | getId()returns the int which represents the identifier | 
| int | hashCode() | 
| void | readFields(DataInput in) | 
| String | toString() | 
| void | write(DataOutput out) | 
protected static final char SEPARATOR
protected int id
public ID(int id)
protected ID()
public int getId()
public int compareTo(ID that)
compareTo in interface Comparable<ID>public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2008–2018 Apache Software Foundation. All rights reserved.