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 Detail

      • getStreamGraph

        StreamGraph getStreamGraph()
        Returns the StreamGraph being 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 the StreamGraph corresponding 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.