Class ExternalSerializer.ExternalSerializerSnapshot<I,​E>

  • Type Parameters:
    I - internal data structure
    E - external data structure
    All Implemented Interfaces:
    org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<E>
    Enclosing class:
    ExternalSerializer<I,​E>

    public static final class ExternalSerializer.ExternalSerializerSnapshot<I,​E>
    extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>
    TypeSerializerSnapshot for ExternalSerializer.
    • Constructor Detail

      • ExternalSerializerSnapshot

        public ExternalSerializerSnapshot()
      • ExternalSerializerSnapshot

        public ExternalSerializerSnapshot​(ExternalSerializer<I,​E> externalSerializer)
    • Method Detail

      • getCurrentOuterSnapshotVersion

        protected int getCurrentOuterSnapshotVersion()
        Specified by:
        getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>
      • writeOuterSnapshot

        protected void writeOuterSnapshot​(org.apache.flink.core.memory.DataOutputView out)
                                   throws IOException
        Overrides:
        writeOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>
        Throws:
        IOException
      • readOuterSnapshot

        protected void readOuterSnapshot​(int readOuterSnapshotVersion,
                                         org.apache.flink.core.memory.DataInputView in,
                                         ClassLoader userCodeClassLoader)
                                  throws IOException
        Overrides:
        readOuterSnapshot in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>
        Throws:
        IOException
      • getNestedSerializers

        protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers​(ExternalSerializer<I,​E> outerSerializer)
        Specified by:
        getNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>
      • createOuterSerializerWithNestedSerializers

        protected ExternalSerializer<I,​E> createOuterSerializerWithNestedSerializers​(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers)
        Specified by:
        createOuterSerializerWithNestedSerializers in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<E,​ExternalSerializer<I,​E>>