public static enum PostgresCdcSources.PostgresSnapshotMode extends Enum<PostgresCdcSources.PostgresSnapshotMode>
Enum Constant and Description |
---|
ALWAYS
Always perform a snapshot when starting.
|
INITIAL
Perform a snapshot only upon initial startup of a connector.
|
INITIAL_ONLY
Perform a snapshot and then stop before attempting to receive any logical changes.
|
NEVER
Never perform a snapshot and only receive logical changes.
|
Modifier and Type | Method and Description |
---|---|
static PostgresCdcSources.PostgresSnapshotMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresCdcSources.PostgresSnapshotMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresCdcSources.PostgresSnapshotMode ALWAYS
public static final PostgresCdcSources.PostgresSnapshotMode INITIAL
public static final PostgresCdcSources.PostgresSnapshotMode NEVER
public static final PostgresCdcSources.PostgresSnapshotMode INITIAL_ONLY
public static PostgresCdcSources.PostgresSnapshotMode[] values()
for (PostgresCdcSources.PostgresSnapshotMode c : PostgresCdcSources.PostgresSnapshotMode.values()) System.out.println(c);
public static PostgresCdcSources.PostgresSnapshotMode 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 © 2023 Hazelcast, Inc.. All rights reserved.