Class DuplicateEdgeGroupPropertyValue
- java.lang.Object
-
- org.apache.nemo.common.ir.edge.executionproperty.DuplicateEdgeGroupPropertyValue
-
- All Implemented Interfaces:
java.io.Serializable
public final class DuplicateEdgeGroupPropertyValue extends java.lang.Object implements java.io.Serializable
Value of DuplicateEdgeGroupProperty. If isRepresentativeEdgeDecided is false, its physical edge id(representativeEdgeId) is not yet discovered. representativeEdgeId is the id of an edge that represents the group with an id of groupId. groupId uniquely defines a group of edges that handle the same data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DuplicateEdgeGroupPropertyValue(java.lang.String groupId)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGroupId()
Get the data id.int
getGroupSize()
Get the group size.java.lang.String
getRepresentativeEdgeId()
Get the physical edge id of the representative edge.boolean
isRepresentativeEdgeDecided()
void
setGroupSize(int groupSize)
Set the group size.void
setRepresentativeEdgeId(java.lang.String representativeEdgeId)
Set physical edge id.java.lang.String
toString()
-
-
-
Method Detail
-
setRepresentativeEdgeId
public void setRepresentativeEdgeId(java.lang.String representativeEdgeId)
Set physical edge id.- Parameters:
representativeEdgeId
- physical edge id of representative edge.
-
setGroupSize
public void setGroupSize(int groupSize)
Set the group size.- Parameters:
groupSize
- the group size.
-
getRepresentativeEdgeId
public java.lang.String getRepresentativeEdgeId()
Get the physical edge id of the representative edge.- Returns:
- physical edge id of the representative edge.
-
getGroupId
public java.lang.String getGroupId()
Get the data id.- Returns:
- data id.
-
getGroupSize
public int getGroupSize()
Get the group size.- Returns:
- the group size.
-
isRepresentativeEdgeDecided
public boolean isRepresentativeEdgeDecided()
- Returns:
- whether the representative edge is decided or not.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-