com.mysql.jdbc.ConnectionProperties Maven / Gradle / Ivy
/*
Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
this software, see the FLOSS License Exception
.
This program is free software; you can redistribute it and/or modify it under the terms
of the GNU General Public License as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
Floor, Boston, MA 02110-1301 USA
*/
package com.mysql.jdbc;
import java.sql.SQLException;
public interface ConnectionProperties {
/**
* Returns a description of the connection properties as an XML document.
*
* @return the connection properties as an XML document.
* @throws SQLException
* if an error occurs.
*/
public abstract String exposeAsXml() throws SQLException;
public abstract boolean getAllowLoadLocalInfile();
public abstract boolean getAllowMultiQueries();
/**
* @return Returns the allowNanAndInf.
*/
public abstract boolean getAllowNanAndInf();
/**
* @return Returns the allowUrlInLocalInfile.
*/
public abstract boolean getAllowUrlInLocalInfile();
/**
* @return Returns the alwaysSendSetIsolation.
*/
public abstract boolean getAlwaysSendSetIsolation();
/**
* @return Returns the autoDeserialize.
*/
public abstract boolean getAutoDeserialize();
public abstract boolean getAutoGenerateTestcaseScript();
public abstract boolean getAutoReconnectForPools();
/**
* @return Returns the blobSendChunkSize.
*/
public abstract int getBlobSendChunkSize();
/**
* @return Returns if cacheCallableStatements is enabled
*/
public abstract boolean getCacheCallableStatements();
/**
* @return Returns the cachePreparedStatements.
*/
public abstract boolean getCachePreparedStatements();
public abstract boolean getCacheResultSetMetadata();
/**
* @return Returns the cacheServerConfiguration.
*/
public abstract boolean getCacheServerConfiguration();
/**
* @return Returns the callableStatementCacheSize.
*/
public abstract int getCallableStatementCacheSize();
public abstract boolean getCapitalizeTypeNames();
/**
* @return Returns the characterSetResults.
*/
public abstract String getCharacterSetResults();
/**
* @return Returns the clobberStreamingResults.
*/
public abstract boolean getClobberStreamingResults();
public abstract String getClobCharacterEncoding();
/**
* @return Returns the connectionCollation.
*/
public abstract String getConnectionCollation();
public abstract int getConnectTimeout();
public abstract boolean getContinueBatchOnError();
public abstract boolean getCreateDatabaseIfNotExist();
public abstract int getDefaultFetchSize();
/**
* @return Returns the dontTrackOpenResources.
*/
public abstract boolean getDontTrackOpenResources();
/**
* @return Returns the dumpQueriesOnException.
*/
public abstract boolean getDumpQueriesOnException();
/**
* @return Returns the dynamicCalendars.
*/
public abstract boolean getDynamicCalendars();
/**
* @return Returns the elideSetAutoCommits.
*/
public abstract boolean getElideSetAutoCommits();
public abstract boolean getEmptyStringsConvertToZero();
public abstract boolean getEmulateLocators();
/**
* @return Returns the emulateUnsupportedPstmts.
*/
public abstract boolean getEmulateUnsupportedPstmts();
/**
* @return Returns the enablePacketDebug.
*/
public abstract boolean getEnablePacketDebug();
public abstract String getEncoding();
/**
* @return Returns the explainSlowQueries.
*/
public abstract boolean getExplainSlowQueries();
/**
* @return Returns the failOverReadOnly.
*/
public abstract boolean getFailOverReadOnly();
/**
* @return Returns the gatherPerformanceMetrics.
*/
public abstract boolean getGatherPerformanceMetrics();
/**
* @return Returns the holdResultsOpenOverStatementClose.
*/
public abstract boolean getHoldResultsOpenOverStatementClose();
public abstract boolean getIgnoreNonTxTables();
public abstract int getInitialTimeout();
public abstract boolean getInteractiveClient();
/**
* @return Returns the isInteractiveClient.
*/
public abstract boolean getIsInteractiveClient();
/**
* @return Returns the jdbcCompliantTruncation.
*/
public abstract boolean getJdbcCompliantTruncation();
/**
* @return Returns the dontTrackOpenResources.
*/
public abstract int getLocatorFetchBufferSize();
public abstract String getLogger();
/**
* @return Returns the loggerClassName.
*/
public abstract String getLoggerClassName();
/**
* @return Returns the logSlowQueries.
*/
public abstract boolean getLogSlowQueries();
public abstract boolean getMaintainTimeStats();
/**
* @return Returns the maxQuerySizeToLog.
*/
public abstract int getMaxQuerySizeToLog();
public abstract int getMaxReconnects();
public abstract int getMaxRows();
/**
* Returns the number of queries that metadata can be cached if caching is
* enabled.
*
* @return the number of queries to cache metadata for.
*/
public abstract int getMetadataCacheSize();
/**
* @return Returns the noDatetimeStringSync.
*/
public abstract boolean getNoDatetimeStringSync();
public abstract boolean getNullCatalogMeansCurrent();
public abstract boolean getNullNamePatternMatchesAll();
/**
* @return Returns the packetDebugBufferSize.
*/
public abstract int getPacketDebugBufferSize();
public abstract boolean getParanoid();
public abstract boolean getPedantic();
/**
* @return Returns the preparedStatementCacheSize.
*/
public abstract int getPreparedStatementCacheSize();
/**
* @return Returns the preparedStatementCacheSqlLimit.
*/
public abstract int getPreparedStatementCacheSqlLimit();
public abstract boolean getProfileSql();
/**
* @return Returns the profileSQL flag
*/
public abstract boolean getProfileSQL();
/**
* @return Returns the propertiesTransform.
*/
public abstract String getPropertiesTransform();
public abstract int getQueriesBeforeRetryMaster();
public abstract boolean getReconnectAtTxEnd();
public abstract boolean getRelaxAutoCommit();
/**
* @return Returns the reportMetricsIntervalMillis.
*/
public abstract int getReportMetricsIntervalMillis();
public abstract boolean getRequireSSL();
/**
* @return Returns the rollbackOnPooledClose.
*/
public abstract boolean getRollbackOnPooledClose();
/**
* Returns whether or not hosts will be picked in a round-robin fashion.
*
* @return Returns the roundRobinLoadBalance property.
*/
public abstract boolean getRoundRobinLoadBalance();
/**
* @return Returns the runningCTS13.
*/
public abstract boolean getRunningCTS13();
public abstract int getSecondsBeforeRetryMaster();
/**
* Returns the 'serverTimezone' property.
*
* @return the configured server timezone property.
*/
public abstract String getServerTimezone();
/**
* @return Returns the sessionVariables.
*/
public abstract String getSessionVariables();
/**
* @return Returns the slowQueryThresholdMillis.
*/
public abstract int getSlowQueryThresholdMillis();
public abstract String getSocketFactoryClassName();
public abstract int getSocketTimeout();
public abstract boolean getStrictFloatingPoint();
public abstract boolean getStrictUpdates();
/**
* @return Returns the tinyInt1isBit.
*/
public abstract boolean getTinyInt1isBit();
/**
* @return Returns the logProtocol.
*/
public abstract boolean getTraceProtocol();
public abstract boolean getTransformedBitIsBoolean();
public abstract boolean getUseCompression();
/**
* @return Returns the useFastIntParsing.
*/
public abstract boolean getUseFastIntParsing();
public abstract boolean getUseHostsInPrivileges();
public abstract boolean getUseInformationSchema();
/**
* @return Returns the useLocalSessionState.
*/
public abstract boolean getUseLocalSessionState();
/**
* @return Returns the useOldUTF8Behavior.
*/
public abstract boolean getUseOldUTF8Behavior();
/**
* @return Returns the useOnlyServerErrorMessages.
*/
public abstract boolean getUseOnlyServerErrorMessages();
/**
* @return Returns the useReadAheadInput.
*/
public abstract boolean getUseReadAheadInput();
public abstract boolean getUseServerPreparedStmts();
/**
* @return Returns the useSqlStateCodes state.
*/
public abstract boolean getUseSqlStateCodes();
public abstract boolean getUseSSL();
public abstract boolean getUseStreamLengthsInPrepStmts();
public abstract boolean getUseTimezone();
public abstract boolean getUseUltraDevWorkAround();
/**
* @return Returns the useUnbufferedInput.
*/
public abstract boolean getUseUnbufferedInput();
public abstract boolean getUseUnicode();
/**
* Returns whether or not the driver advises of proper usage.
*
* @return the value of useUsageAdvisor
*/
public abstract boolean getUseUsageAdvisor();
public abstract boolean getYearIsDateType();
/**
* @return Returns the zeroDateTimeBehavior.
*/
public abstract String getZeroDateTimeBehavior();
public abstract void setAllowLoadLocalInfile(boolean property);
/**
* @param property
*/
public abstract void setAllowMultiQueries(boolean property);
/**
* @param allowNanAndInf
* The allowNanAndInf to set.
*/
public abstract void setAllowNanAndInf(boolean flag);
/**
* @param allowUrlInLocalInfile
* The allowUrlInLocalInfile to set.
*/
public abstract void setAllowUrlInLocalInfile(boolean flag);
/**
* @param alwaysSendSetIsolation
* The alwaysSendSetIsolation to set.
*/
public abstract void setAlwaysSendSetIsolation(boolean flag);
/**
* @param autoDeserialize
* The autoDeserialize to set.
*/
public abstract void setAutoDeserialize(boolean flag);
public abstract void setAutoGenerateTestcaseScript(boolean flag);
/**
* @param flag
* The autoReconnect to set.
*/
public abstract void setAutoReconnect(boolean flag);
public abstract void setAutoReconnectForConnectionPools(boolean property);
/**
* @param flag
* The autoReconnectForPools to set.
*/
public abstract void setAutoReconnectForPools(boolean flag);
/**
* @param blobSendChunkSize
* The blobSendChunkSize to set.
*/
public abstract void setBlobSendChunkSize(String value) throws SQLException;
/**
* @param flag
* The cacheCallableStatements to set.
*/
public abstract void setCacheCallableStatements(boolean flag);
/**
* @param flag
* The cachePreparedStatements to set.
*/
public abstract void setCachePreparedStatements(boolean flag);
/**
* Sets whether or not we should cache result set metadata.
*
* @param property
*/
public abstract void setCacheResultSetMetadata(boolean property);
/**
* @param cacheServerConfiguration
* The cacheServerConfiguration to set.
*/
public abstract void setCacheServerConfiguration(boolean flag);
/**
* Configures the number of callable statements to cache. (this is
* configurable during the life of the connection).
*
* @param size
* The callableStatementCacheSize to set.
* @throws SQLException
*/
public abstract void setCallableStatementCacheSize(int size) throws SQLException;
public abstract void setCapitalizeDBMDTypes(boolean property);
/**
* @param flag
* The capitalizeTypeNames to set.
*/
public abstract void setCapitalizeTypeNames(boolean flag);
/**
* @param encoding
* The characterEncoding to set.
*/
public abstract void setCharacterEncoding(String encoding);
/**
* @param characterSet
* The characterSetResults to set.
*/
public abstract void setCharacterSetResults(String characterSet);
/**
* @param flag
* The clobberStreamingResults to set.
*/
public abstract void setClobberStreamingResults(boolean flag);
public abstract void setClobCharacterEncoding(String encoding);
/**
* @param collation
* The connectionCollation to set.
*/
public abstract void setConnectionCollation(String collation);
/**
* @param timeoutMs
* @throws SQLException
*/
public abstract void setConnectTimeout(int timeoutMs) throws SQLException;
/**
* @param property
*/
public abstract void setContinueBatchOnError(boolean property);
public abstract void setCreateDatabaseIfNotExist(boolean flag);
public abstract void setDefaultFetchSize(int n) throws SQLException;
/**
* @param property
*/
public abstract void setDetectServerPreparedStmts(boolean property);
/**
* @param dontTrackOpenResources
* The dontTrackOpenResources to set.
*/
public abstract void setDontTrackOpenResources(boolean flag);
/**
* @param flag
* The dumpQueriesOnException to set.
*/
public abstract void setDumpQueriesOnException(boolean flag);
/**
* @param dynamicCalendars
* The dynamicCalendars to set.
*/
public abstract void setDynamicCalendars(boolean flag);
/**
* @param flag
* The elideSetAutoCommits to set.
*/
public abstract void setElideSetAutoCommits(boolean flag);
public abstract void setEmptyStringsConvertToZero(boolean flag);
/**
* @param property
*/
public abstract void setEmulateLocators(boolean property);
/**
* @param emulateUnsupportedPstmts
* The emulateUnsupportedPstmts to set.
*/
public abstract void setEmulateUnsupportedPstmts(boolean flag);
/**
* @param flag
* The enablePacketDebug to set.
*/
public abstract void setEnablePacketDebug(boolean flag);
/**
* @param property
*/
public abstract void setEncoding(String property);
/**
* @param flag
* The explainSlowQueries to set.
*/
public abstract void setExplainSlowQueries(boolean flag);
/**
* @param flag
* The failOverReadOnly to set.
*/
public abstract void setFailOverReadOnly(boolean flag);
/**
* @param flag
* The gatherPerformanceMetrics to set.
*/
public abstract void setGatherPerformanceMetrics(boolean flag);
/**
* @param holdResultsOpenOverStatementClose
* The holdResultsOpenOverStatementClose to set.
*/
public abstract void setHoldResultsOpenOverStatementClose(boolean flag);
/**
* @param property
*/
public abstract void setIgnoreNonTxTables(boolean property);
/**
* @param property
* @throws SQLException
*/
public abstract void setInitialTimeout(int property) throws SQLException;
/**
* @param property
*/
public abstract void setIsInteractiveClient(boolean property);
/**
* @param flag
* The jdbcCompliantTruncation to set.
*/
public abstract void setJdbcCompliantTruncation(boolean flag);
/**
* @param locatorFetchBufferSize
* The locatorFetchBufferSize to set.
*/
public abstract void setLocatorFetchBufferSize(String value) throws SQLException;
/**
* @param property
*/
public abstract void setLogger(String property);
/**
* @param className
* The loggerClassName to set.
*/
public abstract void setLoggerClassName(String className);
/**
* @param flag
* The logSlowQueries to set.
*/
public abstract void setLogSlowQueries(boolean flag);
public abstract void setMaintainTimeStats(boolean flag);
/**
* @param sizeInBytes
* The maxQuerySizeToLog to set.
* @throws SQLException
*/
public abstract void setMaxQuerySizeToLog(int sizeInBytes) throws SQLException;
/**
* @param property
* @throws SQLException
*/
public abstract void setMaxReconnects(int property) throws SQLException;
/**
* @param property
* @throws SQLException
*/
public abstract void setMaxRows(int property) throws SQLException;
/**
* Sets the number of queries that metadata can be cached if caching is
* enabled.
*
* @param value
* the number of queries to cache metadata for.
* @throws SQLException
*/
public abstract void setMetadataCacheSize(int value) throws SQLException;
/**
* @param noDatetimeStringSync
* The noDatetimeStringSync to set.
*/
public abstract void setNoDatetimeStringSync(boolean flag);
public abstract void setNullCatalogMeansCurrent(boolean value);
public abstract void setNullNamePatternMatchesAll(boolean value);
/**
* @param size
* The packetDebugBufferSize to set.
* @throws SQLException
*/
public abstract void setPacketDebugBufferSize(int size) throws SQLException;
/**
* @param property
*/
public abstract void setParanoid(boolean property);
/**
* @param property
*/
public abstract void setPedantic(boolean property);
/**
* @param cacheSize
* The preparedStatementCacheSize to set.
* @throws SQLException
*/
public abstract void setPreparedStatementCacheSize(int cacheSize) throws SQLException;
/**
* @param cacheSqlLimit
* The preparedStatementCacheSqlLimit to set.
* @throws SQLException
*/
public abstract void setPreparedStatementCacheSqlLimit(int cacheSqlLimit) throws SQLException;
/**
* @param property
*/
public abstract void setProfileSql(boolean property);
/**
* @param flag
* The profileSQL to set.
*/
public abstract void setProfileSQL(boolean flag);
/**
* @param propertiesTransform
* The propertiesTransform to set.
*/
public abstract void setPropertiesTransform(String value);
/**
* @param property
* @throws SQLException
*/
public abstract void setQueriesBeforeRetryMaster(int property) throws SQLException;
/**
* @param property
*/
public abstract void setReconnectAtTxEnd(boolean property);
/**
* @param property
*/
public abstract void setRelaxAutoCommit(boolean property);
/**
* @param millis
* The reportMetricsIntervalMillis to set.
* @throws SQLException
*/
public abstract void setReportMetricsIntervalMillis(int millis) throws SQLException;
/**
* @param property
*/
public abstract void setRequireSSL(boolean property);
public abstract void setRetainStatementAfterResultSetClose(boolean flag);
/**
* @param rollbackOnPooledClose
* The rollbackOnPooledClose to set.
*/
public abstract void setRollbackOnPooledClose(boolean flag);
/**
* Sets whether or not hosts will be picked in a round-robin fashion.
*
* @param flag
* The roundRobinLoadBalance property to set.
*/
public abstract void setRoundRobinLoadBalance(boolean flag);
/**
* @param runningCTS13
* The runningCTS13 to set.
*/
public abstract void setRunningCTS13(boolean flag);
/**
* @param property
* @throws SQLException
*/
public abstract void setSecondsBeforeRetryMaster(int property) throws SQLException;
/**
* @param property
*/
public abstract void setServerTimezone(String property);
/**
* @param sessionVariables
* The sessionVariables to set.
*/
public abstract void setSessionVariables(String variables);
/**
* @param millis
* The slowQueryThresholdMillis to set.
* @throws SQLException
*/
public abstract void setSlowQueryThresholdMillis(int millis) throws SQLException;
/**
* @param property
*/
public abstract void setSocketFactoryClassName(String property);
/**
* @param property
* @throws SQLException
*/
public abstract void setSocketTimeout(int property) throws SQLException;
/**
* @param property
*/
public abstract void setStrictFloatingPoint(boolean property);
/**
* @param property
*/
public abstract void setStrictUpdates(boolean property);
/**
* @param tinyInt1isBit
* The tinyInt1isBit to set.
*/
public abstract void setTinyInt1isBit(boolean flag);
/**
* @param flag
* The logProtocol to set.
*/
public abstract void setTraceProtocol(boolean flag);
public abstract void setTransformedBitIsBoolean(boolean flag);
/**
* @param property
*/
public abstract void setUseCompression(boolean property);
/**
* @param useFastIntParsing
* The useFastIntParsing to set.
*/
public abstract void setUseFastIntParsing(boolean flag);
/**
* @param property
*/
public abstract void setUseHostsInPrivileges(boolean property);
public abstract void setUseInformationSchema(boolean flag);
/**
* @param useLocalSessionState
* The useLocalSessionState to set.
*/
public abstract void setUseLocalSessionState(boolean flag);
/**
* @param useOldUTF8Behavior
* The useOldUTF8Behavior to set.
*/
public abstract void setUseOldUTF8Behavior(boolean flag);
/**
* @param useOnlyServerErrorMessages
* The useOnlyServerErrorMessages to set.
*/
public abstract void setUseOnlyServerErrorMessages(boolean flag);
/**
* @param useReadAheadInput
* The useReadAheadInput to set.
*/
public abstract void setUseReadAheadInput(boolean flag);
/**
* @param flag
* The detectServerPreparedStmts to set.
*/
public abstract void setUseServerPreparedStmts(boolean flag);
/**
* @param flag
* The useSqlStateCodes to set.
*/
public abstract void setUseSqlStateCodes(boolean flag);
/**
* @param property
*/
public abstract void setUseSSL(boolean property);
/**
* @param property
*/
public abstract void setUseStreamLengthsInPrepStmts(boolean property);
/**
* @param property
*/
public abstract void setUseTimezone(boolean property);
/**
* @param property
*/
public abstract void setUseUltraDevWorkAround(boolean property);
/**
* @param flag
* The useUnbufferedInput to set.
*/
public abstract void setUseUnbufferedInput(boolean flag);
/**
* @param flag
* The useUnicode to set.
*/
public abstract void setUseUnicode(boolean flag);
/**
* Sets whether or not the driver advises of proper usage.
*
* @param useUsageAdvisorFlag
* whether or not the driver advises of proper usage.
*/
public abstract void setUseUsageAdvisor(boolean useUsageAdvisorFlag);
public abstract void setYearIsDateType(boolean flag);
/**
* @param zeroDateTimeBehavior
* The zeroDateTimeBehavior to set.
*/
public abstract void setZeroDateTimeBehavior(String behavior);
/**
* @return Returns the useUnbufferedInput.
*/
public abstract boolean useUnbufferedInput();
public abstract boolean getUseCursorFetch();
public abstract void setUseCursorFetch(boolean flag);
public abstract boolean getOverrideSupportsIntegrityEnhancementFacility();
public abstract void setOverrideSupportsIntegrityEnhancementFacility(boolean flag);
public abstract boolean getNoTimezoneConversionForTimeType();
public abstract void setNoTimezoneConversionForTimeType(boolean flag);
public abstract boolean getUseJDBCCompliantTimezoneShift();
public abstract void setUseJDBCCompliantTimezoneShift(boolean flag);
public abstract boolean getAutoClosePStmtStreams();
public abstract void setAutoClosePStmtStreams(boolean flag);
public abstract boolean getProcessEscapeCodesForPrepStmts();
public abstract void setProcessEscapeCodesForPrepStmts(boolean flag);
public abstract boolean getUseGmtMillisForDatetimes();
public abstract void setUseGmtMillisForDatetimes(boolean flag);
public abstract boolean getDumpMetadataOnColumnNotFound();
public abstract void setDumpMetadataOnColumnNotFound(boolean flag);
public abstract String getResourceId();
public abstract void setResourceId(String resourceId);
public abstract boolean getRewriteBatchedStatements();
public abstract void setRewriteBatchedStatements(boolean flag);
public abstract boolean getJdbcCompliantTruncationForReads();
public abstract void setJdbcCompliantTruncationForReads(boolean jdbcCompliantTruncationForReads);
public abstract boolean getUseJvmCharsetConverters();
public abstract void setUseJvmCharsetConverters(boolean flag);
public abstract boolean getPinGlobalTxToPhysicalConnection();
public abstract void setPinGlobalTxToPhysicalConnection(boolean flag);
public abstract void setGatherPerfMetrics(boolean flag);
public abstract boolean getGatherPerfMetrics();
public abstract void setUltraDevHack(boolean flag);
public abstract boolean getUltraDevHack();
public abstract void setInteractiveClient(boolean property);
public abstract void setSocketFactory(String name);
public abstract String getSocketFactory();
public abstract void setUseServerPrepStmts(boolean flag);
public abstract boolean getUseServerPrepStmts();
public abstract void setCacheCallableStmts(boolean flag);
public abstract boolean getCacheCallableStmts();
public abstract void setCachePrepStmts(boolean flag);
public abstract boolean getCachePrepStmts();
public abstract void setCallableStmtCacheSize(int cacheSize) throws SQLException;
public abstract int getCallableStmtCacheSize();
public abstract void setPrepStmtCacheSize(int cacheSize) throws SQLException;
public abstract int getPrepStmtCacheSize();
public abstract void setPrepStmtCacheSqlLimit(int sqlLimit) throws SQLException;
public abstract int getPrepStmtCacheSqlLimit();
public abstract boolean getNoAccessToProcedureBodies();
public abstract void setNoAccessToProcedureBodies(boolean flag);
public abstract boolean getUseOldAliasMetadataBehavior();
public abstract void setUseOldAliasMetadataBehavior(boolean flag);
public abstract String getClientCertificateKeyStorePassword();
public abstract void setClientCertificateKeyStorePassword(String value);
public abstract String getClientCertificateKeyStoreType();
public abstract void setClientCertificateKeyStoreType(String value);
public abstract String getClientCertificateKeyStoreUrl();
public abstract void setClientCertificateKeyStoreUrl(String value);
public abstract String getTrustCertificateKeyStorePassword();
public abstract void setTrustCertificateKeyStorePassword(String value);
public abstract String getTrustCertificateKeyStoreType();
public abstract void setTrustCertificateKeyStoreType(String value);
public abstract String getTrustCertificateKeyStoreUrl();
public abstract void setTrustCertificateKeyStoreUrl(String value);
public abstract boolean getUseSSPSCompatibleTimezoneShift();
public abstract void setUseSSPSCompatibleTimezoneShift(boolean flag);
public abstract boolean getTreatUtilDateAsTimestamp();
public abstract void setTreatUtilDateAsTimestamp(boolean flag);
public abstract boolean getUseFastDateParsing();
public abstract void setUseFastDateParsing(boolean flag);
public abstract String getLocalSocketAddress();
public abstract void setLocalSocketAddress(String address);
public abstract void setUseConfigs(String configs);
public abstract String getUseConfigs();
public abstract boolean getGenerateSimpleParameterMetadata();
public abstract void setGenerateSimpleParameterMetadata(boolean flag);
public abstract boolean getLogXaCommands();
public abstract void setLogXaCommands(boolean flag);
public abstract int getResultSetSizeThreshold();
public abstract void setResultSetSizeThreshold(int threshold) throws SQLException;
public abstract int getNetTimeoutForStreamingResults();
public abstract void setNetTimeoutForStreamingResults(int value) throws SQLException;
public abstract boolean getEnableQueryTimeouts();
public abstract void setEnableQueryTimeouts(boolean flag);
public abstract boolean getPadCharsWithSpace();
public abstract void setPadCharsWithSpace(boolean flag);
public abstract boolean getUseDynamicCharsetInfo();
public abstract void setUseDynamicCharsetInfo(boolean flag);
public abstract String getClientInfoProvider();
public abstract void setClientInfoProvider(String classname);
public abstract boolean getPopulateInsertRowWithDefaultValues();
public abstract void setPopulateInsertRowWithDefaultValues(boolean flag);
public abstract String getLoadBalanceStrategy();
public abstract void setLoadBalanceStrategy(String strategy);
public abstract boolean getTcpNoDelay();
public abstract void setTcpNoDelay(boolean flag);
public abstract boolean getTcpKeepAlive();
public abstract void setTcpKeepAlive(boolean flag);
public abstract int getTcpRcvBuf();
public abstract void setTcpRcvBuf(int bufSize) throws SQLException;
public abstract int getTcpSndBuf();
public abstract void setTcpSndBuf(int bufSize) throws SQLException;
public abstract int getTcpTrafficClass();
public abstract void setTcpTrafficClass(int classFlags) throws SQLException;
public abstract boolean getUseNanosForElapsedTime();
public abstract void setUseNanosForElapsedTime(boolean flag);
public abstract long getSlowQueryThresholdNanos();
public abstract void setSlowQueryThresholdNanos(long nanos) throws SQLException;
public abstract String getStatementInterceptors();
public abstract void setStatementInterceptors(String value);
public abstract boolean getUseDirectRowUnpack();
public abstract void setUseDirectRowUnpack(boolean flag);
public abstract String getLargeRowSizeThreshold();
public abstract void setLargeRowSizeThreshold(String value) throws SQLException;
public abstract boolean getUseBlobToStoreUTF8OutsideBMP();
public abstract void setUseBlobToStoreUTF8OutsideBMP(boolean flag);
public abstract String getUtf8OutsideBmpExcludedColumnNamePattern();
public abstract void setUtf8OutsideBmpExcludedColumnNamePattern(String regexPattern);
public abstract String getUtf8OutsideBmpIncludedColumnNamePattern();
public abstract void setUtf8OutsideBmpIncludedColumnNamePattern(String regexPattern);
public abstract boolean getIncludeInnodbStatusInDeadlockExceptions();
public abstract void setIncludeInnodbStatusInDeadlockExceptions(boolean flag);
public abstract boolean getIncludeThreadDumpInDeadlockExceptions();
public abstract void setIncludeThreadDumpInDeadlockExceptions(boolean flag);
public abstract boolean getIncludeThreadNamesAsStatementComment();
public abstract void setIncludeThreadNamesAsStatementComment(boolean flag);
public abstract boolean getBlobsAreStrings();
public abstract void setBlobsAreStrings(boolean flag);
public abstract boolean getFunctionsNeverReturnBlobs();
public abstract void setFunctionsNeverReturnBlobs(boolean flag);
public abstract boolean getAutoSlowLog();
public abstract void setAutoSlowLog(boolean flag);
public abstract String getConnectionLifecycleInterceptors();
public abstract void setConnectionLifecycleInterceptors(String interceptors);
public abstract String getProfilerEventHandler();
public abstract void setProfilerEventHandler(String handler);
public boolean getVerifyServerCertificate();
public abstract void setVerifyServerCertificate(boolean flag);
public abstract boolean getUseLegacyDatetimeCode();
public abstract void setUseLegacyDatetimeCode(boolean flag);
public abstract int getSelfDestructOnPingSecondsLifetime();
public abstract void setSelfDestructOnPingSecondsLifetime(int seconds) throws SQLException;
public abstract int getSelfDestructOnPingMaxOperations();
public abstract void setSelfDestructOnPingMaxOperations(int maxOperations) throws SQLException;
public abstract boolean getUseColumnNamesInFindColumn();
public abstract void setUseColumnNamesInFindColumn(boolean flag);
public abstract boolean getUseLocalTransactionState();
public abstract void setUseLocalTransactionState(boolean flag);
public abstract boolean getCompensateOnDuplicateKeyUpdateCounts();
public abstract void setCompensateOnDuplicateKeyUpdateCounts(boolean flag);
public abstract void setUseAffectedRows(boolean flag);
public abstract boolean getUseAffectedRows();
public abstract void setPasswordCharacterEncoding(String characterSet);
public abstract String getPasswordCharacterEncoding();
public abstract int getLoadBalanceBlacklistTimeout();
public abstract void setLoadBalanceBlacklistTimeout(int loadBalanceBlacklistTimeout) throws SQLException;
public abstract void setRetriesAllDown(int retriesAllDown) throws SQLException;
public abstract int getRetriesAllDown();
public ExceptionInterceptor getExceptionInterceptor();
public abstract void setExceptionInterceptors(String exceptionInterceptors);
public abstract String getExceptionInterceptors();
public abstract boolean getQueryTimeoutKillsConnection();
public abstract void setQueryTimeoutKillsConnection(boolean queryTimeoutKillsConnection);
public int getMaxAllowedPacket();
boolean getRetainStatementAfterResultSetClose();
public abstract int getLoadBalancePingTimeout();
public abstract void setLoadBalancePingTimeout(int loadBalancePingTimeout) throws SQLException;
public abstract boolean getLoadBalanceValidateConnectionOnSwapServer();
public abstract void setLoadBalanceValidateConnectionOnSwapServer(boolean loadBalanceValidateConnectionOnSwapServer);
public abstract String getLoadBalanceConnectionGroup();
public abstract void setLoadBalanceConnectionGroup(String loadBalanceConnectionGroup);
public abstract String getLoadBalanceExceptionChecker();
public abstract void setLoadBalanceExceptionChecker(String loadBalanceExceptionChecker);
public abstract String getLoadBalanceSQLStateFailover();
public abstract void setLoadBalanceSQLStateFailover(String loadBalanceSQLStateFailover);
public abstract String getLoadBalanceSQLExceptionSubclassFailover();
public abstract void setLoadBalanceSQLExceptionSubclassFailover(String loadBalanceSQLExceptionSubclassFailover);
public abstract boolean getLoadBalanceEnableJMX();
public abstract void setLoadBalanceEnableJMX(boolean loadBalanceEnableJMX);
public void setLoadBalanceAutoCommitStatementThreshold(int loadBalanceAutoCommitStatementThreshold) throws SQLException;
public int getLoadBalanceAutoCommitStatementThreshold();
public void setLoadBalanceAutoCommitStatementRegex(String loadBalanceAutoCommitStatementRegex);
public String getLoadBalanceAutoCommitStatementRegex();
public abstract void setAuthenticationPlugins(String authenticationPlugins);
public abstract String getAuthenticationPlugins();
public abstract void setDisabledAuthenticationPlugins(String disabledAuthenticationPlugins);
public abstract String getDisabledAuthenticationPlugins();
public abstract void setDefaultAuthenticationPlugin(String defaultAuthenticationPlugin);
public abstract String getDefaultAuthenticationPlugin();
public abstract void setParseInfoCacheFactory(String factoryClassname);
public abstract String getParseInfoCacheFactory();
public abstract void setServerConfigCacheFactory(String factoryClassname);
public abstract String getServerConfigCacheFactory();
public abstract void setDisconnectOnExpiredPasswords(boolean disconnectOnExpiredPasswords);
public abstract boolean getDisconnectOnExpiredPasswords();
public abstract boolean getAllowMasterDownConnections();
public abstract void setAllowMasterDownConnections(boolean connectIfMasterDown);
public abstract boolean getReplicationEnableJMX();
public abstract void setReplicationEnableJMX(boolean replicationEnableJMX);
public abstract void setGetProceduresReturnsFunctions(boolean getProcedureReturnsFunctions);
public abstract boolean getGetProceduresReturnsFunctions();
public abstract void setDetectCustomCollations(boolean detectCustomCollations);
public abstract boolean getDetectCustomCollations();
String getConnectionAttributes() throws SQLException;
public abstract String getServerRSAPublicKeyFile();
public abstract void setServerRSAPublicKeyFile(String serverRSAPublicKeyFile) throws SQLException;
public abstract boolean getAllowPublicKeyRetrieval();
public abstract void setAllowPublicKeyRetrieval(boolean allowPublicKeyRetrieval) throws SQLException;
public void setDontCheckOnDuplicateKeyUpdateInSQL(boolean dontCheckOnDuplicateKeyUpdateInSQL);
public boolean getDontCheckOnDuplicateKeyUpdateInSQL();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy