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

pyflink.table.types.DataTypes.MAP#

static DataTypes.MAP(key_type: DataType, value_type: DataType, nullable: bool = True) → MapType[source]#

Data type of an associative array that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value.

There is no restriction of key types; it is the responsibility of the user to ensure uniqueness. The map type is an extension to the SQL standard.

Parameters:
  • key_type – DataType of the keys in the map.

  • value_type – DataType of the values in the map.

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

previous

pyflink.table.types.DataTypes.LIST_VIEW

next

pyflink.table.types.DataTypes.MAP_VIEW

On this page
  • DataTypes.MAP()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.