Class OperatorChainInfo
- java.lang.Object
-
- org.apache.flink.streaming.api.graph.util.OperatorChainInfo
-
-
Constructor Summary
Constructors Constructor Description OperatorChainInfo(int startNodeId, Map<Integer,ChainedSourceInfo> chainedSources, StreamGraph streamGraph)
-
Method Summary
-
-
-
Constructor Detail
-
OperatorChainInfo
public OperatorChainInfo(int startNodeId, Map<Integer,ChainedSourceInfo> chainedSources, StreamGraph streamGraph)
-
-
Method Detail
-
getStartNodeId
public Integer getStartNodeId()
-
getChainedOperatorHashes
public List<ChainedOperatorHashInfo> getChainedOperatorHashes(int startNodeId)
-
addCoordinatorProvider
public void addCoordinatorProvider(OperatorCoordinator.Provider coordinator)
-
getCoordinatorProviders
public List<OperatorCoordinator.Provider> getCoordinatorProviders()
-
getChainedSources
public Map<Integer,ChainedSourceInfo> getChainedSources()
-
addNodeToChain
public OperatorID addNodeToChain(int currentNodeId, String operatorName, JobVertexBuildContext jobVertexBuildContext)
-
setTransitiveOutEdges
public void setTransitiveOutEdges(List<StreamEdge> transitiveOutEdges)
-
getTransitiveOutEdges
public List<StreamEdge> getTransitiveOutEdges()
-
recordChainedNode
public void recordChainedNode(int currentNodeId)
-
newChain
public OperatorChainInfo newChain(Integer startNodeId)
-
getAllChainedNodes
public List<StreamNode> getAllChainedNodes()
-
hasFormatContainer
public boolean hasFormatContainer()
-
getOrCreateFormatContainer
public InputOutputFormatContainer getOrCreateFormatContainer()
-
addChainedSource
public void addChainedSource(Integer sourceNodeId, ChainedSourceInfo chainedSourceInfo)
-
addChainedMinResources
public void addChainedMinResources(Integer sourceNodeId, ResourceSpec resourceSpec)
-
getChainedMinResources
public ResourceSpec getChainedMinResources(Integer sourceNodeId)
-
addChainedPreferredResources
public void addChainedPreferredResources(Integer sourceNodeId, ResourceSpec resourceSpec)
-
getChainedPreferredResources
public ResourceSpec getChainedPreferredResources(Integer sourceNodeId)
-
addTransitiveInEdge
public void addTransitiveInEdge(StreamEdge streamEdge)
-
getTransitiveInEdges
public List<StreamEdge> getTransitiveInEdges()
-
-