Class StreamSource<OUT,​SRC extends SourceFunction<OUT>>

    • Constructor Detail

      • StreamSource

        public StreamSource​(SRC sourceFunction,
                            boolean emitProgressiveWatermarks)
        Deprecated.
      • StreamSource

        public StreamSource​(SRC sourceFunction)
        Deprecated.
    • Method Detail

      • emitsProgressiveWatermarks

        @VisibleForTesting
        public boolean emitsProgressiveWatermarks()
        Deprecated.
      • close

        public void close()
                   throws Exception
        Deprecated.
        Description copied from interface: StreamOperator
        This method is called at the very end of the operator's life, both in the case of a successful completion of the operation, and in the case of a failure and canceling.

        This method is expected to make a thorough effort to release all resources that the operator has acquired.

        NOTE:It can not emit any records! If you need to emit records at the end of processing, do so in the StreamOperator.finish() method.

        Specified by:
        close in interface StreamOperator<OUT>
        Overrides:
        close in class AbstractUdfStreamOperator<OUT,​SRC extends SourceFunction<OUT>>
        Throws:
        Exception
      • stop

        public void stop()
        Deprecated.
      • cancel

        public void cancel()
        Deprecated.
      • markCanceledOrStopped

        protected void markCanceledOrStopped()
        Deprecated.
        Marks this source as canceled or stopped.

        This indicates that any exit of the run(Object, Output, OperatorChain) method cannot be interpreted as the result of a finite source.

      • isCanceledOrStopped

        protected boolean isCanceledOrStopped()
        Deprecated.
        Checks whether the source has been canceled or stopped.
        Returns:
        True, if the source is canceled or stopped, false is not.