@EnumDescription(value="Change log capture supplemental logging mode. The supplemental log is used for accelerating the generation of change log details.") public enum HoodieCDCSupplementalLoggingMode extends Enum<HoodieCDCSupplementalLoggingMode>
Three modes are supported:
| Enum Constant and Description |
|---|
DATA_BEFORE |
DATA_BEFORE_AFTER |
OP_KEY_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static HoodieCDCSupplementalLoggingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoodieCDCSupplementalLoggingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="Only keeping record keys in the supplemental logs, so the reader needs to figure out the update before image and after image.") public static final HoodieCDCSupplementalLoggingMode OP_KEY_ONLY
@EnumFieldDescription(value="Keeping the before images in the supplemental logs, so the reader needs to figure out the update after images.") public static final HoodieCDCSupplementalLoggingMode DATA_BEFORE
@EnumFieldDescription(value="Keeping the before and after images in the supplemental logs, so the reader can generate the details directly from the logs.") public static final HoodieCDCSupplementalLoggingMode DATA_BEFORE_AFTER
public static HoodieCDCSupplementalLoggingMode[] values()
for (HoodieCDCSupplementalLoggingMode c : HoodieCDCSupplementalLoggingMode.values()) System.out.println(c);
public static HoodieCDCSupplementalLoggingMode 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 nullCopyright © 2024 The Apache Software Foundation. All rights reserved.