Class JobVertexBuildContext
java.lang.Object
org.apache.flink.streaming.api.graph.util.JobVertexBuildContext
Helper class encapsulates all necessary information and configurations required during the
construction of job vertices.
-
Constructor Summary
ConstructorsConstructorDescriptionJobVertexBuildContext(JobGraph jobGraph, StreamGraph streamGraph, AtomicBoolean hasHybridResultPartition, Map<Integer, byte[]> hashes, List<Map<Integer, byte[]>> legacyHashes, SlotSharingGroup defaultSlotSharingGroup) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChainInfo(Integer startNodeId, OperatorChainInfo chainInfo) voidaddJobVertex(Integer startNodeId, JobVertex jobVertex) voidgetChainInfo(Integer startNodeId) Map<JobVertexID,List<CompletableFuture<org.apache.flink.util.SerializedValue<OperatorCoordinator.Provider>>>> byte[]getJobVertex(Integer startNodeId) List<byte[]>getLegacyHashes(Integer streamNodeId) getOrCreateChainedConfig(Integer streamNodeId) booleanvoidputCoordinatorSerializationFutures(JobVertexID vertexId, List<CompletableFuture<org.apache.flink.util.SerializedValue<OperatorCoordinator.Provider>>> serializationFutures) voidsetHasHybridResultPartition(boolean hasHybridResultPartition)
-
Constructor Details
-
JobVertexBuildContext
public JobVertexBuildContext(JobGraph jobGraph, StreamGraph streamGraph, AtomicBoolean hasHybridResultPartition, Map<Integer, byte[]> hashes, List<Map<Integer, byte[]>> legacyHashes, SlotSharingGroup defaultSlotSharingGroup)
-
-
Method Details
-
addChainInfo
-
getChainInfo
-
getChainInfosInOrder
-
getStreamGraph
-
hasHybridResultPartition
public boolean hasHybridResultPartition() -
setHasHybridResultPartition
public void setHasHybridResultPartition(boolean hasHybridResultPartition) -
addPhysicalEdgesInOrder
-
getPhysicalEdgesInOrder
-
addJobVertex
-
getJobVerticesInOrder
-
getJobVertex
-
putCoordinatorSerializationFutures
public void putCoordinatorSerializationFutures(JobVertexID vertexId, List<CompletableFuture<org.apache.flink.util.SerializedValue<OperatorCoordinator.Provider>>> serializationFutures) -
getCoordinatorSerializationFuturesPerJobVertex
public Map<JobVertexID,List<CompletableFuture<org.apache.flink.util.SerializedValue<OperatorCoordinator.Provider>>>> getCoordinatorSerializationFuturesPerJobVertex() -
getChainedConfigs
-
getOrCreateChainedConfig
-
getHash
-
getLegacyHashes
-
getJobGraph
-
getDefaultSlotSharingGroup
-