Search in sources :

Example 1 with BindingTableRuleConfig

use of com.dangdang.ddframe.rdb.sharding.config.common.api.config.BindingTableRuleConfig in project sharding-jdbc by dangdangdotcom.

the class ShardingRuleBuilderTest method createBindingTableRule.

private BindingTableRuleConfig createBindingTableRule(final String... logicTables) {
    BindingTableRuleConfig result = new BindingTableRuleConfig();
    result.setTableNames(Joiner.on(",").join(logicTables));
    return result;
}
Also used : BindingTableRuleConfig(com.dangdang.ddframe.rdb.sharding.config.common.api.config.BindingTableRuleConfig)

Aggregations

BindingTableRuleConfig (com.dangdang.ddframe.rdb.sharding.config.common.api.config.BindingTableRuleConfig)1