Package io.debezium.connector.cassandra
Enum CassandraConnectorConfig.SnapshotMode
java.lang.Object
java.lang.Enum<CassandraConnectorConfig.SnapshotMode>
io.debezium.connector.cassandra.CassandraConnectorConfig.SnapshotMode
- All Implemented Interfaces:
Serializable,Comparable<CassandraConnectorConfig.SnapshotMode>
- Enclosing class:
- CassandraConnectorConfig
public static enum CassandraConnectorConfig.SnapshotMode
extends Enum<CassandraConnectorConfig.SnapshotMode>
The set of predefined SnapshotMode options.
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Perform a snapshot whenever a new table with cdc enabled is detected. This is detected by periodically scanning tables in Cassandra. -
INITIAL
Perform a snapshot for unsnapshotted tables upon initial startup of the cdc agent. -
NEVER
Never perform a snapshot, instead change events are only read from commit logs.
-
-
Constructor Details
-
SnapshotMode
private SnapshotMode()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
fromText
-