Class StreamingJobGraphGenerator
- java.lang.Object
-
- org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator
-
@Internal public class StreamingJobGraphGenerator extends Object
The StreamingJobGraphGenerator converts aStreamGraph
into aJobGraph
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobGraph
createJobGraph(ClassLoader userClassLoader, StreamGraph streamGraph, org.apache.flink.api.common.JobID jobID)
static JobGraph
createJobGraph(StreamGraph streamGraph)
static OperatorID
generateOperatorID(String operatorUid)
Creates an instance ofOperatorID
based on the provided operator unique identifier (UID).static boolean
isChainable(StreamEdge edge, StreamGraph streamGraph)
-
-
-
Method Detail
-
createJobGraph
@VisibleForTesting public static JobGraph createJobGraph(StreamGraph streamGraph)
-
createJobGraph
public static JobGraph createJobGraph(ClassLoader userClassLoader, StreamGraph streamGraph, @Nullable org.apache.flink.api.common.JobID jobID)
-
generateOperatorID
public static OperatorID generateOperatorID(String operatorUid)
Creates an instance ofOperatorID
based on the provided operator unique identifier (UID).- Parameters:
operatorUid
- the unique identifier of the operator, used to generate the hash- Returns:
- a new
OperatorID
instance generated from the specified operator UID
-
isChainable
public static boolean isChainable(StreamEdge edge, StreamGraph streamGraph)
-
-