Class SimpleTransformationTranslator<OUT,​T extends org.apache.flink.api.dag.Transformation<OUT>>

    • Constructor Detail

      • SimpleTransformationTranslator

        public SimpleTransformationTranslator()
    • Method Detail

      • translateForBatch

        public final Collection<Integer> translateForBatch​(T transformation,
                                                           TransformationTranslator.Context context)
        Description copied from interface: TransformationTranslator
        Translates a given Transformation to its runtime implementation for BATCH-style execution.
        Specified by:
        translateForBatch in interface TransformationTranslator<OUT,​T extends org.apache.flink.api.dag.Transformation<OUT>>
        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

        public final Collection<Integer> translateForStreaming​(T transformation,
                                                               TransformationTranslator.Context context)
        Description copied from interface: TransformationTranslator
        Translates a given Transformation to its runtime implementation for STREAMING-style execution.
        Specified by:
        translateForStreaming in interface TransformationTranslator<OUT,​T extends org.apache.flink.api.dag.Transformation<OUT>>
        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.
      • translateForBatchInternal

        protected abstract Collection<Integer> translateForBatchInternal​(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.
      • translateForStreamingInternal

        protected abstract Collection<Integer> translateForStreamingInternal​(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.