@Internal public class SchemaManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaManager.Serializer
Serializer for
SchemaManager. |
| Modifier and Type | Field and Description |
|---|---|
static SchemaManager.Serializer |
SERIALIZER |
| Constructor and Description |
|---|
SchemaManager() |
SchemaManager(Map<org.apache.flink.cdc.common.event.TableId,SortedMap<Integer,org.apache.flink.cdc.common.schema.Schema>> tableSchemas) |
| Modifier and Type | Method and Description |
|---|---|
void |
applySchemaChange(org.apache.flink.cdc.common.event.SchemaChangeEvent schemaChangeEvent)
Apply schema change to a table.
|
boolean |
equals(Object o) |
Optional<org.apache.flink.cdc.common.schema.Schema> |
getLatestSchema(org.apache.flink.cdc.common.event.TableId tableId)
Get the latest schema of the specified table.
|
org.apache.flink.cdc.common.schema.Schema |
getSchema(org.apache.flink.cdc.common.event.TableId tableId,
int version)
Get schema at the specified version of a table.
|
int |
hashCode() |
boolean |
schemaExists(org.apache.flink.cdc.common.event.TableId tableId)
Check if schema exists for the specified table ID.
|
public static final SchemaManager.Serializer SERIALIZER
public final boolean schemaExists(org.apache.flink.cdc.common.event.TableId tableId)
public Optional<org.apache.flink.cdc.common.schema.Schema> getLatestSchema(org.apache.flink.cdc.common.event.TableId tableId)
public org.apache.flink.cdc.common.schema.Schema getSchema(org.apache.flink.cdc.common.event.TableId tableId,
int version)
public void applySchemaChange(org.apache.flink.cdc.common.event.SchemaChangeEvent schemaChangeEvent)
Copyright © 2024 The Apache Software Foundation. All rights reserved.