枚举 PropertyKey
- java.lang.Object
-
- java.lang.Enum<PropertyKey>
-
- com.mysql.cj.conf.PropertyKey
-
- 所有已实现的接口:
Serializable,Comparable<PropertyKey>
public enum PropertyKey extends Enum<PropertyKey>
PropertyKey handles connection property names, their camel-case aliases and case sensitivity.
-
-
枚举常量概要
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static PropertyKeyfromValue(String value)Looks for aPropertyKeythat matches the given value as key name.StringgetCcAlias()Gets the camel-case alias key name of this enum element.StringgetKeyName()Gets the key name of this enum element.static StringnormalizeCase(String keyName)Helper method that normalizes the case of the given key, if it is one ofPropertyKeyelements.StringtoString()static PropertyKeyvalueOf(String name)返回带有指定名称的该类型的枚举常量。static PropertyKey[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
USER
public static final PropertyKey USER
The database user name.
-
PASSWORD
public static final PropertyKey PASSWORD
The database user password.
-
HOST
public static final PropertyKey HOST
The hostname value from the properties instance passed to the driver.
-
PORT
public static final PropertyKey PORT
The port number value from the properties instance passed to the driver.
-
PROTOCOL
public static final PropertyKey PROTOCOL
The communications protocol. Possible values: "tcp" and "pipe".
-
PATH
public static final PropertyKey PATH
The name pipes path to use when "protocol=pipe'.
-
TYPE
public static final PropertyKey TYPE
The server type in a replication setup. Possible values: "source" and "replica".
-
ADDRESS
public static final PropertyKey ADDRESS
The address value ("host:port") from the properties instance passed to the driver.
-
PRIORITY
public static final PropertyKey PRIORITY
The host priority in a list of hosts.
-
DBNAME
public static final PropertyKey DBNAME
The database value from the properties instance passed to the driver.
-
allowLoadLocalInfile
public static final PropertyKey allowLoadLocalInfile
-
allowLoadLocalInfileInPath
public static final PropertyKey allowLoadLocalInfileInPath
-
allowMultiQueries
public static final PropertyKey allowMultiQueries
-
allowNanAndInf
public static final PropertyKey allowNanAndInf
-
allowPublicKeyRetrieval
public static final PropertyKey allowPublicKeyRetrieval
-
allowReplicaDownConnections
public static final PropertyKey allowReplicaDownConnections
-
allowSourceDownConnections
public static final PropertyKey allowSourceDownConnections
-
allowUrlInLocalInfile
public static final PropertyKey allowUrlInLocalInfile
-
alwaysSendSetIsolation
public static final PropertyKey alwaysSendSetIsolation
-
authenticationFidoCallbackHandler
public static final PropertyKey authenticationFidoCallbackHandler
-
authenticationPlugins
public static final PropertyKey authenticationPlugins
-
autoClosePStmtStreams
public static final PropertyKey autoClosePStmtStreams
-
autoDeserialize
public static final PropertyKey autoDeserialize
-
autoGenerateTestcaseScript
public static final PropertyKey autoGenerateTestcaseScript
-
autoReconnect
public static final PropertyKey autoReconnect
-
autoReconnectForPools
public static final PropertyKey autoReconnectForPools
-
autoSlowLog
public static final PropertyKey autoSlowLog
-
blobsAreStrings
public static final PropertyKey blobsAreStrings
-
blobSendChunkSize
public static final PropertyKey blobSendChunkSize
-
cacheCallableStmts
public static final PropertyKey cacheCallableStmts
-
cacheDefaultTimeZone
public static final PropertyKey cacheDefaultTimeZone
-
cachePrepStmts
public static final PropertyKey cachePrepStmts
-
cacheResultSetMetadata
public static final PropertyKey cacheResultSetMetadata
-
cacheServerConfiguration
public static final PropertyKey cacheServerConfiguration
-
callableStmtCacheSize
public static final PropertyKey callableStmtCacheSize
-
characterEncoding
public static final PropertyKey characterEncoding
-
characterSetResults
public static final PropertyKey characterSetResults
-
clientCertificateKeyStorePassword
public static final PropertyKey clientCertificateKeyStorePassword
-
clientCertificateKeyStoreType
public static final PropertyKey clientCertificateKeyStoreType
-
clientCertificateKeyStoreUrl
public static final PropertyKey clientCertificateKeyStoreUrl
-
clientInfoProvider
public static final PropertyKey clientInfoProvider
-
clobberStreamingResults
public static final PropertyKey clobberStreamingResults
-
clobCharacterEncoding
public static final PropertyKey clobCharacterEncoding
-
compensateOnDuplicateKeyUpdateCounts
public static final PropertyKey compensateOnDuplicateKeyUpdateCounts
-
connectionAttributes
public static final PropertyKey connectionAttributes
-
connectionCollation
public static final PropertyKey connectionCollation
-
connectionLifecycleInterceptors
public static final PropertyKey connectionLifecycleInterceptors
-
connectionTimeZone
public static final PropertyKey connectionTimeZone
-
connectTimeout
public static final PropertyKey connectTimeout
-
continueBatchOnError
public static final PropertyKey continueBatchOnError
-
createDatabaseIfNotExist
public static final PropertyKey createDatabaseIfNotExist
-
customCharsetMapping
public static final PropertyKey customCharsetMapping
-
databaseTerm
public static final PropertyKey databaseTerm
-
defaultAuthenticationPlugin
public static final PropertyKey defaultAuthenticationPlugin
-
defaultFetchSize
public static final PropertyKey defaultFetchSize
-
detectCustomCollations
public static final PropertyKey detectCustomCollations
-
disabledAuthenticationPlugins
public static final PropertyKey disabledAuthenticationPlugins
-
disconnectOnExpiredPasswords
public static final PropertyKey disconnectOnExpiredPasswords
-
dnsSrv
public static final PropertyKey dnsSrv
-
dontCheckOnDuplicateKeyUpdateInSQL
public static final PropertyKey dontCheckOnDuplicateKeyUpdateInSQL
-
dontTrackOpenResources
public static final PropertyKey dontTrackOpenResources
-
dumpQueriesOnException
public static final PropertyKey dumpQueriesOnException
-
elideSetAutoCommits
public static final PropertyKey elideSetAutoCommits
-
emptyStringsConvertToZero
public static final PropertyKey emptyStringsConvertToZero
-
emulateLocators
public static final PropertyKey emulateLocators
-
emulateUnsupportedPstmts
public static final PropertyKey emulateUnsupportedPstmts
-
enableEscapeProcessing
public static final PropertyKey enableEscapeProcessing
-
enablePacketDebug
public static final PropertyKey enablePacketDebug
-
enableQueryTimeouts
public static final PropertyKey enableQueryTimeouts
-
exceptionInterceptors
public static final PropertyKey exceptionInterceptors
-
explainSlowQueries
public static final PropertyKey explainSlowQueries
-
failOverReadOnly
public static final PropertyKey failOverReadOnly
-
fallbackToSystemKeyStore
public static final PropertyKey fallbackToSystemKeyStore
-
fallbackToSystemTrustStore
public static final PropertyKey fallbackToSystemTrustStore
-
forceConnectionTimeZoneToSession
public static final PropertyKey forceConnectionTimeZoneToSession
-
functionsNeverReturnBlobs
public static final PropertyKey functionsNeverReturnBlobs
-
gatherPerfMetrics
public static final PropertyKey gatherPerfMetrics
-
generateSimpleParameterMetadata
public static final PropertyKey generateSimpleParameterMetadata
-
getProceduresReturnsFunctions
public static final PropertyKey getProceduresReturnsFunctions
-
ha_enableJMX
public static final PropertyKey ha_enableJMX
-
ha_loadBalanceStrategy
public static final PropertyKey ha_loadBalanceStrategy
-
holdResultsOpenOverStatementClose
public static final PropertyKey holdResultsOpenOverStatementClose
-
ignoreNonTxTables
public static final PropertyKey ignoreNonTxTables
-
includeInnodbStatusInDeadlockExceptions
public static final PropertyKey includeInnodbStatusInDeadlockExceptions
-
includeThreadDumpInDeadlockExceptions
public static final PropertyKey includeThreadDumpInDeadlockExceptions
-
includeThreadNamesAsStatementComment
public static final PropertyKey includeThreadNamesAsStatementComment
-
initialTimeout
public static final PropertyKey initialTimeout
-
interactiveClient
public static final PropertyKey interactiveClient
-
jdbcCompliantTruncation
public static final PropertyKey jdbcCompliantTruncation
-
largeRowSizeThreshold
public static final PropertyKey largeRowSizeThreshold
-
ldapServerHostname
public static final PropertyKey ldapServerHostname
-
loadBalanceAutoCommitStatementRegex
public static final PropertyKey loadBalanceAutoCommitStatementRegex
-
loadBalanceAutoCommitStatementThreshold
public static final PropertyKey loadBalanceAutoCommitStatementThreshold
-
loadBalanceBlocklistTimeout
public static final PropertyKey loadBalanceBlocklistTimeout
-
loadBalanceConnectionGroup
public static final PropertyKey loadBalanceConnectionGroup
-
loadBalanceExceptionChecker
public static final PropertyKey loadBalanceExceptionChecker
-
loadBalanceHostRemovalGracePeriod
public static final PropertyKey loadBalanceHostRemovalGracePeriod
-
loadBalancePingTimeout
public static final PropertyKey loadBalancePingTimeout
-
loadBalanceSQLExceptionSubclassFailover
public static final PropertyKey loadBalanceSQLExceptionSubclassFailover
-
loadBalanceSQLStateFailover
public static final PropertyKey loadBalanceSQLStateFailover
-
loadBalanceValidateConnectionOnSwapServer
public static final PropertyKey loadBalanceValidateConnectionOnSwapServer
-
localSocketAddress
public static final PropertyKey localSocketAddress
-
locatorFetchBufferSize
public static final PropertyKey locatorFetchBufferSize
-
logger
public static final PropertyKey logger
-
logSlowQueries
public static final PropertyKey logSlowQueries
-
logXaCommands
public static final PropertyKey logXaCommands
-
maintainTimeStats
public static final PropertyKey maintainTimeStats
-
maxAllowedPacket
public static final PropertyKey maxAllowedPacket
-
maxQuerySizeToLog
public static final PropertyKey maxQuerySizeToLog
-
maxReconnects
public static final PropertyKey maxReconnects
-
maxRows
public static final PropertyKey maxRows
-
metadataCacheSize
public static final PropertyKey metadataCacheSize
-
netTimeoutForStreamingResults
public static final PropertyKey netTimeoutForStreamingResults
-
noAccessToProcedureBodies
public static final PropertyKey noAccessToProcedureBodies
-
noDatetimeStringSync
public static final PropertyKey noDatetimeStringSync
-
nullDatabaseMeansCurrent
public static final PropertyKey nullDatabaseMeansCurrent
-
ociConfigFile
public static final PropertyKey ociConfigFile
-
overrideSupportsIntegrityEnhancementFacility
public static final PropertyKey overrideSupportsIntegrityEnhancementFacility
-
packetDebugBufferSize
public static final PropertyKey packetDebugBufferSize
-
padCharsWithSpace
public static final PropertyKey padCharsWithSpace
-
paranoid
public static final PropertyKey paranoid
-
queryInfoCacheFactory
public static final PropertyKey queryInfoCacheFactory
-
password1
public static final PropertyKey password1
-
password2
public static final PropertyKey password2
-
password3
public static final PropertyKey password3
-
passwordCharacterEncoding
public static final PropertyKey passwordCharacterEncoding
-
pedantic
public static final PropertyKey pedantic
-
pinGlobalTxToPhysicalConnection
public static final PropertyKey pinGlobalTxToPhysicalConnection
-
populateInsertRowWithDefaultValues
public static final PropertyKey populateInsertRowWithDefaultValues
-
prepStmtCacheSize
public static final PropertyKey prepStmtCacheSize
-
prepStmtCacheSqlLimit
public static final PropertyKey prepStmtCacheSqlLimit
-
preserveInstants
public static final PropertyKey preserveInstants
-
processEscapeCodesForPrepStmts
public static final PropertyKey processEscapeCodesForPrepStmts
-
profilerEventHandler
public static final PropertyKey profilerEventHandler
-
profileSQL
public static final PropertyKey profileSQL
-
propertiesTransform
public static final PropertyKey propertiesTransform
-
queriesBeforeRetrySource
public static final PropertyKey queriesBeforeRetrySource
-
queryInterceptors
public static final PropertyKey queryInterceptors
-
queryTimeoutKillsConnection
public static final PropertyKey queryTimeoutKillsConnection
-
readFromSourceWhenNoReplicas
public static final PropertyKey readFromSourceWhenNoReplicas
-
readOnlyPropagatesToServer
public static final PropertyKey readOnlyPropagatesToServer
-
reconnectAtTxEnd
public static final PropertyKey reconnectAtTxEnd
-
replicationConnectionGroup
public static final PropertyKey replicationConnectionGroup
-
reportMetricsIntervalMillis
public static final PropertyKey reportMetricsIntervalMillis
-
requireSSL
public static final PropertyKey requireSSL
-
resourceId
public static final PropertyKey resourceId
-
resultSetSizeThreshold
public static final PropertyKey resultSetSizeThreshold
-
retriesAllDown
public static final PropertyKey retriesAllDown
-
rewriteBatchedStatements
public static final PropertyKey rewriteBatchedStatements
-
rollbackOnPooledClose
public static final PropertyKey rollbackOnPooledClose
-
scrollTolerantForwardOnly
public static final PropertyKey scrollTolerantForwardOnly
-
secondsBeforeRetrySource
public static final PropertyKey secondsBeforeRetrySource
-
selfDestructOnPingMaxOperations
public static final PropertyKey selfDestructOnPingMaxOperations
-
selfDestructOnPingSecondsLifetime
public static final PropertyKey selfDestructOnPingSecondsLifetime
-
sendFractionalSeconds
public static final PropertyKey sendFractionalSeconds
-
sendFractionalSecondsForTime
public static final PropertyKey sendFractionalSecondsForTime
-
serverAffinityOrder
public static final PropertyKey serverAffinityOrder
-
serverConfigCacheFactory
public static final PropertyKey serverConfigCacheFactory
-
serverRSAPublicKeyFile
public static final PropertyKey serverRSAPublicKeyFile
-
sessionVariables
public static final PropertyKey sessionVariables
-
slowQueryThresholdMillis
public static final PropertyKey slowQueryThresholdMillis
-
slowQueryThresholdNanos
public static final PropertyKey slowQueryThresholdNanos
-
socketFactory
public static final PropertyKey socketFactory
-
socketTimeout
public static final PropertyKey socketTimeout
-
socksProxyHost
public static final PropertyKey socksProxyHost
-
socksProxyPort
public static final PropertyKey socksProxyPort
-
socksProxyRemoteDns
public static final PropertyKey socksProxyRemoteDns
-
sslMode
public static final PropertyKey sslMode
-
strictUpdates
public static final PropertyKey strictUpdates
-
tcpKeepAlive
public static final PropertyKey tcpKeepAlive
-
tcpNoDelay
public static final PropertyKey tcpNoDelay
-
tcpRcvBuf
public static final PropertyKey tcpRcvBuf
-
tcpSndBuf
public static final PropertyKey tcpSndBuf
-
tcpTrafficClass
public static final PropertyKey tcpTrafficClass
-
tinyInt1isBit
public static final PropertyKey tinyInt1isBit
-
tlsCiphersuites
public static final PropertyKey tlsCiphersuites
-
tlsVersions
public static final PropertyKey tlsVersions
-
traceProtocol
public static final PropertyKey traceProtocol
-
trackSessionState
public static final PropertyKey trackSessionState
-
transformedBitIsBoolean
public static final PropertyKey transformedBitIsBoolean
-
treatUtilDateAsTimestamp
public static final PropertyKey treatUtilDateAsTimestamp
-
trustCertificateKeyStorePassword
public static final PropertyKey trustCertificateKeyStorePassword
-
trustCertificateKeyStoreType
public static final PropertyKey trustCertificateKeyStoreType
-
trustCertificateKeyStoreUrl
public static final PropertyKey trustCertificateKeyStoreUrl
-
ultraDevHack
public static final PropertyKey ultraDevHack
-
useAffectedRows
public static final PropertyKey useAffectedRows
-
useColumnNamesInFindColumn
public static final PropertyKey useColumnNamesInFindColumn
-
useCompression
public static final PropertyKey useCompression
-
useConfigs
public static final PropertyKey useConfigs
-
useCursorFetch
public static final PropertyKey useCursorFetch
-
useHostsInPrivileges
public static final PropertyKey useHostsInPrivileges
-
useInformationSchema
public static final PropertyKey useInformationSchema
-
useLocalSessionState
public static final PropertyKey useLocalSessionState
-
useLocalTransactionState
public static final PropertyKey useLocalTransactionState
-
useNanosForElapsedTime
public static final PropertyKey useNanosForElapsedTime
-
useOldAliasMetadataBehavior
public static final PropertyKey useOldAliasMetadataBehavior
-
useOnlyServerErrorMessages
public static final PropertyKey useOnlyServerErrorMessages
-
useReadAheadInput
public static final PropertyKey useReadAheadInput
-
useServerPrepStmts
public static final PropertyKey useServerPrepStmts
-
useSSL
public static final PropertyKey useSSL
-
useStreamLengthsInPrepStmts
public static final PropertyKey useStreamLengthsInPrepStmts
-
useUnbufferedInput
public static final PropertyKey useUnbufferedInput
-
useUsageAdvisor
public static final PropertyKey useUsageAdvisor
-
verifyServerCertificate
public static final PropertyKey verifyServerCertificate
-
xdevapiAsyncResponseTimeout
public static final PropertyKey xdevapiAsyncResponseTimeout
-
xdevapiAuth
public static final PropertyKey xdevapiAuth
-
xdevapiConnectTimeout
public static final PropertyKey xdevapiConnectTimeout
-
xdevapiConnectionAttributes
public static final PropertyKey xdevapiConnectionAttributes
-
xdevapiCompression
public static final PropertyKey xdevapiCompression
-
xdevapiCompressionAlgorithms
public static final PropertyKey xdevapiCompressionAlgorithms
-
xdevapiCompressionExtensions
public static final PropertyKey xdevapiCompressionExtensions
-
xdevapiDnsSrv
public static final PropertyKey xdevapiDnsSrv
-
xdevapiFallbackToSystemKeyStore
public static final PropertyKey xdevapiFallbackToSystemKeyStore
-
xdevapiFallbackToSystemTrustStore
public static final PropertyKey xdevapiFallbackToSystemTrustStore
-
xdevapiSslKeyStorePassword
public static final PropertyKey xdevapiSslKeyStorePassword
-
xdevapiSslKeyStoreType
public static final PropertyKey xdevapiSslKeyStoreType
-
xdevapiSslKeyStoreUrl
public static final PropertyKey xdevapiSslKeyStoreUrl
-
xdevapiSslMode
public static final PropertyKey xdevapiSslMode
-
xdevapiSslTrustStorePassword
public static final PropertyKey xdevapiSslTrustStorePassword
-
xdevapiSslTrustStoreType
public static final PropertyKey xdevapiSslTrustStoreType
-
xdevapiSslTrustStoreUrl
public static final PropertyKey xdevapiSslTrustStoreUrl
-
xdevapiTlsCiphersuites
public static final PropertyKey xdevapiTlsCiphersuites
-
xdevapiTlsVersions
public static final PropertyKey xdevapiTlsVersions
-
yearIsDateType
public static final PropertyKey yearIsDateType
-
zeroDateTimeBehavior
public static final PropertyKey zeroDateTimeBehavior
-
-
方法详细资料
-
values
public static PropertyKey[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (PropertyKey c : PropertyKey.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static PropertyKey valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
toString
public String toString()
- 覆盖:
toString在类中Enum<PropertyKey>
-
getKeyName
public String getKeyName()
Gets the key name of this enum element.- 返回:
- the key name associated with the enum element.
-
getCcAlias
public String getCcAlias()
Gets the camel-case alias key name of this enum element.- 返回:
- the camel-case alias key name associated with the enum element or null.
-
fromValue
public static PropertyKey fromValue(String value)
Looks for aPropertyKeythat matches the given value as key name.- 参数:
value- the key name to look for.- 返回:
- the
PropertyKeyelement that matches the given key name value ornullif none is found.
-
normalizeCase
public static String normalizeCase(String keyName)
Helper method that normalizes the case of the given key, if it is one ofPropertyKeyelements.- 参数:
keyName- the key name to normalize.- 返回:
- the normalized key name if it belongs to this enum, otherwise returns the input unchanged.
-
-