Class StreamingJobGraphGenerator
- java.lang.Object
-
- org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator
-
@Internal public class StreamingJobGraphGenerator extends Object
The StreamingJobGraphGenerator converts aStreamGraphinto aJobGraph.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobGraphcreateJobGraph(ClassLoader userClassLoader, StreamGraph streamGraph, org.apache.flink.api.common.JobID jobID)static JobGraphcreateJobGraph(StreamGraph streamGraph)static OperatorIDgenerateOperatorID(String operatorUid)Creates an instance ofOperatorIDbased on the provided operator unique identifier (UID).static booleanisChainable(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 ofOperatorIDbased on the provided operator unique identifier (UID).- Parameters:
operatorUid- the unique identifier of the operator, used to generate the hash- Returns:
- a new
OperatorIDinstance generated from the specified operator UID
-
isChainable
public static boolean isChainable(StreamEdge edge, StreamGraph streamGraph)
-
-