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
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Data Types
  • pyflink.table.types.DataTypes.MULTISET

pyflink.table.types.DataTypes.MULTISET#

static DataTypes.MULTISET(element_type: DataType, nullable: bool = True) → MultisetType[source]#

Data type of a multiset (=bag). Unlike a set, it allows for multiple instances for each of its elements with a common subtype. Each unique value is mapped to some multiplicity.

There is no restriction of element types; it is the responsibility of the user to ensure uniqueness.

Parameters:
  • element_type – DataType of each element in the multiset.

  • nullable – boolean, whether the type can be null (None) or not.

previous

pyflink.table.types.DataTypes.MAP_VIEW

next

pyflink.table.types.DataTypes.ROW

On this page
  • DataTypes.MULTISET()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.