public class SchemaSerializer extends TypeSerializerSingleton<org.apache.flink.cdc.common.schema.Schema>
TypeSerializer for Schema.| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaSerializer.SchemaSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
| Modifier and Type | Field and Description |
|---|---|
static SchemaSerializer |
INSTANCE
Sharable instance of the TableIdSerializer.
|
| Constructor and Description |
|---|
SchemaSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.cdc.common.schema.Schema |
copy(org.apache.flink.cdc.common.schema.Schema from) |
org.apache.flink.cdc.common.schema.Schema |
copy(org.apache.flink.cdc.common.schema.Schema from,
org.apache.flink.cdc.common.schema.Schema reuse) |
org.apache.flink.cdc.common.schema.Schema |
createInstance() |
org.apache.flink.cdc.common.schema.Schema |
deserialize(org.apache.flink.core.memory.DataInputView source) |
org.apache.flink.cdc.common.schema.Schema |
deserialize(org.apache.flink.cdc.common.schema.Schema reuse,
org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(org.apache.flink.cdc.common.schema.Schema record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.cdc.common.schema.Schema> |
snapshotConfiguration() |
duplicate, equals, hashCodepublic static final SchemaSerializer INSTANCE
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>public org.apache.flink.cdc.common.schema.Schema createInstance()
createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>public org.apache.flink.cdc.common.schema.Schema copy(org.apache.flink.cdc.common.schema.Schema from)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>public org.apache.flink.cdc.common.schema.Schema copy(org.apache.flink.cdc.common.schema.Schema from,
org.apache.flink.cdc.common.schema.Schema reuse)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>public void serialize(org.apache.flink.cdc.common.schema.Schema record,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>IOExceptionpublic org.apache.flink.cdc.common.schema.Schema deserialize(org.apache.flink.core.memory.DataInputView source)
throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>IOExceptionpublic org.apache.flink.cdc.common.schema.Schema deserialize(org.apache.flink.cdc.common.schema.Schema reuse,
org.apache.flink.core.memory.DataInputView source)
throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>IOExceptionpublic void copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>IOExceptionpublic org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.cdc.common.schema.Schema> snapshotConfiguration()
snapshotConfiguration in class org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.cdc.common.schema.Schema>Copyright © 2024 The Apache Software Foundation. All rights reserved.