org.apache.tez.dag.api
Class GroupInputEdge

java.lang.Object
  extended by org.apache.tez.dag.api.GroupInputEdge

public class GroupInputEdge
extends Object


Constructor Summary
GroupInputEdge(VertexGroup inputVertexGroup, Vertex outputVertex, EdgeProperty edgeProperty, InputDescriptor mergedInput)
          An Edge that connects a VertexGroup to a destination Vertex.
 
Method Summary
 EdgeProperty getEdgeProperty()
           
 String getId()
           
 VertexGroup getInputVertexGroup()
           
 Vertex getOutputVertex()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupInputEdge

public GroupInputEdge(VertexGroup inputVertexGroup,
                      Vertex outputVertex,
                      EdgeProperty edgeProperty,
                      InputDescriptor mergedInput)
An Edge that connects a VertexGroup to a destination Vertex. The framework takes care of connecting the VertexGroup members with the destination vertex. The tasks of the destination vertex see only 1 input named after the VertexGroup instead of individual inputs from group members. These individual inputs are merged using the mergedInput before presenting them to the destination task.

Parameters:
inputVertexGroup - source VertexGroup
outputVertex - destination Vertex
edgeProperty - edge properties
mergedInput - MergedLogicalInput
Method Detail

getInputVertexGroup

public VertexGroup getInputVertexGroup()

getOutputVertex

public Vertex getOutputVertex()

getEdgeProperty

public EdgeProperty getEdgeProperty()

getId

@InterfaceAudience.Private
public String getId()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 Apache Software Foundation. All rights reserved.