@InterfaceAudience.Public @InterfaceStability.Stable public class TezTaskID extends TezID
TezTaskAttemptIDTezID.TezIDCache<T>| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
appendTo(StringBuilder builder)
Add the unique string to the given builder.
|
static void |
clearCache() |
int |
compareTo(TezID o)
Compare TaskInProgressIds by first jobIds, then by tip numbers and type.
|
boolean |
equals(Object o) |
static TezTaskID |
fromString(String taskIdStr) |
int |
getHashCode(boolean makePositive) |
static TezTaskID |
getInstance(TezVertexID vertexID,
int id)
Constructs a TezTaskID object from given
TezVertexID. |
int |
getSerializingHash() |
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 number@InterfaceAudience.Private public static void clearCache()
public int getSerializingHash()
public 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 int getHashCode(boolean makePositive)
public 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 © 2019 Apache Software Foundation. All rights reserved.