| 程序包 | 说明 |
|---|---|
| io.shardingsphere.core.rule |
| 限定符和类型 | 方法和说明 |
|---|---|
TableRule |
ShardingRule.getTableRuleByActualTableName(String actualTableName)
Find table rule though actual table name.
|
TableRule |
ShardingRule.getTableRuleByLogicTableName(String logicTableName)
Find table rule though logic table name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.common.base.Optional<TableRule> |
ShardingRule.tryFindTableRuleByActualTable(String actualTableName)
Try to find table rule though actual table name.
|
com.google.common.base.Optional<TableRule> |
ShardingRule.tryFindTableRuleByLogicTable(String logicTableName)
Try to find table rule though logic table name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ShardingStrategy |
ShardingRule.getDatabaseShardingStrategy(TableRule tableRule)
Get database sharding strategy.
|
ShardingStrategy |
ShardingRule.getTableShardingStrategy(TableRule tableRule)
Get table sharding strategy.
|
Copyright © 2018. All rights reserved.