Package org.apache.flink.cep.nfa
Class NFAStateSerializerSnapshot
java.lang.Object
org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,NFAStateSerializer>
org.apache.flink.cep.nfa.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.-
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 Summary
ConstructorsConstructorDescriptionConstructor for read instantiation.NFAStateSerializerSnapshot(NFAStateSerializer serializerInstance) Constructor to create the snapshot for writing. -
Method Summary
Modifier and TypeMethodDescriptionprotected NFAStateSerializercreateOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) protected intprotected org.apache.flink.api.common.typeutils.TypeSerializer<?>[]getNestedSerializers(NFAStateSerializer outerSerializer) protected voidreadOuterSnapshot(int readOuterSnapshotVersion, org.apache.flink.core.memory.DataInputView in, ClassLoader userCodeClassLoader) protected org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot.OuterSchemaCompatibilityresolveOuterSchemaCompatibility(org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<NFAState> oldSerializerSnapshot) protected voidwriteOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) Methods inherited from class org.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot
getCurrentVersion, getNestedSerializerSnapshots, isOuterSnapshotCompatible, readSnapshot, resolveOuterSchemaCompatibility, resolveSchemaCompatibility, restoreSerializer, writeSnapshot
-
Constructor Details
-
NFAStateSerializerSnapshot
public NFAStateSerializerSnapshot()Constructor for read instantiation. -
NFAStateSerializerSnapshot
Constructor to create the snapshot for writing.
-
-
Method Details
-
getCurrentOuterSnapshotVersion
protected int getCurrentOuterSnapshotVersion()- Specified by:
getCurrentOuterSnapshotVersionin classorg.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:
readOuterSnapshotin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,NFAStateSerializer> - Throws:
IOException
-
writeOuterSnapshot
protected void writeOuterSnapshot(org.apache.flink.core.memory.DataOutputView out) throws IOException - Overrides:
writeOuterSnapshotin classorg.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:
resolveOuterSchemaCompatibilityin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,NFAStateSerializer>
-
getNestedSerializers
protected org.apache.flink.api.common.typeutils.TypeSerializer<?>[] getNestedSerializers(NFAStateSerializer outerSerializer) - Specified by:
getNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,NFAStateSerializer>
-
createOuterSerializerWithNestedSerializers
protected NFAStateSerializer createOuterSerializerWithNestedSerializers(org.apache.flink.api.common.typeutils.TypeSerializer<?>[] nestedSerializers) - Specified by:
createOuterSerializerWithNestedSerializersin classorg.apache.flink.api.common.typeutils.CompositeTypeSerializerSnapshot<NFAState,NFAStateSerializer>
-