Class RouteUnit
java.lang.Object
org.apache.shardingsphere.infra.route.context.RouteUnit
Route unit.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindTableMapper(String logicDataSourceName, String actualTableName) Find table mapper.getActualTableNames(String logicTableName) Get actual table names.Get logic table names.
-
Constructor Details
-
RouteUnit
public RouteUnit()
-
-
Method Details
-
getLogicTableNames
Get logic table names.- Returns:
- logic table names
-
getActualTableNames
Get actual table names.- Parameters:
logicTableName- logic table name- Returns:
- actual table names
-
findTableMapper
Find table mapper.- Parameters:
logicDataSourceName- logic data source nameactualTableName- actual table name- Returns:
- table mapper
-