Class SourceTransformation<OUT,​SplitT extends org.apache.flink.api.connector.source.SourceSplit,​EnumChkT>

    • Field Summary

      • Fields inherited from class org.apache.flink.api.dag.Transformation

        bufferTimeout, description, id, name, outputType, typeUsed, UPPER_BOUND_MAX_PARALLELISM
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceTransformation​(String name, org.apache.flink.api.connector.source.Source<OUT,​SplitT,​EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
      Creates a new Transformation with the given name, output type and parallelism.
      SourceTransformation​(String name, org.apache.flink.api.connector.source.Source<OUT,​SplitT,​EnumChkT> source, org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism, boolean parallelismConfigured)  
    • Constructor Detail

      • SourceTransformation

        public SourceTransformation​(String name,
                                    org.apache.flink.api.connector.source.Source<OUT,​SplitT,​EnumChkT> source,
                                    org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy,
                                    org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
                                    int parallelism)
        Creates a new Transformation with the given name, output type and parallelism.
        Parameters:
        name - The name of the Transformation, this will be shown in Visualizations and the Log
        source - The Source itself
        watermarkStrategy - The WatermarkStrategy to use
        outputType - The output type of this Transformation
        parallelism - The parallelism of this Transformation
      • SourceTransformation

        public SourceTransformation​(String name,
                                    org.apache.flink.api.connector.source.Source<OUT,​SplitT,​EnumChkT> source,
                                    org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> watermarkStrategy,
                                    org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
                                    int parallelism,
                                    boolean parallelismConfigured)
    • Method Detail

      • getSource

        public org.apache.flink.api.connector.source.Source<OUT,​SplitT,​EnumChkT> getSource()
      • getWatermarkStrategy

        public org.apache.flink.api.common.eventtime.WatermarkStrategy<OUT> getWatermarkStrategy()
      • getBoundedness

        public org.apache.flink.api.connector.source.Boundedness getBoundedness()
        Description copied from interface: WithBoundedness
        Returns the Boundedness of this Transformation.
        Specified by:
        getBoundedness in interface WithBoundedness
      • getTransitivePredecessorsInternal

        protected List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessorsInternal()
        Specified by:
        getTransitivePredecessorsInternal in class org.apache.flink.api.dag.Transformation<OUT>
      • getInputs

        public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
        Specified by:
        getInputs in class org.apache.flink.api.dag.Transformation<OUT>
      • setCoordinatorListeningID

        public void setCoordinatorListeningID​(@Nullable
                                              String coordinatorListeningID)
      • getCoordinatorListeningID

        @Nullable
        public String getCoordinatorListeningID()