test_class.declarator: LOGIC_DATA_SOURCE = "logic_ds"
test_class.modifier: private static final
test_class.original_string: private static final String LOGIC_DATA_SOURCE = "logic_ds";
test_class.type: String
test_class.var_name: LOGIC_DATA_SOURCE
test_class.declarator: ACTUAL_DATA_SOURCE = "actual_ds"
test_class.modifier: private static final
test_class.original_string: private static final String ACTUAL_DATA_SOURCE = "actual_ds";
test_class.type: String
test_class.var_name: ACTUAL_DATA_SOURCE
test_class.declarator: LOGIC_TABLE = "tbl"
test_class.modifier: private static final
test_class.original_string: private static final String LOGIC_TABLE = "tbl";
test_class.type: String
test_class.var_name: LOGIC_TABLE
test_class.declarator: ACTUAL_TABLE_0 = "tbl_0"
test_class.modifier: private static final
test_class.original_string: private static final String ACTUAL_TABLE_0 = "tbl_0";
test_class.type: String
test_class.var_name: ACTUAL_TABLE_0
test_class.declarator: ACTUAL_TABLE_1 = "tbl_1"
test_class.modifier: private static final
test_class.original_string: private static final String ACTUAL_TABLE_1 = "tbl_1";
test_class.type: String
test_class.var_name: ACTUAL_TABLE_1
test_class.declarator: routeUnit = new RouteUnit(
              new RouteMapper(LOGIC_DATA_SOURCE, ACTUAL_DATA_SOURCE), Arrays.asList(new RouteMapper(LOGIC_TABLE, ACTUAL_TABLE_0), new RouteMapper(LOGIC_TABLE, ACTUAL_TABLE_1)))
test_class.modifier: private final
test_class.original_string: private final RouteUnit routeUnit = new RouteUnit(
              new RouteMapper(LOGIC_DATA_SOURCE, ACTUAL_DATA_SOURCE), Arrays.asList(new RouteMapper(LOGIC_TABLE, ACTUAL_TABLE_0), new RouteMapper(LOGIC_TABLE, ACTUAL_TABLE_1)));
test_class.type: RouteUnit
test_class.var_name: routeUnit
test_class.file: shardingsphere-infra/shardingsphere-infra-route/src/test/java/org/apache/shardingsphere/infra/route/context/RouteUnitTest.java
test_class.identifier: RouteUnitTest
test_case.body: @Test
      public void assertGetActualTableNames() {
          Set<String> actual = routeUnit.getActualTableNames(LOGIC_TABLE);
          assertThat(actual.size(), is(2));
          assertTrue(actual.contains(ACTUAL_TABLE_0));
          assertTrue(actual.contains(ACTUAL_TABLE_1));
      }
test_case.class_method_signature: RouteUnitTest.assertGetActualTableNames()
test_case.full_signature: @Test public void assertGetActualTableNames()
test_case.identifier: assertGetActualTableNames
test_case.invocations: getActualTableNames assertThat size is assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertGetActualTableNames()
focal_class.declarator: dataSourceMapper
focal_class.modifier: private final
focal_class.original_string: private final RouteMapper dataSourceMapper;
focal_class.type: RouteMapper
focal_class.var_name: dataSourceMapper
focal_class.declarator: tableMappers
focal_class.modifier: private final
focal_class.original_string: private final Collection<RouteMapper> tableMappers;
focal_class.type: Collection<RouteMapper>
focal_class.var_name: tableMappers
focal_class.file: shardingsphere-infra/shardingsphere-infra-route/src/main/java/org/apache/shardingsphere/infra/route/context/RouteUnit.java
focal_class.identifier: RouteUnit
focal_class.class_method_signature: RouteUnit.getLogicTableNames()
focal_class.full_signature: public Set<String> getLogicTableNames()
focal_class.identifier: getLogicTableNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getLogicTableNames()
focal_class.class_method_signature: RouteUnit.getActualTableNames(final String logicTableName)
focal_class.full_signature: public Set<String> getActualTableNames(final String logicTableName)
focal_class.identifier: getActualTableNames
focal_class.modifiers: public
focal_class.parameters: (final String logicTableName)
focal_class.return: Set<String>
focal_class.signature: Set<String> getActualTableNames(final String logicTableName)
focal_class.class_method_signature: RouteUnit.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 Set<String> getActualTableNames(final String logicTableName) {
          return tableMappers.stream().filter(each -> logicTableName.equalsIgnoreCase(each.getLogicName())).map(RouteMapper::getActualName).collect(Collectors.toSet());
      }
focal_method.class_method_signature: RouteUnit.getActualTableNames(final String logicTableName)
focal_method.full_signature: public Set<String> getActualTableNames(final String logicTableName)
focal_method.identifier: getActualTableNames
focal_method.invocations: collect map filter stream equalsIgnoreCase getLogicName toSet
focal_method.modifiers: public
focal_method.parameters: (final String logicTableName)
focal_method.return: Set<String>
focal_method.signature: Set<String> getActualTableNames(final String logicTableName)