Class NullableMapTypeInfo<K,V>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<Map<K,V>>
-
- org.apache.flink.api.java.typeutils.MapTypeInfo<K,V>
-
- org.apache.flink.api.java.typeutils.NullableMapTypeInfo<K,V>
-
- Type Parameters:
K- The type of the keys in the map.V- The type of the values in the map.
- All Implemented Interfaces:
Serializable
@PublicEvolving public class NullableMapTypeInfo<K,V> extends MapTypeInfo<K,V>
ATypeInformationfor the map types of the Java API, accepting null collection and null key/values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullableMapTypeInfo(Class<K> keyClass, Class<V> valueClass)NullableMapTypeInfo(TypeInformation<K> keyTypeInfo, TypeInformation<V> valueTypeInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeSerializer<Map<K,V>>createSerializer(SerializerConfig config)Creates a serializer for the type.StringtoString()-
Methods inherited from class org.apache.flink.api.java.typeutils.MapTypeInfo
canEqual, equals, getArity, getKeyTypeInfo, getTotalFields, getTypeClass, getValueTypeInfo, hashCode, isBasicType, isKeyType, isTupleType
-
Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation
getGenericParameters, isSortKeyType, of, of
-
-
-
-
Constructor Detail
-
NullableMapTypeInfo
public NullableMapTypeInfo(TypeInformation<K> keyTypeInfo, TypeInformation<V> valueTypeInfo)
-
-
Method Detail
-
createSerializer
public TypeSerializer<Map<K,V>> createSerializer(SerializerConfig config)
Description copied from class:TypeInformationCreates a serializer for the type. The serializer may use the ExecutionConfig for parameterization.- Overrides:
createSerializerin classMapTypeInfo<K,V>- Parameters:
config- The config used to parameterize the serializer.- Returns:
- A serializer for this type.
-
toString
public String toString()
- Overrides:
toStringin classMapTypeInfo<K,V>
-
-