| 程序包 | 说明 |
|---|---|
| org.apache.shardingsphere.infra.metadata.user | |
| org.apache.shardingsphere.infra.metadata.user.yaml.config | |
| org.apache.shardingsphere.infra.metadata.user.yaml.swapper |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<ShardingSphereUser> |
ShardingSphereUsers.findUser(Grantee grantee)
Find user.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection<ShardingSphereUser> |
YamlUsersConfigurationConverter.convertShardingSphereUser(Collection<String> users)
Convert to sharding sphere users.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Collection<String> |
YamlUsersConfigurationConverter.convertYamlUserConfigurations(Collection<ShardingSphereUser> users)
Convert to users yaml content.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ShardingSphereUser |
UserYamlSwapper.swapToObject(YamlUserConfiguration yamlConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
YamlUserConfiguration |
UserYamlSwapper.swapToYamlConfiguration(ShardingSphereUser data) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.