Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

pyflink.datastream.data_stream.DataStream.sink_to#

DataStream.sink_to(sink: pyflink.datastream.connectors.base.Sink) → pyflink.datastream.data_stream.DataStreamSink[source]#

Adds the given sink to this DataStream. Only streams with sinks added will be executed once the execute() method is called.

Parameters

sink – The user defined sink.

Returns

The closed DataStream.

previous

pyflink.datastream.data_stream.DataStream.add_sink

next

pyflink.datastream.data_stream.DataStream.execute_and_collect

Show Source

Created using Sphinx 4.5.0.