Package org.apache.nemo.common.ir.vertex
Class OperatorVertex
- java.lang.Object
-
- org.apache.nemo.common.dag.Vertex
-
- org.apache.nemo.common.ir.vertex.IRVertex
-
- org.apache.nemo.common.ir.vertex.OperatorVertex
-
- Direct Known Subclasses:
MessageAggregatorVertex
,MessageGeneratorVertex
,RelayVertex
,SignalVertex
public class OperatorVertex extends IRVertex
IRVertex that transforms input data. It is to be constructed in the compiler frontend with language-specific data transform logic.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperatorVertex(Transform t)
Constructor of OperatorVertex.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorVertex
getClone()
Creates and returns a copy of this object.com.fasterxml.jackson.databind.node.ObjectNode
getPropertiesAsJsonNode()
Transform
getTransform()
-
Methods inherited from class org.apache.nemo.common.ir.vertex.IRVertex
copyExecutionPropertiesTo, getExecutionProperties, getIRVertexPropertiesAsJsonNode, getPropertyValue, isUtilityVertex, setProperty, setPropertyPermanently
-
Methods inherited from class org.apache.nemo.common.dag.Vertex
getId, getNumericId
-
-
-
-
Constructor Detail
-
OperatorVertex
public OperatorVertex(Transform t)
Constructor of OperatorVertex.- Parameters:
t
- transform for the OperatorVertex.
-
-
Method Detail
-
getClone
public final OperatorVertex getClone()
Description copied from interface:Cloneable
Creates and returns a copy of this object.The precise meaning of "copy" may depend on the class of the object. The general intent is that, all fields of the object are copied.
- Returns:
- a clone of this object.
-
getTransform
public final Transform getTransform()
- Returns:
- the transform in the OperatorVertex.
-
getPropertiesAsJsonNode
public final com.fasterxml.jackson.databind.node.ObjectNode getPropertiesAsJsonNode()
- Overrides:
getPropertiesAsJsonNode
in classVertex
- Returns:
- JSON representation of additional properties
-
-