public static enum PostgresConnectorConfig.HStoreHandlingMode extends Enum<PostgresConnectorConfig.HStoreHandlingMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
JSON
Represents HStore value as json
|
MAP
Represents HStore value as map
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static PostgresConnectorConfig.HStoreHandlingMode |
parse(String value)
Determine if the supplied values is one of the predefined options
|
static PostgresConnectorConfig.HStoreHandlingMode |
parse(String value,
String defaultValue)
Determine if the supplied values is one of the predefined options
|
static PostgresConnectorConfig.HStoreHandlingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresConnectorConfig.HStoreHandlingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresConnectorConfig.HStoreHandlingMode JSON
public static final PostgresConnectorConfig.HStoreHandlingMode MAP
private final String value
public static PostgresConnectorConfig.HStoreHandlingMode[] values()
for (PostgresConnectorConfig.HStoreHandlingMode c : PostgresConnectorConfig.HStoreHandlingMode.values()) System.out.println(c);
public static PostgresConnectorConfig.HStoreHandlingMode 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.HStoreHandlingMode parse(String value)
value - the configuration property value ; may not be nullpublic static PostgresConnectorConfig.HStoreHandlingMode parse(String value, String defaultValue)
value - the configuration property value ; may not be nulldefaultValue - the default value ; may be nullCopyright © 2019 JBoss by Red Hat. All rights reserved.