Package io.deephaven.jdbc
Class DeephavenDataSource
java.lang.Object
io.deephaven.jdbc.DeephavenDataSource
- All Implemented Interfaces:
Wrapper
,CommonDataSource
,DataSource
@ExternalApi public class DeephavenDataSource extends Object implements DataSource
-
Constructor Summary
Constructors Constructor Description DeephavenDataSource(String dataSourceName)
-
Method Summary
-
Constructor Details
-
Method Details
-
getUrl
Get the connection string URL based on the full set of properties properties.- Returns:
- a url containing all the relevent properties
- Throws:
SQLException
-
setProperty
-
setProperty
-
setPropFile
-
setQueryHost
-
setQueryPort
public void setQueryPort(int queryPort) -
setUser
-
setPassword
-
setSessionType
-
setMaxHeapSizeMb
public void setMaxHeapSizeMb(int maxHeapSizeMb) -
setLogLevel
-
setSourcePath
-
setOperateAsUser
-
setAuthSsl
public void setAuthSsl(boolean authSsl) -
setAuthServers
-
setAuthCheckOrigin
public void setAuthCheckOrigin(boolean checkOrigin) -
setAuthReconnectionPeriod
public void setAuthReconnectionPeriod(int reconnectionPeriod) -
setBindParameterMode
-
getPropFile
-
setUrl
-
setJvmArgs
-
getQueryHost
-
getQueryPort
public int getQueryPort() -
getUser
-
getPassword
-
getSessionType
-
getMaxHeapSizeMb
public int getMaxHeapSizeMb() -
getLogLevel
-
getSourcePath
-
getOperateAsUser
-
getAuthSsl
-
getAuthServers
-
getAuthCheckOrigin
-
getAuthReconnectionPeriod
-
getBindParameterMode
-
getJvmArgs
-
getConnection
- Specified by:
getConnection
in interfaceDataSource
- Throws:
SQLException
-
getConnection
- Specified by:
getConnection
in interfaceDataSource
- Throws:
SQLException
-
unwrap
-
isWrapperFor
- Specified by:
isWrapperFor
in interfaceWrapper
-
getLogWriter
- Specified by:
getLogWriter
in interfaceCommonDataSource
- Specified by:
getLogWriter
in interfaceDataSource
-
setLogWriter
- Specified by:
setLogWriter
in interfaceCommonDataSource
- Specified by:
setLogWriter
in interfaceDataSource
-
setLoginTimeout
public void setLoginTimeout(int seconds)- Specified by:
setLoginTimeout
in interfaceCommonDataSource
- Specified by:
setLoginTimeout
in interfaceDataSource
-
getLoginTimeout
public int getLoginTimeout()- Specified by:
getLoginTimeout
in interfaceCommonDataSource
- Specified by:
getLoginTimeout
in interfaceDataSource
-
getParentLogger
- Specified by:
getParentLogger
in interfaceCommonDataSource
-