@InterfaceAudience.Public @InterfaceStability.Stable public class TezVertexID extends TezID implements DAGIDAware
TezDAGID,
that is the Tez DAG that this vertex belongs to. The second part is
the vertex number.| Constructor and Description |
|---|
TezVertexID() |
| 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 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) |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetApplicationIdpublic static final String VERTEX
public static TezVertexID getInstance(TezDAGID dagId, int id)
TezDAGID.dagId - TezDAGID object for this TezVertexIDid - the tip numberNullPointerException - if dagId is nullpublic TezDAGID getDAGID()
TezDAGID object that this tip belongs togetDAGID in interface DAGIDAwarepublic 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 © 2022 Apache Software Foundation. All rights reserved.