Package | Description |
---|---|
io.shardingsphere.core.metadata | |
io.shardingsphere.core.rule |
Modifier and Type | Method and Description |
---|---|
void |
ShardingMetaData.refresh(TableRule each,
ShardingRule shardingRule)
refresh each tableMetaData by TableRule.
|
void |
ShardingMetaData.refresh(TableRule each,
ShardingRule shardingRule,
Map<String,Connection> connectionMap)
refresh each tableMetaData by TableRule.
|
Modifier and Type | Method and Description |
---|---|
TableRule |
ShardingRule.getTableRule(String logicTableName)
Find table rule though logic table name.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ShardingStrategy |
ShardingRule.getDatabaseShardingStrategy(TableRule tableRule)
Get database sharding strategy.
|
ShardingStrategy |
ShardingRule.getTableShardingStrategy(TableRule tableRule)
Get table sharding strategy.
|
Copyright © 2018. All rights reserved.