Package com.hazelcast.jet.cdc.postgres
Enum Class PostgresCdcSources.PostgresSnapshotMode
java.lang.Object
java.lang.Enum<PostgresCdcSources.PostgresSnapshotMode>
com.hazelcast.jet.cdc.postgres.PostgresCdcSources.PostgresSnapshotMode
- All Implemented Interfaces:
Serializable
,Comparable<PostgresCdcSources.PostgresSnapshotMode>
,Constable
- Enclosing class:
- PostgresCdcSources
public static enum PostgresCdcSources.PostgresSnapshotMode
extends Enum<PostgresCdcSources.PostgresSnapshotMode>
Possible postgres snapshot modes, that does not require additional mandatory parameters to be set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlways perform a snapshot when starting.Perform a snapshot only upon initial startup of a connector.Perform a snapshot and then stop before attempting to receive any logical changes.Never perform a snapshot and only receive logical changes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always perform a snapshot when starting. -
INITIAL
Perform a snapshot only upon initial startup of a connector. -
NEVER
Never perform a snapshot and only receive logical changes. -
INITIAL_ONLY
Perform a snapshot and then stop before attempting to receive any logical changes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-