public enum SQLHintPropertiesKey extends Enum<SQLHintPropertiesKey> implements TypedPropertyKey
| Enum Constant and Description |
|---|
DATASOURCE_NAME_KEY
Hint data source name.
|
USE_TRAFFIC
Whether to use traffic or not.
|
WRITE_ROUTE_ONLY_KEY
Whether hint route write data source or not.
|
| Modifier and Type | Method and Description |
|---|---|
static SQLHintPropertiesKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLHintPropertiesKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetDefaultValue, getKey, getTypepublic static final SQLHintPropertiesKey DATASOURCE_NAME_KEY
public static final SQLHintPropertiesKey WRITE_ROUTE_ONLY_KEY
public static final SQLHintPropertiesKey USE_TRAFFIC
public static SQLHintPropertiesKey[] values()
for (SQLHintPropertiesKey c : SQLHintPropertiesKey.values()) System.out.println(c);
public static SQLHintPropertiesKey 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 nullCopyright © 2022 The Apache Software Foundation. All rights reserved.