Class PartitioningEventSerializer
- java.lang.Object
-
- org.apache.flink.api.common.typeutils.TypeSerializer<T>
-
- org.apache.flink.cdc.runtime.serializer.TypeSerializerSingleton<PartitioningEvent>
-
- org.apache.flink.cdc.runtime.serializer.event.PartitioningEventSerializer
-
- All Implemented Interfaces:
Serializable
@Internal public class PartitioningEventSerializer extends TypeSerializerSingleton<PartitioningEvent>
ATypeSerializerforPartitioningEvent.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPartitioningEventSerializer.PartitioningEventSerializerSnapshotTypeSerializerSnapshotforPartitioningEventSerializer.
-
Field Summary
Fields Modifier and Type Field Description static PartitioningEventSerializerINSTANCE
-
Constructor Summary
Constructors Constructor Description PartitioningEventSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitioningEventcopy(PartitioningEvent from)PartitioningEventcopy(PartitioningEvent from, PartitioningEvent reuse)voidcopy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target)PartitioningEventcreateInstance()PartitioningEventdeserialize(PartitioningEvent reuse, org.apache.flink.core.memory.DataInputView source)PartitioningEventdeserialize(org.apache.flink.core.memory.DataInputView source)intgetLength()booleanisImmutableType()voidserialize(PartitioningEvent record, org.apache.flink.core.memory.DataOutputView target)org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<PartitioningEvent>snapshotConfiguration()-
Methods inherited from class org.apache.flink.cdc.runtime.serializer.TypeSerializerSingleton
duplicate, equals, hashCode
-
-
-
-
Field Detail
-
INSTANCE
public static final PartitioningEventSerializer INSTANCE
-
-
Method Detail
-
isImmutableType
public boolean isImmutableType()
- Specified by:
isImmutableTypein classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
createInstance
public PartitioningEvent createInstance()
- Specified by:
createInstancein classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
copy
public PartitioningEvent copy(PartitioningEvent from)
- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
copy
public PartitioningEvent copy(PartitioningEvent from, PartitioningEvent reuse)
- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
getLength
public int getLength()
- Specified by:
getLengthin classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
serialize
public void serialize(PartitioningEvent record, org.apache.flink.core.memory.DataOutputView target) throws IOException
- Specified by:
serializein classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>- Throws:
IOException
-
deserialize
public PartitioningEvent deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserializein classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>- Throws:
IOException
-
deserialize
public PartitioningEvent deserialize(PartitioningEvent reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
- Specified by:
deserializein classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>- Throws:
IOException
-
copy
public void copy(org.apache.flink.core.memory.DataInputView source, org.apache.flink.core.memory.DataOutputView target) throws IOException- Specified by:
copyin classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>- Throws:
IOException
-
snapshotConfiguration
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<PartitioningEvent> snapshotConfiguration()
- Specified by:
snapshotConfigurationin classorg.apache.flink.api.common.typeutils.TypeSerializer<PartitioningEvent>
-
-