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 Type
    Method
    Description
    long
    Returns the default buffer timeout to be used.
    org.apache.flink.configuration.ReadableConfig
    Retrieves additional configuration for the graph generation process.
    Returns the slot sharing group for the given transformation.
    Returns the StreamGraph being 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 the StreamGraph corresponding 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 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.