Class StateMetaInfoSnapshot

    • Constructor Detail

      • StateMetaInfoSnapshot

        public StateMetaInfoSnapshot​(@Nonnull
                                     String name,
                                     @Nonnull
                                     StateMetaInfoSnapshot.BackendStateType backendStateType,
                                     @Nonnull
                                     Map<String,​String> options,
                                     @Nonnull
                                     Map<String,​org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<?>> serializerSnapshots,
                                     @Nonnull
                                     Map<String,​org.apache.flink.api.common.typeutils.TypeSerializer<?>> serializers)
        TODO this variant, which requires providing the serializers, TODO should actually be removed, leaving only StateMetaInfoSnapshot(String, BackendStateType, Map, Map). TODO This is still used by snapshot extracting methods (i.e. computeSnapshot() method of specific state meta TODO info subclasses), and will be removed once all serializers have the restoreSerializer() factory method implemented.
    • Method Detail

      • getTypeSerializerSnapshot

        @Nullable
        public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<?> getTypeSerializerSnapshot​(@Nonnull
                                                                                                         String key)
      • getOption

        @Nullable
        public String getOption​(@Nonnull
                                String key)
      • getOptionsImmutable

        @Nonnull
        public Map<String,​String> getOptionsImmutable()
      • getName

        @Nonnull
        public String getName()
      • getSerializerSnapshotsImmutable

        @Nonnull
        public Map<String,​org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<?>> getSerializerSnapshotsImmutable()
      • getTypeSerializer

        @Nullable
        public org.apache.flink.api.common.typeutils.TypeSerializer<?> getTypeSerializer​(@Nonnull
                                                                                         String key)
        TODO this method should be removed once the serializer map is removed.