public enum CdcMetadataProcessor extends Enum<CdcMetadataProcessor>
This enumeration provides definitions for various CDC metadata keys along with their
associated data types and converters. Each enum entry represents a specific type of metadata
related to CDC and provides a mechanism to read and process this metadata from a given JsonNode
source.
The provided converters, which are of type CdcMetadataConverter
, define how the raw
metadata is transformed or processed for each specific metadata key.
Enum Constant and Description |
---|
MYSQL_METADATA_PROCESSOR |
POSTGRES_METADATA_PROCESSOR |
Modifier and Type | Method and Description |
---|---|
static CdcMetadataConverter |
converter(SyncJobHandler.SourceType sourceType,
String column) |
static CdcMetadataProcessor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdcMetadataProcessor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdcMetadataProcessor MYSQL_METADATA_PROCESSOR
public static final CdcMetadataProcessor POSTGRES_METADATA_PROCESSOR
public static CdcMetadataProcessor[] values()
for (CdcMetadataProcessor c : CdcMetadataProcessor.values()) System.out.println(c);
public static CdcMetadataProcessor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CdcMetadataConverter converter(SyncJobHandler.SourceType sourceType, String column)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.