public static enum PostgresConnectorConfig.TopicSelectionStrategy extends Enum<PostgresConnectorConfig.TopicSelectionStrategy> implements EnumeratedValue
| Enum Constant and Description |
|---|
TOPIC_PER_SCHEMA
Create a topic for an entire DB schema
|
TOPIC_PER_TABLE
Create a topic for each distinct DB table
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static PostgresConnectorConfig.TopicSelectionStrategy |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static PostgresConnectorConfig.TopicSelectionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresConnectorConfig.TopicSelectionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresConnectorConfig.TopicSelectionStrategy TOPIC_PER_TABLE
public static final PostgresConnectorConfig.TopicSelectionStrategy TOPIC_PER_SCHEMA
private String value
public static PostgresConnectorConfig.TopicSelectionStrategy[] values()
for (PostgresConnectorConfig.TopicSelectionStrategy c : PostgresConnectorConfig.TopicSelectionStrategy.values()) System.out.println(c);
public static PostgresConnectorConfig.TopicSelectionStrategy 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 PostgresConnectorConfig.TopicSelectionStrategy parse(String value)
value - the configuration property value; may not be nullCopyright © 2017 JBoss by Red Hat. All rights reserved.