@InterfaceAudience.Public @InterfaceStability.Stable public class TezVertexID extends TezID
TezDAGID,
that is the Tez DAG that this vertex belongs to. The second part is
the vertex number.TezID.TezIDCache<T>| Constructor and Description |
|---|
TezVertexID() |
| 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 TezVertexID |
fromString(String vertexIdStr) |
TezDAGID |
getDAGId()
Returns the
TezDAGID object that this tip belongs to |
static TezVertexID |
getInstance(TezDAGID dagId,
int id)
Constructs a TezVertexID object from given
TezDAGID. |
int |
hashCode() |
void |
readFields(DataInput in) |
static TezVertexID |
readTezVertexID(DataInput in) |
String |
toString() |
void |
write(DataOutput out) |
public static final String VERTEX
public static TezVertexID getInstance(TezDAGID dagId, int id)
TezDAGID.dagId - TezDAGID object for this TezVertexIDid - the tip number@InterfaceAudience.Private public static void clearCache()
public int compareTo(TezID o)
compareTo in interface Comparable<TezID>compareTo in class TezIDpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class TezIDIOExceptionpublic static TezVertexID readTezVertexID(DataInput in) throws IOException
IOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class TezIDIOExceptionprotected StringBuilder appendTo(StringBuilder builder)
builder - the builder to append topublic static TezVertexID fromString(String vertexIdStr)
Copyright © 2019 Apache Software Foundation. All rights reserved.