@InterfaceAudience.Public @InterfaceStability.Stable public class TezTaskID extends TezID
TezTaskAttemptID| Constructor and Description |
|---|
TezTaskID() |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
appendTo(StringBuilder builder)
Add the unique string to the given builder.
|
int |
compareTo(TezID o)
Compare TaskInProgressIds by first jobIds, then by tip numbers and type.
|
boolean |
equals(Object o) |
static TezTaskID |
fromString(String taskIdStr) |
static TezTaskID |
getInstance(TezVertexID vertexID,
int id)
Constructs a TezTaskID object from given
TezVertexID. |
TezVertexID |
getVertexID()
Returns the
TezVertexID object that this task belongs to |
int |
hashCode() |
void |
readFields(DataInput in) |
static TezTaskID |
readTezTaskID(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public static final String TASK
public static TezTaskID getInstance(TezVertexID vertexID, int id)
TezVertexID.vertexID - the vertexID object for this TezTaskIDid - the tip numberpublic TezVertexID getVertexID()
TezVertexID object that this task belongs topublic int compareTo(TezID o)
compareTo in interface Comparable<TezID>compareTo in class TezIDprotected StringBuilder appendTo(StringBuilder builder)
builder - the builder to append topublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class TezIDIOExceptionpublic static TezTaskID readTezTaskID(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class TezIDIOExceptionCopyright © 2014 Apache Software Foundation. All rights reserved.