@InterfaceAudience.Public @InterfaceStability.Stable public abstract class TezID extends Object implements org.apache.hadoop.io.WritableComparable<TezID>
TezDAGID,
TezVertexID, TezTaskID, and TezTaskAttemptID.TezTaskID,
TezTaskAttemptID| Modifier and Type | Class and Description |
|---|---|
static class |
TezID.TezIDCache<T> |
| Modifier | Constructor and Description |
|---|---|
protected |
TezID() |
|
TezID(int id)
constructs an ID object from the given int
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TezID 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) |
static int |
readID(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public static final char SEPARATOR
protected int id
public TezID(int id)
protected TezID()
public int getId()
public int compareTo(TezID that)
compareTo in interface Comparable<TezID>public void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic static int readID(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2019 Apache Software Foundation. All rights reserved.