Package com.salesforce.datacloud.jdbc
Class DataCloudDatasource
java.lang.Object
com.salesforce.datacloud.jdbc.DataCloudDatasource
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConnection(String username, String password) intbooleanisWrapperFor(Class<?> iface) voidsetClientId(String clientId) voidsetClientSecret(String clientSecret) voidsetConnectionUrl(String connectionUrl) voidsetCoreTenantId(String coreTenantId) voidsetCoreToken(String coreToken) voidsetDataspace(String dataspace) voidsetInternalEndpoint(String internalEndpoint) voidsetLoginTimeout(int seconds) voidsetLogWriter(PrintWriter out) voidsetPassword(String password) voidvoidsetPrivateKey(String privateKey) voidsetRefreshToken(String refreshToken) voidsetTenantId(String tenantId) voidsetUserName(String userName) <T> TMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilderMethods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Field Details
-
NOT_SUPPORTED_IN_DATACLOUD_QUERY
- See Also:
-
-
Constructor Details
-
DataCloudDatasource
public DataCloudDatasource()
-
-
Method Details
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getLogWriter
- Specified by:
getLogWriterin interfaceCommonDataSource- Specified by:
getLogWriterin interfaceDataSource- Throws:
SQLException
-
setLogWriter
- Specified by:
setLogWriterin interfaceCommonDataSource- Specified by:
setLogWriterin interfaceDataSource- Throws:
SQLException
-
setLoginTimeout
- Specified by:
setLoginTimeoutin interfaceCommonDataSource- Specified by:
setLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
getLoginTimeout
- Specified by:
getLoginTimeoutin interfaceCommonDataSource- Specified by:
getLoginTimeoutin interfaceDataSource- Throws:
SQLException
-
getParentLogger
- Specified by:
getParentLoggerin interfaceCommonDataSource
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException
-
setConnectionUrl
-
setUserName
-
setPassword
-
setPrivateKey
-
setRefreshToken
-
setCoreToken
-
setInternalEndpoint
-
setPort
-
setTenantId
-
setDataspace
-
setCoreTenantId
-
setClientId
-
setClientSecret
-