public class ShardingDataSource extends AbstractDataSourceAdapter
| Constructor and Description |
|---|
ShardingDataSource(Map<String,DataSource> dataSourceMap,
org.apache.shardingsphere.core.rule.ShardingRule shardingRule,
Properties props) |
| Modifier and Type | Method and Description |
|---|---|
ShardingConnection |
getConnection() |
close, close, getConnection, getParentLogger, getRuntimeContextgetLoginTimeout, setLoginTimeoutisWrapperFor, recordMethodInvocation, replayMethodsInvocation, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLogWriter, setLogWriterisWrapperFor, unwrappublic ShardingDataSource(Map<String,DataSource> dataSourceMap, org.apache.shardingsphere.core.rule.ShardingRule shardingRule, Properties props) throws SQLException
SQLExceptionpublic final ShardingConnection getConnection()
Copyright © 2020 The Apache Software Foundation. All rights reserved.