public interface DataNodeContainedRule extends ShardingSphereRule
| 限定符和类型 | 方法和说明 |
|---|---|
Optional<String> |
findActualTableByCatalog(String catalog,
String logicTable)
Find actual table name via catalog.
|
Optional<String> |
findFirstActualTable(String logicTable)
Find first actual table name.
|
Optional<String> |
findLogicTableByActualTable(String actualTable)
Find logic table name via actual table name.
|
Map<String,Collection<DataNode>> |
getAllDataNodes()
Get all data nodes.
|
Collection<String> |
getAllTables()
Get all tables.
|
Collection<DataNode> |
getDataNodesByTableName(String tableName)
Get data nodes by table name.
|
boolean |
isNeedAccumulate(Collection<String> tables)
Is need accumulate.
|
getConfiguration, getTypeMap<String,Collection<DataNode>> getAllDataNodes()
Collection<DataNode> getDataNodesByTableName(String tableName)
tableName - table nameOptional<String> findFirstActualTable(String logicTable)
logicTable - logic table nameboolean isNeedAccumulate(Collection<String> tables)
tables - table namesOptional<String> findLogicTableByActualTable(String actualTable)
actualTable - actual table nameOptional<String> findActualTableByCatalog(String catalog, String logicTable)
catalog - cataloglogicTable - logic table nameCollection<String> getAllTables()
Copyright © 2022 The Apache Software Foundation. All rights reserved.