类 AbstractDataSource
java.lang.Object
com.baomidou.dynamic.datasource.ds.AbstractDataSource
- 所有已实现的接口:
Wrapper,CommonDataSource,DataSource
- 直接已知子类:
AbstractRoutingDataSource,ItemDataSource
Abstract base class for Spring's
DataSource-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intReturns 0, indicating the default system timeout is to be used.LogWriter methods are not supported.booleanisWrapperFor(Class<?> iface) voidsetLoginTimeout(int timeout) voidLogWriter methods are not supported.<T> T从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 javax.sql.CommonDataSource
createShardingKeyBuilder从接口继承的方法 javax.sql.DataSource
createConnectionBuilder, getConnection, getConnection
-
构造器详细资料
-
AbstractDataSource
public AbstractDataSource()
-
-
方法详细资料
-
getLoginTimeout
Returns 0, indicating the default system timeout is to be used.- 指定者:
getLoginTimeout在接口中CommonDataSource- 指定者:
getLoginTimeout在接口中DataSource- 返回:
- 0
- 抛出:
SQLException
-
setLoginTimeout
- 指定者:
setLoginTimeout在接口中CommonDataSource- 指定者:
setLoginTimeout在接口中DataSource- 参数:
timeout- ignoredThrows
UnsupportedOperationExceptionwhen called.- 抛出:
SQLException
-
getLogWriter
LogWriter methods are not supported.- 指定者:
getLogWriter在接口中CommonDataSource- 指定者:
getLogWriter在接口中DataSource- 返回:
- not supported
Throws
UnsupportedOperationExceptionwhen called.
-
setLogWriter
LogWriter methods are not supported.Throws
UnsupportedOperationExceptionwhen called.- 指定者:
setLogWriter在接口中CommonDataSource- 指定者:
setLogWriter在接口中DataSource- 抛出:
SQLException
-
unwrap
- 指定者:
unwrap在接口中Wrapper- 抛出:
SQLException
-
isWrapperFor
- 指定者:
isWrapperFor在接口中Wrapper- 抛出:
SQLException
-
getParentLogger
- 指定者:
getParentLogger在接口中CommonDataSource
-