public enum SourceTimestampMode extends Enum<SourceTimestampMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
COMMIT
This mode (default) will set the source timestamp field (ts_ms) of when the record was committed in the database.
|
PROCESSING
This mode will set the source timestamp field (ts_ms) of when the record was processed by Debezium.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static SourceTimestampMode |
fromMode(String mode) |
static SourceTimestampMode |
getDefaultMode() |
String |
getValue() |
static SourceTimestampMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceTimestampMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceTimestampMode COMMIT
public static final SourceTimestampMode PROCESSING
private final String value
public static SourceTimestampMode[] values()
for (SourceTimestampMode c : SourceTimestampMode.values()) System.out.println(c);
public static SourceTimestampMode 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 String getValue()
getValue in interface EnumeratedValuepublic static SourceTimestampMode getDefaultMode()
static SourceTimestampMode fromMode(String mode)
Copyright © 2021 JBoss by Red Hat. All rights reserved.