public enum MultiTablesSinkMode extends Enum<MultiTablesSinkMode> implements Serializable
1) DIVIDED mode, start a sink for each table, detecting the new table requires restarting the job.
2) COMBINED mode, start a single combined sink for all tables, the new table will be automatically detected.
Modifier and Type | Method and Description |
---|---|
String |
configString() |
static MultiTablesSinkMode |
fromString(String mode) |
static MultiTablesSinkMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiTablesSinkMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiTablesSinkMode DIVIDED
public static final MultiTablesSinkMode COMBINED
public static MultiTablesSinkMode[] values()
for (MultiTablesSinkMode c : MultiTablesSinkMode.values()) System.out.println(c);
public static MultiTablesSinkMode 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 MultiTablesSinkMode fromString(@Nullable String mode)
public String configString()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.