public final class IREdge extends Edge<IRVertex>
| Constructor and Description |
|---|
IREdge(DataCommunicationPatternProperty.Value commPattern,
IRVertex src,
IRVertex dst,
Coder coder)
Constructor of IREdge.
|
IREdge(DataCommunicationPatternProperty.Value commPattern,
IRVertex src,
IRVertex dst,
Coder coder,
Boolean isSideInput)
Constructor of IREdge.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyExecutionPropertiesTo(IREdge thatEdge)
Static function to copy executionProperties from an edge to the other.
|
boolean |
equals(Object o) |
Coder |
getCoder() |
ExecutionPropertyMap |
getExecutionProperties() |
<T> T |
getProperty(ExecutionProperty.Key executionPropertyKey)
Get the executionProperty of the IREdge.
|
int |
hashCode() |
Boolean |
hasSameItineraryAs(IREdge edge) |
Boolean |
isSideInput() |
String |
propertiesToJSON() |
IREdge |
setProperty(ExecutionProperty<?> executionProperty)
Set an executionProperty of the IREdge.
|
getDst, getId, getNumericId, getSrcpublic IREdge(DataCommunicationPatternProperty.Value commPattern, IRVertex src, IRVertex dst, Coder coder)
commPattern - data communication pattern type of the edge.src - source vertex.dst - destination vertex.coder - coder.public IREdge(DataCommunicationPatternProperty.Value commPattern, IRVertex src, IRVertex dst, Coder coder, Boolean isSideInput)
commPattern - data communication pattern type of the edge.src - source vertex.dst - destination vertex.coder - coder.isSideInput - flag for whether or not the edge is a sideInput.public IREdge setProperty(ExecutionProperty<?> executionProperty)
executionProperty - the execution property.public <T> T getProperty(ExecutionProperty.Key executionPropertyKey)
T - Type of the return value.executionPropertyKey - key of the execution property.public ExecutionPropertyMap getExecutionProperties()
public Coder getCoder()
public Boolean isSideInput()
public Boolean hasSameItineraryAs(IREdge edge)
edge - edge to compare.public void copyExecutionPropertiesTo(IREdge thatEdge)
thatEdge - the edge to copy executionProperties to.public String propertiesToJSON()
propertiesToJSON in class Edge<IRVertex>Copyright © 2018. All rights reserved.