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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SortedMapTypeInfo(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanEqual(Object obj)org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,V>>createSerializer(org.apache.flink.api.common.ExecutionConfig config)org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,V>>createSerializer(org.apache.flink.api.common.serialization.SerializerConfig config)booleanequals(Object o)intgetArity()org.apache.flink.api.common.typeinfo.TypeInformation<K>getKeyTypeInfo()Returns the type information for the keys in the map.intgetTotalFields()Class<SortedMap<K,V>>getTypeClass()org.apache.flink.api.common.typeinfo.TypeInformation<V>getValueTypeInfo()Returns the type information for the values in the map.inthashCode()booleanisBasicType()booleanisKeyType()booleanisTupleType()StringtoString()
-
-
-
Constructor Detail
-
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
public SortedMapTypeInfo(Class<K> keyClass, Class<V> valueClass, Comparator<K> comparator)
-
-
Method Detail
-
createSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,V>> createSerializer(org.apache.flink.api.common.serialization.SerializerConfig config)
-
createSerializer
public org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,V>> createSerializer(org.apache.flink.api.common.ExecutionConfig config)
-
canEqual
public boolean canEqual(Object obj)
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
-
getKeyTypeInfo
public org.apache.flink.api.common.typeinfo.TypeInformation<K> getKeyTypeInfo()
Returns the type information for the keys in the map.- Returns:
- The type information for the keys in the map.
-
getValueTypeInfo
public org.apache.flink.api.common.typeinfo.TypeInformation<V> 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>>
-
-