Top Description Fields Constructors Methods
com.mysql.cj.conf

public final Enum PropertyKey

extends Enum<PropertyKey>
Class Inheritance
Imports
java.util.Map, .TreeMap

PropertyKey handles connection property names, their camel-case aliases and case sensitivity.

Field Summary

Modifier and TypeField and Description
public static final PropertyKey
ADDRESS

The address value ("host:port") from the properties instance passed to the driver.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
private static Map<String, PropertyKey>
private String
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
DBNAME

The database value from the properties instance passed to the driver.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
HOST

The hostname value from the properties instance passed to the driver.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
private boolean
public static final PropertyKey
public static final PropertyKey
private String
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
PASSWORD

The database user password.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
PATH

The name pipes path to use when "protocol=pipe'.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
PORT

The port number value from the properties instance passed to the driver.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
PRIORITY

The host priority in a list of hosts.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
PROTOCOL

The communications protocol.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
TYPE

The server type in a replication setup.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
USER

The database user name.

public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey
public static final PropertyKey

Constructor Summary

AccessConstructor and Description
private
PropertyKey(String
the key name for the enum element.
keyName
,
boolean
is this name case sensitive
isCaseSensitive
)

Initializes each enum element with the proper key name to be used in the connection string or properties maps.

private
PropertyKey(String
the key name for the enum element.
keyName
,
String
camel-case alias key name
alias
,
boolean
is this name case sensitive
isCaseSensitive
)

Initializes each enum element with the proper key name to be used in the connection string or properties maps.

Method Summary

Modifier and TypeMethod and Description
public static PropertyKey

Returns:

the PropertyKey element that matches the given key name value or null if none is found.
fromValue
(String
the key name to look for.
value
)

Looks for a PropertyKey that matches the given value as key name.

public String

Returns:

the camel-case alias key name associated with the enum element or null.
getCcAlias
()

Gets the camel-case alias key name of this enum element.

public String

Returns:

the key name associated with the enum element.
getKeyName
()

Gets the key name of this enum element.

public static String

Returns:

the normalized key name if it belongs to this enum, otherwise returns the input unchanged.
normalizeCase
(String
the key name to normalize.
keyName
)

Helper method that normalizes the case of the given key, if it is one of PropertyKey elements.

public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.

public static PropertyKey
public static PropertyKey[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf