V
- the vertex type.public class RuntimeEdge<V extends Vertex> extends Edge<V>
Constructor and Description |
---|
RuntimeEdge(String runtimeEdgeId,
ExecutionPropertyMap edgeProperties,
V src,
V dst,
Coder coder)
Constructs the edge given the below parameters.
|
RuntimeEdge(String runtimeEdgeId,
ExecutionPropertyMap edgeProperties,
V src,
V dst,
Coder coder,
Boolean isSideInput)
Constructs the edge given the below parameters.
|
Modifier and Type | Method and Description |
---|---|
Coder |
getCoder() |
ExecutionPropertyMap |
getExecutionProperties() |
<T> T |
getProperty(ExecutionProperty.Key executionPropertyKey)
Get the execution property of the Runtime Edge.
|
Boolean |
isSideInput() |
String |
propertiesToJSON() |
getDst, getId, getNumericId, getSrc
public RuntimeEdge(String runtimeEdgeId, ExecutionPropertyMap edgeProperties, V src, V dst, Coder coder)
runtimeEdgeId
- the id of this edge.edgeProperties
- to control the data flow on this edge.src
- the source vertex.dst
- the destination vertex.coder
- coder.public RuntimeEdge(String runtimeEdgeId, ExecutionPropertyMap edgeProperties, V src, V dst, Coder coder, Boolean isSideInput)
runtimeEdgeId
- the id of this edge.edgeProperties
- to control the data flow on this edge.src
- the source vertex.dst
- the destination vertex.coder
- coder.isSideInput
- Whether or not the RuntimeEdge is a side input edge.public final <T> T getProperty(ExecutionProperty.Key executionPropertyKey)
T
- Type of the return value.executionPropertyKey
- key of the execution property.public final ExecutionPropertyMap getExecutionProperties()
public final Coder getCoder()
public final Boolean isSideInput()
public String propertiesToJSON()
propertiesToJSON
in class Edge<V extends Vertex>
Copyright © 2018. All rights reserved.