Package org.apache.nemo.common.dag
Class Vertex
- java.lang.Object
-
- org.apache.nemo.common.dag.Vertex
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class Vertex extends java.lang.Object implements java.io.Serializable
A vertex in DAG.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Vertex(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
java.lang.Integer
getNumericId()
com.fasterxml.jackson.databind.JsonNode
getPropertiesAsJsonNode()
-
-
-
Method Detail
-
getId
public final java.lang.String getId()
- Returns:
- identifier of the vertex
-
getNumericId
public final java.lang.Integer getNumericId()
- Returns:
- the numeric id of the vertex.
-
getPropertiesAsJsonNode
public com.fasterxml.jackson.databind.JsonNode getPropertiesAsJsonNode()
- Returns:
- JSON representation of additional properties
-
-