Class 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 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)
      • SortedMapTypeInfo

        public SortedMapTypeInfo​(Class<K> keyClass,
                                 Class<V> valueClass)
    • Method Detail

      • getTypeClass

        public Class<SortedMap<K,​V>> getTypeClass()
        Specified by:
        getTypeClass in class org.apache.flink.api.common.typeinfo.TypeInformation<SortedMap<K,​V>>
      • createSerializer

        public org.apache.flink.api.common.typeutils.TypeSerializer<SortedMap<K,​V>> createSerializer​(org.apache.flink.api.common.serialization.SerializerConfig config)
        Specified by:
        createSerializer in class org.apache.flink.api.common.typeinfo.TypeInformation<SortedMap<K,​V>>
      • canEqual

        public boolean canEqual​(Object obj)
        Specified by:
        canEqual in class org.apache.flink.api.common.typeinfo.TypeInformation<SortedMap<K,​V>>
      • equals

        public boolean equals​(Object o)
      • hashCode

        public int hashCode()
      • toString

        public String toString()
        Specified by:
        toString in class org.apache.flink.api.common.typeinfo.TypeInformation<SortedMap<K,​V>>
      • 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:
        isBasicType in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,​V>>
      • isTupleType

        public boolean isTupleType()
        Specified by:
        isTupleType in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,​V>>
      • getArity

        public int getArity()
        Specified by:
        getArity in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,​V>>
      • getTotalFields

        public int getTotalFields()
        Specified by:
        getTotalFields in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,​V>>
      • isKeyType

        public boolean isKeyType()
        Specified by:
        isKeyType in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends Map<K,​V>>