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.create_input

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.create_input#

StreamExecutionEnvironment.create_input(input_format: InputFormat, type_info: TypeInformation | None = None)[source]#

Create an input data stream with InputFormat.

If the input_format needs a well-defined type information (e.g. Avro’s generic record), you can either explicitly use type_info argument or use InputFormats implementing ResultTypeQueryable.

Parameters:
  • input_format – The input format to read from.

  • type_info – Optional type information to explicitly declare output type.

Added in version 1.16.0.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_execution_environment

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.add_source

On this page
  • StreamExecutionEnvironment.create_input()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.