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.CachedDataStream.add_sink#

CachedDataStream.add_sink(sink_func: pyflink.datastream.functions.SinkFunction) → pyflink.datastream.data_stream.DataStreamSink#

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

Parameters

sink_func – The SinkFunction object.

Returns

The closed DataStream.

previous

pyflink.datastream.data_stream.CachedDataStream.partition_custom

next

pyflink.datastream.data_stream.CachedDataStream.sink_to

Show Source

Created using Sphinx 4.5.0.