public static enum CassandraConnectorConfig.SnapshotMode extends Enum<CassandraConnectorConfig.SnapshotMode>
| Enum Constant and Description |
|---|
ALWAYS
Perform a snapshot whenever a new table with cdc enabled is detected.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<CassandraConnectorConfig.SnapshotMode> |
fromText(String text) |
static CassandraConnectorConfig.SnapshotMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CassandraConnectorConfig.SnapshotMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraConnectorConfig.SnapshotMode ALWAYS
public static final CassandraConnectorConfig.SnapshotMode INITIAL
public static final CassandraConnectorConfig.SnapshotMode NEVER
public static CassandraConnectorConfig.SnapshotMode[] values()
for (CassandraConnectorConfig.SnapshotMode c : CassandraConnectorConfig.SnapshotMode.values()) System.out.println(c);
public static CassandraConnectorConfig.SnapshotMode 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 static Optional<CassandraConnectorConfig.SnapshotMode> fromText(String text)
Copyright © 2021 JBoss by Red Hat. All rights reserved.