strongduanmu opened a new issue, #23133:
URL: https://github.com/apache/shardingsphere/issues/23133
## Feature Request
### Is your feature request related to a problem?
No.
### Describe the feature you would like.
Currently, the DataSourceContainedRule#getDataSourceMapper interface is
declared as follows. The result is a `Map<String, Collection<String>>`
structure, which is not easy to use. For example: I want to get the primary
data source from this Map.
```java
/**
* ShardingSphere rule which contains data source.
*/
public interface DataSourceContainedRule extends ShardingSphereRule {
/**
* Get data source mapper.
*
* @return data source mapper
*/
Map<String, Collection<String>> getDataSourceMapper();
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail:
[email protected]
For queries about this service, please contact Infrastructure at:
[email protected]