public final class AutoTableRuleSegment extends AbstractTableRuleSegment
AbstractTableRuleSegment.EmptyTableRuleSegment| Constructor and Description |
|---|
AutoTableRuleSegment(String logicTable,
Collection<String> dataSources) |
AutoTableRuleSegment(String logicTable,
Collection<String> dataSources,
String shardingColumn,
AlgorithmSegment shardingAlgorithm,
KeyGenerateStrategySegment keyGenerateStrategySegment) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompleteShardingAlgorithm()
Determine whether there is a complete sharding algorithm.
|
public AutoTableRuleSegment(String logicTable, Collection<String> dataSources)
public AutoTableRuleSegment(String logicTable, Collection<String> dataSources, String shardingColumn, AlgorithmSegment shardingAlgorithm, KeyGenerateStrategySegment keyGenerateStrategySegment)
Copyright © 2022 The Apache Software Foundation. All rights reserved.