Class NFAStateSerializerSnapshot

  • All Implemented Interfaces:
    org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<NFAState>

    public class NFAStateSerializerSnapshot
    extends org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,​NFAStateSerializer>
    Snapshot class for NFAStateSerializer.
    • Constructor Detail

      • NFAStateSerializerSnapshot

        public NFAStateSerializerSnapshot()
        Constructor for read instantiation.
      • NFAStateSerializerSnapshot

        public NFAStateSerializerSnapshot​(NFAStateSerializer serializerInstance)
        Constructor to create the snapshot for writing.
    • Method Detail

      • getCurrentOuterSnapshotVersion

        protected int getCurrentOuterSnapshotVersion()
        Specified by:
        getCurrentOuterSnapshotVersion in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,​NFAStateSerializer>
      • 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<NFAState,​NFAStateSerializer>
        Throws:
        IOException
      • writeOuterSnapshot

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

        protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibility resolveOuterSchemaCompatibility​(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<NFAState> oldSerializerSnapshot)
        Overrides:
        resolveOuterSchemaCompatibility in class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,​NFAStateSerializer>
      • getNestedSerializers

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

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