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.project#

DataStream.project(*field_indexes: int) → pyflink.datastream.data_stream.DataStream[source]#

Initiates a Project transformation on a Tuple DataStream.

Note that only Tuple DataStreams can be projected.

Parameters

field_indexes – The field indexes of the input tuples that are retained. The order of fields in the output tuple corresponds to the order of field indexes.

Returns

The projected DataStream.

previous

pyflink.datastream.data_stream.DataStream.shuffle

next

pyflink.datastream.data_stream.DataStream.rescale

Show Source

Created using Sphinx 4.5.0.