K
- key typeV
- value type@Internal @Deprecated public class MapViewTypeInfo<K,V> extends TypeInformation<MapView<K,V>>
MapView
.Constructor and Description |
---|
MapViewTypeInfo(TypeInformation<K> keyType,
TypeInformation<V> valueType)
Deprecated.
|
MapViewTypeInfo(TypeInformation<K> keyType,
TypeInformation<V> valueType,
boolean nullSerializer,
boolean nullAware)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canEqual(Object obj)
Deprecated.
Returns true if the given object can be equaled with this object.
|
TypeSerializer<MapView<K,V>> |
createSerializer(ExecutionConfig config)
Deprecated.
Creates a serializer for the type.
|
boolean |
equals(Object obj)
Deprecated.
|
int |
getArity()
Deprecated.
Gets the arity of this type - the number of fields without nesting.
|
TypeInformation<K> |
getKeyType()
Deprecated.
|
int |
getTotalFields()
Deprecated.
Gets the number of logical fields in this type.
|
Class<MapView<K,V>> |
getTypeClass()
Deprecated.
Gets the class of the type represented by this type information.
|
TypeInformation<V> |
getValueType()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isBasicType()
Deprecated.
Checks if this type information represents a basic type.
|
boolean |
isKeyType()
Deprecated.
Checks whether this type can be used as a key.
|
boolean |
isNullAware()
Deprecated.
|
boolean |
isNullSerializer()
Deprecated.
|
boolean |
isTupleType()
Deprecated.
Checks if this type information represents a Tuple type.
|
void |
setNullSerializer(boolean nullSerializer)
Deprecated.
|
String |
toString()
Deprecated.
|
getGenericParameters, isSortKeyType, of, of
public MapViewTypeInfo(TypeInformation<K> keyType, TypeInformation<V> valueType, boolean nullSerializer, boolean nullAware)
public MapViewTypeInfo(TypeInformation<K> keyType, TypeInformation<V> valueType)
public TypeInformation<K> getKeyType()
public TypeInformation<V> getValueType()
public boolean isNullAware()
public boolean isNullSerializer()
public void setNullSerializer(boolean nullSerializer)
public boolean isBasicType()
TypeInformation
BasicTypeInfo
and are primitives, their boxing types, Strings, Date, Void, ...isBasicType
in class TypeInformation<MapView<K,V>>
public boolean isTupleType()
TypeInformation
isTupleType
in class TypeInformation<MapView<K,V>>
public int getArity()
TypeInformation
getArity
in class TypeInformation<MapView<K,V>>
public int getTotalFields()
TypeInformation
The total number of fields must be at least 1.
getTotalFields
in class TypeInformation<MapView<K,V>>
public Class<MapView<K,V>> getTypeClass()
TypeInformation
getTypeClass
in class TypeInformation<MapView<K,V>>
public boolean isKeyType()
TypeInformation
isKeyType
in class TypeInformation<MapView<K,V>>
public TypeSerializer<MapView<K,V>> createSerializer(ExecutionConfig config)
TypeInformation
createSerializer
in class TypeInformation<MapView<K,V>>
config
- The config used to parameterize the serializer.public String toString()
toString
in class TypeInformation<MapView<K,V>>
public boolean equals(Object obj)
equals
in class TypeInformation<MapView<K,V>>
public int hashCode()
hashCode
in class TypeInformation<MapView<K,V>>
public boolean canEqual(Object obj)
TypeInformation
canEqual
in class TypeInformation<MapView<K,V>>
obj
- Object which wants to take part in the equality relationCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.