Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.types.DataTypes.MULTISET#

static DataTypes.MULTISET(element_type: pyflink.table.types.DataType, nullable: bool = True) → pyflink.table.types.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

Show Source

Created using Sphinx 4.5.0.