@InterfaceAudience.Public public class GroupInputEdge extends Object
Modifier and Type | Method and Description |
---|---|
static GroupInputEdge |
create(VertexGroup inputVertexGroup,
Vertex outputVertex,
EdgeProperty edgeProperty,
InputDescriptor mergedInput)
An Edge that connects a
VertexGroup to a destination Vertex. |
boolean |
equals(Object obj) |
EdgeProperty |
getEdgeProperty() |
VertexGroup |
getInputVertexGroup() |
Vertex |
getOutputVertex() |
int |
hashCode() |
String |
toString() |
public static GroupInputEdge create(VertexGroup inputVertexGroup, Vertex outputVertex, EdgeProperty edgeProperty, InputDescriptor mergedInput)
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.inputVertexGroup
- source VertexGroup
outputVertex
- destination VertexedgeProperty
- the common EdgeProperty
for this GroupInputEdge
mergedInput
- MergedLogicalInput
This input is responsible for merging
the data from the input vertex tasks to create a single input for
the output vertex taskspublic VertexGroup getInputVertexGroup()
public Vertex getOutputVertex()
public EdgeProperty getEdgeProperty()
Copyright © 2024 Apache Software Foundation. All rights reserved.