Interface TransformationTranslator<OUT,​T extends org.apache.flink.api.dag.Transformation<OUT>>

    • Method Detail

      • translateForBatch

        Collection<Integer> translateForBatch​(T transformation,
                                              TransformationTranslator.Context context)
        Translates a given Transformation to its runtime implementation for BATCH-style execution.
        Parameters:
        transformation - The transformation to be translated.
        context - The translation context.
        Returns:
        The ids of the "last" StreamNodes in the transformation graph corresponding to this transformation. These will be the nodes that a potential following transformation will need to connect to.
      • translateForStreaming

        Collection<Integer> translateForStreaming​(T transformation,
                                                  TransformationTranslator.Context context)
        Translates a given Transformation to its runtime implementation for STREAMING-style execution.
        Parameters:
        transformation - The transformation to be translated.
        context - The translation context.
        Returns:
        The ids of the "last" StreamNodes in the transformation graph corresponding to this transformation. These will be the nodes that a potential following transformation will need to connect to.