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

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

Show Source

Created using Sphinx 4.5.0.