Class MapSerializer.MapSerializerSnapshot<K,​V>

  • All Implemented Interfaces:
    org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Map<K,​V>>
    Enclosing class:
    MapSerializer<K,​V>

    public static final class MapSerializer.MapSerializerSnapshot<K,​V>
    extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,​V>,​MapSerializer<K,​V>>
    Snapshot class for the MapSerializer.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot

        org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility
    • Constructor Detail

      • MapSerializerSnapshot

        public MapSerializerSnapshot()
        Constructor for read instantiation.
      • MapSerializerSnapshot

        public MapSerializerSnapshot​(MapSerializer<K,​V> mapSerializer)
        Constructor to create the snapshot for writing.
    • Method Detail

      • getCurrentOuterSnapshotVersion

        public int getCurrentOuterSnapshotVersion()
        Specified by:
        getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,​V>,​MapSerializer<K,​V>>
      • createOuterSerializerWithNestedSerializers

        protected MapSerializer<K,​V> createOuterSerializerWithNestedSerializers​(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
        Specified by:
        createOuterSerializerWithNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,​V>,​MapSerializer<K,​V>>
      • getNestedSerializers

        protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers​(MapSerializer<K,​V> outerSerializer)
        Specified by:
        getNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<Map<K,​V>,​MapSerializer<K,​V>>
      • getKeySerializerSnapshot

        public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<K> getKeySerializerSnapshot()