test_class.declarator: DATASOURCE_NAME_0 = "ds0"
test_class.modifier: private static final
test_class.original_string: private static final String DATASOURCE_NAME_0 = "ds0";
test_class.type: String
test_class.var_name: DATASOURCE_NAME_0
test_class.declarator: DATASOURCE_NAME_1 = "ds1"
test_class.modifier: private static final
test_class.original_string: private static final String DATASOURCE_NAME_1 = "ds1";
test_class.type: String
test_class.var_name: DATASOURCE_NAME_1
test_class.declarator: LOGIC_TABLE = "table"
test_class.modifier: private static final
test_class.original_string: private static final String LOGIC_TABLE = "table";
test_class.type: String
test_class.var_name: LOGIC_TABLE
test_class.declarator: ACTUAL_TABLE = "table_0"
test_class.modifier: private static final
test_class.original_string: private static final String ACTUAL_TABLE = "table_0";
test_class.type: String
test_class.var_name: ACTUAL_TABLE
test_class.declarator: singleRouteContext
test_class.modifier: private
test_class.original_string: private RouteContext singleRouteContext;
test_class.type: RouteContext
test_class.var_name: singleRouteContext
test_class.declarator: multiRouteContext
test_class.modifier: private
test_class.original_string: private RouteContext multiRouteContext;
test_class.type: RouteContext
test_class.var_name: multiRouteContext
test_class.file: shardingsphere-infra/shardingsphere-infra-route/src/test/java/org/apache/shardingsphere/infra/route/context/RouteContextTest.java
test_class.identifier: RouteContextTest
test_case.body: @Test
      public void assertIsSingleRouting() {
          assertTrue(singleRouteContext.isSingleRouting());
          assertFalse(multiRouteContext.isSingleRouting());
      }
test_case.class_method_signature: RouteContextTest.assertIsSingleRouting()
test_case.full_signature: @Test public void assertIsSingleRouting()
test_case.identifier: assertIsSingleRouting
test_case.invocations: assertTrue isSingleRouting assertFalse isSingleRouting
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertIsSingleRouting()
focal_class.declarator: originalDataNodes = new LinkedList<>()
focal_class.modifier: private final
focal_class.original_string: private final Collection<Collection<DataNode>> originalDataNodes = new LinkedList<>();
focal_class.type: Collection<Collection<DataNode>>
focal_class.var_name: originalDataNodes
focal_class.declarator: routeUnits = new LinkedHashSet<>()
focal_class.modifier: private final
focal_class.original_string: private final Collection<RouteUnit> routeUnits = new LinkedHashSet<>();
focal_class.type: Collection<RouteUnit>
focal_class.var_name: routeUnits
focal_class.declarator: routeStageContexts = new LinkedHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<Class<? extends ShardingSphereRule>, RouteStageContext> routeStageContexts = new LinkedHashMap<>();
focal_class.type: Map<Class<? extends ShardingSphereRule>, RouteStageContext>
focal_class.var_name: routeStageContexts
focal_class.file: shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteContext.java
focal_class.identifier: RouteContext
focal_class.class_method_signature: RouteContext.isSingleRouting()
focal_class.full_signature: public boolean isSingleRouting()
focal_class.identifier: isSingleRouting
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSingleRouting()
focal_class.class_method_signature: RouteContext.getActualDataSourceNames()
focal_class.full_signature: public Collection<String> getActualDataSourceNames()
focal_class.identifier: getActualDataSourceNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Collection<String>
focal_class.signature: Collection<String> getActualDataSourceNames()
focal_class.class_method_signature: RouteContext.getActualTableNameGroups(final String actualDataSourceName, final Set<String> logicTableNames)
focal_class.full_signature: public List<Set<String>> getActualTableNameGroups(final String actualDataSourceName, final Set<String> logicTableNames)
focal_class.identifier: getActualTableNameGroups
focal_class.modifiers: public
focal_class.parameters: (final String actualDataSourceName, final Set<String> logicTableNames)
focal_class.return: List<Set<String>>
focal_class.signature: List<Set<String>> getActualTableNameGroups(final String actualDataSourceName, final Set<String> logicTableNames)
focal_class.class_method_signature: RouteContext.getActualTableNames(final String actualDataSourceName, final String logicTableName)
focal_class.full_signature: private Set<String> getActualTableNames(final String actualDataSourceName, final String logicTableName)
focal_class.identifier: getActualTableNames
focal_class.modifiers: private
focal_class.parameters: (final String actualDataSourceName, final String logicTableName)
focal_class.return: Set<String>
focal_class.signature: Set<String> getActualTableNames(final String actualDataSourceName, final String logicTableName)
focal_class.class_method_signature: RouteContext.getDataSourceLogicTablesMap(final Collection<String> actualDataSourceNames)
focal_class.full_signature: public Map<String, Set<String>> getDataSourceLogicTablesMap(final Collection<String> actualDataSourceNames)
focal_class.identifier: getDataSourceLogicTablesMap
focal_class.modifiers: public
focal_class.parameters: (final Collection<String> actualDataSourceNames)
focal_class.return: Map<String, Set<String>>
focal_class.signature: Map<String, Set<String>> getDataSourceLogicTablesMap(final Collection<String> actualDataSourceNames)
focal_class.class_method_signature: RouteContext.getLogicTableNames(final String actualDataSourceName)
focal_class.full_signature: private Set<String> getLogicTableNames(final String actualDataSourceName)
focal_class.identifier: getLogicTableNames
focal_class.modifiers: private
focal_class.parameters: (final String actualDataSourceName)
focal_class.return: Set<String>
focal_class.signature: Set<String> getLogicTableNames(final String actualDataSourceName)
focal_class.class_method_signature: RouteContext.findTableMapper(final String logicDataSourceName, final String actualTableName)
focal_class.full_signature: public Optional<RouteMapper> findTableMapper(final String logicDataSourceName, final String actualTableName)
focal_class.identifier: findTableMapper
focal_class.modifiers: public
focal_class.parameters: (final String logicDataSourceName, final String actualTableName)
focal_class.return: Optional<RouteMapper>
focal_class.signature: Optional<RouteMapper> findTableMapper(final String logicDataSourceName, final String actualTableName)
focal_method.body: public boolean isSingleRouting() {
          return 1 == routeUnits.size();
      }
focal_method.class_method_signature: RouteContext.isSingleRouting()
focal_method.full_signature: public boolean isSingleRouting()
focal_method.identifier: isSingleRouting
focal_method.invocations: size
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isSingleRouting()