Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • StreamExecutionEnvironment
  • pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.from_collection

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.from_collection#

StreamExecutionEnvironment.from_collection(collection: List[Any], type_info: TypeInformation | None = None) → DataStream[source]#

Creates a data stream from the given non-empty collection. The type of the data stream is that of the elements in the collection.

Note that this operation will result in a non-parallel data stream source, i.e. a data stream source with parallelism one.

Parameters:
  • collection – The collection of elements to create the data stream from.

  • type_info – The TypeInformation for the produced data stream

Returns:

the data stream representing the given collection.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.read_text_file

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.is_unaligned_checkpoints_enabled

On this page
  • StreamExecutionEnvironment.from_collection()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.