Interface TransformationTranslator.Context
- Enclosing interface:
- TransformationTranslator<OUT,
T extends org.apache.flink.api.dag.Transformation<OUT>>
@Internal
public static interface TransformationTranslator.Context
A context giving the necessary information for the translation of a given transformation.
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the default buffer timeout to be used.org.apache.flink.configuration.ReadableConfigRetrieves additional configuration for the graph generation process.Returns the slot sharing group for the given transformation.Returns theStreamGraphbeing created as the transformations of a pipeline are translated to their runtime implementations.getStreamNodeIds(org.apache.flink.api.dag.Transformation<?> transformation) Returns the ids of the nodes in theStreamGraphcorresponding to the provided transformation.transform(org.apache.flink.api.dag.Transformation<?> transformation) Transforms the transformation and updates the current stream graph.
-
Method Details
-
getStreamGraph
StreamGraph getStreamGraph()Returns theStreamGraphbeing created as the transformations of a pipeline are translated to their runtime implementations. -
getStreamNodeIds
Returns the ids of the nodes in theStreamGraphcorresponding to the provided transformation.- Parameters:
transformation- the transformation whose nodes' ids we want.- Returns:
- The requested ids.
-
getSlotSharingGroup
String getSlotSharingGroup()Returns the slot sharing group for the given transformation. -
getDefaultBufferTimeout
long getDefaultBufferTimeout()Returns the default buffer timeout to be used. -
getGraphGeneratorConfig
org.apache.flink.configuration.ReadableConfig getGraphGeneratorConfig()Retrieves additional configuration for the graph generation process. -
transform
Transforms the transformation and updates the current stream graph.
-