Interface TransformationTranslator.Context
-
- Enclosing interface:
- TransformationTranslator<OUT,T extends org.apache.flink.api.dag.Transformation<OUT>>
@Internal public static interface TransformationTranslator.ContextA context giving the necessary information for the translation of a given transformation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetDefaultBufferTimeout()Returns the default buffer timeout to be used.org.apache.flink.configuration.ReadableConfiggetGraphGeneratorConfig()Retrieves additional configuration for the graph generation process.Collection<org.apache.flink.api.dag.Transformation<?>>getSinkTransformations()Returns all sink transformations that should be translated into the StreamGraph.StringgetSlotSharingGroup()Returns the slot sharing group for the given transformation.StreamGraphgetStreamGraph()Returns theStreamGraphbeing created as the transformations of a pipeline are translated to their runtime implementations.Collection<Integer>getStreamNodeIds(org.apache.flink.api.dag.Transformation<?> transformation)Returns the ids of the nodes in theStreamGraphcorresponding to the provided transformation.Collection<Integer>transform(org.apache.flink.api.dag.Transformation<?> transformation)Transforms the transformation and updates the current stream graph.
-
-
-
Method Detail
-
getStreamGraph
StreamGraph getStreamGraph()
Returns theStreamGraphbeing created as the transformations of a pipeline are translated to their runtime implementations.
-
getStreamNodeIds
Collection<Integer> getStreamNodeIds(org.apache.flink.api.dag.Transformation<?> transformation)
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
Collection<Integer> transform(org.apache.flink.api.dag.Transformation<?> transformation)
Transforms the transformation and updates the current stream graph.
-
getSinkTransformations
Collection<org.apache.flink.api.dag.Transformation<?>> getSinkTransformations()
Returns all sink transformations that should be translated into the StreamGraph.
-
-