Class OperatorChainInfo
- java.lang.Object
-
- org.apache.flink.streaming.api.graph.util.OperatorChainInfo
-
@Internal public class OperatorChainInfo extends Object
Helper class to help maintain the information of an operator chain.
-
-
Constructor Summary
Constructors Constructor Description OperatorChainInfo(int startNodeId)
-
Method Summary
-
-
-
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(StreamNode streamNode)
-
newChain
public OperatorChainInfo newChain(Integer startNodeId)
-
getAllChainedNodes
public List<StreamNode> getAllChainedNodes()
-
hasFormatContainer
public boolean hasFormatContainer()
-
getOrCreateFormatContainer
public InputOutputFormatContainer getOrCreateFormatContainer()
-
addChainedSource
public void addChainedSource(StreamNode sourceNode, ChainedSourceInfo chainedSourceInfo)
-
addChainedMinResources
public void addChainedMinResources(Integer sourceNodeId, org.apache.flink.api.common.operators.ResourceSpec resourceSpec)
-
getChainedMinResources
public org.apache.flink.api.common.operators.ResourceSpec getChainedMinResources(Integer sourceNodeId)
-
addChainedPreferredResources
public void addChainedPreferredResources(Integer sourceNodeId, org.apache.flink.api.common.operators.ResourceSpec resourceSpec)
-
getChainedPreferredResources
public org.apache.flink.api.common.operators.ResourceSpec getChainedPreferredResources(Integer sourceNodeId)
-
addTransitiveInEdge
public void addTransitiveInEdge(StreamEdge streamEdge)
-
getTransitiveInEdges
public List<StreamEdge> getTransitiveInEdges()
-
getOperatorInfo
public OperatorInfo getOperatorInfo(Integer nodeId)
-
createAndGetOperatorInfo
public OperatorInfo createAndGetOperatorInfo(Integer nodeId, OperatorID operatorId)
-
getOperatorInfos
public Map<Integer,OperatorInfo> getOperatorInfos()
-
-