## Uses of Class
org.mariadb.jdbc.Configuration.Builder

Packages that use Configuration.Builder
org.mariadb.jdbc

### Uses of Configuration.Builder in org.mariadb.jdbc

Methods in org.mariadb.jdbc that return Configuration.Builder
`Configuration.Builder` Configuration.Builder.`addHost​(String host, int port)` Add Host to possible addresses to connect
`Configuration.Builder` Configuration.Builder.`addHost​(String host, int port, boolean master)` Add Host to possible addresses to connect
`Configuration.Builder` Configuration.Builder.`addHost​(String host, int port, boolean master, String sslMode)` Add Host to possible addresses to connect
`Configuration.Builder` Configuration.Builder.`addHost​(String host, int port, String sslMode)` Add Host to possible addresses to connect
`Configuration.Builder` Configuration.Builder.`addLocalSocketHost​(String localSocket)` Add a unix socket host
`Configuration.Builder` Configuration.Builder.`addPipeHost​(String pipe)` Add a windows pipe host
`Configuration.Builder` Configuration.Builder.`addresses​(List<HostAddress> hostAddress)` add host addresses
`Configuration.Builder` Configuration.Builder.`addresses​(HostAddress... hostAddress)` add host addresses
`Configuration.Builder` Configuration.Builder.`allowLocalInfile​(Boolean allowLocalInfile)` Indicate if LOAD DATA LOCAL INFILE are permitted.
`Configuration.Builder` Configuration.Builder.`allowMultiQueries​(Boolean allowMultiQueries)` Indicate that multi-queries are allowed.
`Configuration.Builder` Configuration.Builder.`allowPublicKeyRetrieval​(Boolean allowPublicKeyRetrieval)` Allow RSA server file retrieval from MySQL server
`Configuration.Builder` Configuration.Builder.`autocommit​(Boolean autocommit)` Permit to force autocommit connection value
`Configuration.Builder` Configuration.Builder.`blankTableNameMeta​(Boolean blankTableNameMeta)` Set blank table name for metadata (old oracle compatibility)
`Configuration.Builder` Configuration.Builder.`cachePrepStmts​(Boolean cachePrepStmts)` Cache server prepare result
`Configuration.Builder` Configuration.Builder.`connectionAttributes​(String connectionAttributes)` Additional connection attributes to identify connection
`Configuration.Builder` Configuration.Builder.`connectionCollation​(String connectionCollation)` indicate what utf8mb4 collation to use.
`Configuration.Builder` Configuration.Builder.`connectionTimeZone​(String connectionTimeZone)` indicate what timestamp timezone to use in exchanges with server possible value are LOCAL|SERVER|user-defined time zone
`Configuration.Builder` Configuration.Builder.`connectTimeout​(Integer connectTimeout)` Indicate connect timeout value, in milliseconds, or zero for no timeout.
`Configuration.Builder` Configuration.Builder.`createDatabaseIfNotExist​(Boolean createDatabaseIfNotExist)` Create database if not exist.
`Configuration.Builder` Configuration.Builder.`credentialType​(String credentialType)` set credential plugin type
`Configuration.Builder` Configuration.Builder.`database​(String database)` Set default database
`Configuration.Builder` Configuration.Builder.`defaultFetchSize​(Integer defaultFetchSize)` Set default fetch size
`Configuration.Builder` Configuration.Builder.`disablePipeline​(Boolean disablePipeline)` Disable pipeline
`Configuration.Builder` Configuration.Builder.`dumpQueriesOnException​(Boolean dumpQueriesOnException)` Must queries be dump on exception stracktrace.
`Configuration.Builder` Configuration.Builder.`enabledSslCipherSuites​(String enabledSslCipherSuites)` set possible cipher list (comma separated), not using default java cipher list
`Configuration.Builder` Configuration.Builder.`enabledSslProtocolSuites​(String enabledSslProtocolSuites)` Set ssl protocol list to user (comma separated)
`Configuration.Builder` Configuration.Builder.`fallbackToSystemKeyStore​(Boolean fallbackToSystemKeyStore)` Indicate if keystore system properties can be used.
`Configuration.Builder` Configuration.Builder.`fallbackToSystemTrustStore​(Boolean fallbackToSystemTrustStore)` Indicate if system default truststore can be used.
`Configuration.Builder` Configuration.Builder.`forceConnectionTimeZoneToSession​(Boolean forceConnectionTimeZoneToSession)` Indicate if connectionTimeZone must be forced to session
`Configuration.Builder` Configuration.Builder.`galeraAllowedState​(String galeraAllowedState)` Indicate galera allowed state (comma separated), permitting to validate if galera node is synchronized
`Configuration.Builder` Configuration.Builder.`geometryDefaultType​(String geometryDefault)` Indicate what default Object type Geometry a resultset.getObject must return.
`Configuration.Builder` Configuration.Builder.`haMode​(HaMode haMode)` Set failover High-availability mode
`Configuration.Builder` Configuration.Builder.`includeInnodbStatusInDeadlockExceptions​(Boolean includeInnodbStatusInDeadlockExceptions)` On dead-lock exception must add innodb status in exception error message.
`Configuration.Builder` Configuration.Builder.`includeThreadDumpInDeadlockExceptions​(Boolean includeThreadDumpInDeadlockExceptions)` Dead-lock error will contain threads information
`Configuration.Builder` Configuration.Builder.`initSql​(String initSql)` permit to execute an SQL command on connection creation
`Configuration.Builder` Configuration.Builder.`jdbcCompliantTruncation​(Boolean jdbcCompliantTruncation)` indicate if connector must force sql_mode strict mode for jdbc compliance
`Configuration.Builder` Configuration.Builder.`keyPassword​(String keyPassword)` Client keystore alias password
`Configuration.Builder` Configuration.Builder.`keyStore​(String keyStore)` File path of the keyStore file that contain client private key store and associate certificates (similar to java System property \"javax.net.ssl.keyStore\", but ensure that only the private key's entries are used)
`Configuration.Builder` Configuration.Builder.`keyStorePassword​(String keyStorePassword)` Client keystore password
`Configuration.Builder` Configuration.Builder.`keyStoreType​(String keyStoreType)` Key store type
`Configuration.Builder` Configuration.Builder.`localSocket​(String localSocket)` Indicate to use Unix domain socket, if the server allows it, specifying named pipe name to connect The value is the path of Unix domain socket (available with "select @@socket" command).
`Configuration.Builder` Configuration.Builder.`localSocketAddress​(String localSocketAddress)` Indicate Hostname or IP address to bind the connection socket to a local (UNIX domain) socket.
`Configuration.Builder` Configuration.Builder.`maxAllowedPacket​(Integer maxAllowedPacket)` Indicate to driver server max_allowed_packet.
`Configuration.Builder` Configuration.Builder.`maxIdleTime​(Integer maxIdleTime)` Set the maximum idle time of a connection indicating that connection must be released
`Configuration.Builder` Configuration.Builder.`maxPoolSize​(Integer maxPoolSize)` Set the limit number of connection in pool.
`Configuration.Builder` Configuration.Builder.`maxQuerySizeToLog​(Integer maxQuerySizeToLog)` Set the log size limit for query
`Configuration.Builder` Configuration.Builder.`minPoolSize​(Integer minPoolSize)` Minimum pool size.
`Configuration.Builder` Configuration.Builder.`nullDatabaseMeansCurrent​(Boolean nullDatabaseMeansCurrent)` Permit indicating in DatabaseMetadata if null value must be considered current schema/catalog
`Configuration.Builder` Configuration.Builder.`password​(String password)` User password
`Configuration.Builder` Configuration.Builder.`permitRedirect​(Boolean permitRedirect)` indicate if connector must redirect connection when receiving server redirect information
`Configuration.Builder` Configuration.Builder.`pinGlobalTxToPhysicalConnection​(Boolean pinGlobalTxToPhysicalConnection)` Indicate if for XA transaction, connector must reuse same connection.
`Configuration.Builder` Configuration.Builder.`pipe​(String pipe)` Indicate to use windows named pipe, specify named pipe name to connect
`Configuration.Builder` Configuration.Builder.`pool​(Boolean pool)` Create pool if not existing, or get a connection for the pool associate with this connection string if existing.
`Configuration.Builder` Configuration.Builder.`poolName​(String poolName)` set pool name
`Configuration.Builder` Configuration.Builder.`poolValidMinDelay​(Integer poolValidMinDelay)` Pool will validate connection before giving it.
`Configuration.Builder` Configuration.Builder.`prepStmtCacheSize​(Integer prepStmtCacheSize)` If using server prepared statement, set LRU prepare cache size
`Configuration.Builder` Configuration.Builder.`preserveInstants​(Boolean preserveInstants)` Indicate if connection must preserve instants
`Configuration.Builder` Configuration.Builder.`registerJmxPool​(Boolean registerJmxPool)` Must pool register JMX information
`Configuration.Builder` Configuration.Builder.`restrictedAuth​(String restrictedAuth)` restrict authentication method to secure list.
`Configuration.Builder` Configuration.Builder.`retriesAllDown​(Integer retriesAllDown)` When failover occurs, how many connection attempt before throwing error when reconnecting
`Configuration.Builder` Configuration.Builder.`returnMultiValuesGeneratedIds​(Boolean returnMultiValuesGeneratedIds)` indicate if connector must return multi-generated ids.
`Configuration.Builder` Configuration.Builder.`serverRsaPublicKeyFile​(String serverRsaPublicKeyFile)` MySQL Authentication RSA server file, for mysql authentication
`Configuration.Builder` Configuration.Builder.`serverSslCert​(String serverSslCert)` Server SSL certificate (path or file content)
`Configuration.Builder` Configuration.Builder.`servicePrincipalName​(String servicePrincipalName)` set service principal name (GSSAPI)
`Configuration.Builder` Configuration.Builder.`sessionVariables​(String sessionVariables)` set connection session variables (comma separated)
`Configuration.Builder` Configuration.Builder.`socketFactory​(String socketFactory)` Socket factory
`Configuration.Builder` Configuration.Builder.`socketTimeout​(Integer socketTimeout)` Indicate the network socket timeout (SO_TIMEOUT) in milliseconds.
`Configuration.Builder` Configuration.Builder.`sslMode​(String sslMode)` Set ssl model
`Configuration.Builder` Configuration.Builder.`tcpAbortiveClose​(Boolean tcpAbortiveClose)` Indicate that when connection fails, to send an RST TCP packet.
`Configuration.Builder` Configuration.Builder.`tcpKeepAlive​(Boolean tcpKeepAlive)` Indicate if TCP keep-alive must be enabled.
`Configuration.Builder` Configuration.Builder.`tcpKeepCount​(Integer tcpKeepCount)` Indicate TCP keep-count value (for java 11+ only).
`Configuration.Builder` Configuration.Builder.`tcpKeepIdle​(Integer tcpKeepIdle)` Indicate TCP keep-idle value (for java 11+ only).
`Configuration.Builder` Configuration.Builder.`tcpKeepInterval​(Integer tcpKeepInterval)` Indicate TCP keep-interval value (for java 11+ only).
`Configuration.Builder` Configuration.Builder.`timezone​(String timezone)` Force timezone to use this timezone, not default java one
`Configuration.Builder` Configuration.Builder.`tinyInt1isBit​(Boolean tinyInt1isBit)` TinyInt(1) to be considered as bit
`Configuration.Builder` Configuration.Builder.`tlsSocketType​(String tlsSocketType)` Permit to defined default tls plugin type
`Configuration.Builder` Configuration.`toBuilder()` Create a Builder from current configuration.
`Configuration.Builder` Configuration.Builder.`transactionIsolation​(String transactionIsolation)` force default transaction isolation, not using server default
`Configuration.Builder` Configuration.Builder.`transactionReplay​(Boolean transactionReplay)` Must cache commands in transaction and replay transaction on failover.
`Configuration.Builder` Configuration.Builder.`transactionReplaySize​(Integer transactionReplaySize)` Transaction replay cache size
`Configuration.Builder` Configuration.Builder.`transformedBitIsBoolean​(Boolean transformedBitIsBoolean)` TinyInt(1) to be considered as boolean
`Configuration.Builder` Configuration.Builder.`trustStore​(String trustStore)` File path of the trustStore file that contain trusted certificates (similar to java System property \"javax.net.ssl.trustStore\")
`Configuration.Builder` Configuration.Builder.`trustStorePassword​(String trustStorePassword)` Client truststore password
`Configuration.Builder` Configuration.Builder.`trustStoreType​(String trustStoreType)` trust store type
`Configuration.Builder` Configuration.Builder.`useAffectedRows​(Boolean useAffectedRows)` Indicate server to return affected rows in place of found rows.
`Configuration.Builder` Configuration.Builder.`useBulkStmts​(Boolean useBulkStmts)` Use server dedicated bulk batch command
`Configuration.Builder` Configuration.Builder.`useBulkStmtsForInserts​(Boolean useBulkStmtsForInserts)` Use server dedicated bulk batch command for insert (if useBulkStmts is enabled, useBulkStmtsForInserts will be enabled as well)
`Configuration.Builder` Configuration.Builder.`useCatalogTerm​(String useCatalogTerm)` "schema" and "database" are server synonymous.
`Configuration.Builder` Configuration.Builder.`useCompression​(Boolean useCompression)` Indicate to compress exchanges with the database through gzip.
`Configuration.Builder` Configuration.Builder.`useLocalSessionState​(Boolean useLocalSessionState)` indicate if connector can use local state to avoid unnecessary queries.
`Configuration.Builder` Configuration.Builder.`useMysqlMetadata​(Boolean useMysqlMetadata)` Permit indicating to force DatabaseMetadata.getDatabaseProductName() to return `MySQL` as database type, not real database type
`Configuration.Builder` Configuration.Builder.`user​(String user)` set user to authenticate to server
`Configuration.Builder` Configuration.Builder.`useReadAheadInput​(Boolean useReadAheadInput)` Cache all socket available information.
`Configuration.Builder` Configuration.Builder.`useResetConnection​(Boolean useResetConnection)` Indicate that connection returned to pool must be RESETed like having proper connection state.
`Configuration.Builder` Configuration.Builder.`useServerPrepStmts​(Boolean useServerPrepStmts)` Indicate to use Client or Server prepared statement
`Configuration.Builder` Configuration.Builder.`uuidAsString​(Boolean uuidAsString)` Indicate if UUID fields must returns as String
`Configuration.Builder` Configuration.Builder.`yearIsDateType​(Boolean yearIsDateType)` Year datatype to be considered as date