pyflink.table.data_view.MapView#
- class MapView[source]#
A
DataViewthat provides dict-like functionality in the accumulator of an AggregateFunction when large amounts of data are expected.Methods
clear()Removes all entries of this map.
contains(key)Checks if the map view contains a value for a given key.
get(key)Return the value for the specified key.
is_empty()Returns true if the map view contains no key-value mappings, otherwise false.
items()Returns all entries of the map view.
keys()Returns all the keys in the map view.
put(key, value)Inserts a value for the given key into the map view.
put_all(dict_value)Inserts all mappings from the specified map to this map view.
remove(key)Deletes the value for the given key.
values()Returns all the values in the map view.