Class SortedMapTypeInfo<K,V>
java.lang.Object
org.apache.flink.api.common.typeinfo.TypeInformation<M>
org.apache.flink.table.runtime.typeutils.SortedMapTypeInfo<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 SortedMapTypeInfo<K,V>
extends org.apache.flink.api.common.typeinfo.TypeInformation<M>
The type information for sorted maps.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSortedMapTypeInfo(Class<K> keyClass, Class<V> valueClass) SortedMapTypeInfo(Class<K> keyClass, Class<V> valueClass, Comparator<K> comparator) SortedMapTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<K> keyTypeInfo, org.apache.flink.api.common.typeinfo.TypeInformation<V> valueTypeInfo, Comparator<K> comparator) -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateSerializer(org.apache.flink.api.common.serialization.SerializerConfig config) booleanintgetArity()org.apache.flink.api.common.typeinfo.TypeInformation<K>Returns the type information for the keys in the map.intorg.apache.flink.api.common.typeinfo.TypeInformation<V>Returns the type information for the values in the map.inthashCode()booleanbooleanbooleantoString()Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation
getGenericParameters, isSortKeyType, of, of
-
Constructor Details
-
SortedMapTypeInfo
public SortedMapTypeInfo(org.apache.flink.api.common.typeinfo.TypeInformation<K> keyTypeInfo, org.apache.flink.api.common.typeinfo.TypeInformation<V> valueTypeInfo, Comparator<K> comparator) -
SortedMapTypeInfo
-
SortedMapTypeInfo
-
-
Method Details
-
getTypeClass
-
createSerializer
-
canEqual
-
equals
-
hashCode
public int hashCode() -
toString
-
getKeyTypeInfo
Returns the type information for the keys in the map.- Returns:
- The type information for the keys in the map.
-
getValueTypeInfo
Returns the type information for the values in the map.- Returns:
- The type information for the values in the map.
-
isBasicType
public boolean isBasicType()- Specified by:
isBasicTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,V>>
-
isTupleType
public boolean isTupleType()- Specified by:
isTupleTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,V>>
-
getArity
public int getArity()- Specified by:
getArityin classorg.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,V>>
-
getTotalFields
public int getTotalFields()- Specified by:
getTotalFieldsin classorg.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,V>>
-
isKeyType
public boolean isKeyType()- Specified by:
isKeyTypein classorg.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,V>>
-