test_class.declarator: sqlStatementContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SQLStatementContext sqlStatementContext;
test_class.type: SQLStatementContext
test_class.var_name: sqlStatementContext
test_class.declarator: tablesContext
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private TablesContext tablesContext;
test_class.type: TablesContext
test_class.var_name: tablesContext
test_class.declarator: schemaMetaData
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private SchemaMetaData schemaMetaData;
test_class.type: SchemaMetaData
test_class.var_name: schemaMetaData
test_class.declarator: tableMetaData
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private TableMetaData tableMetaData;
test_class.type: TableMetaData
test_class.var_name: tableMetaData
test_class.declarator: tableBroadcastRoutingEngine
test_class.modifier: private
test_class.original_string: private ShardingTableBroadcastRoutingEngine tableBroadcastRoutingEngine;
test_class.type: ShardingTableBroadcastRoutingEngine
test_class.var_name: tableBroadcastRoutingEngine
test_class.declarator: shardingRule
test_class.modifier: private
test_class.original_string: private ShardingRule shardingRule;
test_class.type: ShardingRule
test_class.var_name: shardingRule
test_class.file: shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-route/src/test/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRoutingEngineTest.java
test_class.identifier: ShardingTableBroadcastRoutingEngineTest
test_case.body: @Test
      public void assertRouteForNormalDDL() {
          DDLStatement ddlStatement = mock(DDLStatement.class);
          when(sqlStatementContext.getSqlStatement()).thenReturn(ddlStatement);
          RouteContext routeContext = new RouteContext();
          tableBroadcastRoutingEngine.route(routeContext, shardingRule);
          assertRouteContext(routeContext);
      }
test_case.class_method_signature: ShardingTableBroadcastRoutingEngineTest.assertRouteForNormalDDL()
test_case.full_signature: @Test public void assertRouteForNormalDDL()
test_case.identifier: assertRouteForNormalDDL
test_case.invocations: mock thenReturn when getSqlStatement route assertRouteContext
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void assertRouteForNormalDDL()
focal_class.declarator: schemaMetaData
focal_class.modifier: private final
focal_class.original_string: private final SchemaMetaData schemaMetaData;
focal_class.type: SchemaMetaData
focal_class.var_name: schemaMetaData
focal_class.declarator: sqlStatementContext
focal_class.modifier: private final
focal_class.original_string: private final SQLStatementContext sqlStatementContext;
focal_class.type: SQLStatementContext
focal_class.var_name: sqlStatementContext
focal_class.file: shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-route/src/main/java/org/apache/shardingsphere/sharding/route/engine/type/broadcast/ShardingTableBroadcastRoutingEngine.java
focal_class.identifier: ShardingTableBroadcastRoutingEngine
focal_class.interfaces: implements ShardingRouteEngine
focal_class.class_method_signature: ShardingTableBroadcastRoutingEngine.route(final RouteContext routeContext, final ShardingRule shardingRule)
focal_class.full_signature: @Override public void route(final RouteContext routeContext, final ShardingRule shardingRule)
focal_class.identifier: route
focal_class.modifiers: @Override public
focal_class.parameters: (final RouteContext routeContext, final ShardingRule shardingRule)
focal_class.return: void
focal_class.signature: void route(final RouteContext routeContext, final ShardingRule shardingRule)
focal_class.class_method_signature: ShardingTableBroadcastRoutingEngine.getLogicTableNames()
focal_class.full_signature: private Collection<String> getLogicTableNames()
focal_class.identifier: getLogicTableNames
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Collection<String>
focal_class.signature: Collection<String> getLogicTableNames()
focal_class.class_method_signature: ShardingTableBroadcastRoutingEngine.getTableNamesFromMetaData(final DropIndexStatement dropIndexStatement)
focal_class.full_signature: private Collection<String> getTableNamesFromMetaData(final DropIndexStatement dropIndexStatement)
focal_class.identifier: getTableNamesFromMetaData
focal_class.modifiers: private
focal_class.parameters: (final DropIndexStatement dropIndexStatement)
focal_class.return: Collection<String>
focal_class.signature: Collection<String> getTableNamesFromMetaData(final DropIndexStatement dropIndexStatement)
focal_class.class_method_signature: ShardingTableBroadcastRoutingEngine.findLogicTableNameFromMetaData(final String logicIndexName)
focal_class.full_signature: private Optional<String> findLogicTableNameFromMetaData(final String logicIndexName)
focal_class.identifier: findLogicTableNameFromMetaData
focal_class.modifiers: private
focal_class.parameters: (final String logicIndexName)
focal_class.return: Optional<String>
focal_class.signature: Optional<String> findLogicTableNameFromMetaData(final String logicIndexName)
focal_class.class_method_signature: ShardingTableBroadcastRoutingEngine.getAllRouteUnits(final ShardingRule shardingRule, final String logicTableName)
focal_class.full_signature: private Collection<RouteUnit> getAllRouteUnits(final ShardingRule shardingRule, final String logicTableName)
focal_class.identifier: getAllRouteUnits
focal_class.modifiers: private
focal_class.parameters: (final ShardingRule shardingRule, final String logicTableName)
focal_class.return: Collection<RouteUnit>
focal_class.signature: Collection<RouteUnit> getAllRouteUnits(final ShardingRule shardingRule, final String logicTableName)
focal_method.body: @Override
      public void route(final RouteContext routeContext, final ShardingRule shardingRule) {
          for (String each : getLogicTableNames()) {
              routeContext.getRouteUnits().addAll(getAllRouteUnits(shardingRule, each));
          }
      }
focal_method.class_method_signature: ShardingTableBroadcastRoutingEngine.route(final RouteContext routeContext, final ShardingRule shardingRule)
focal_method.full_signature: @Override public void route(final RouteContext routeContext, final ShardingRule shardingRule)
focal_method.identifier: route
focal_method.invocations: getLogicTableNames addAll getRouteUnits getAllRouteUnits
focal_method.modifiers: @Override public
focal_method.parameters: (final RouteContext routeContext, final ShardingRule shardingRule)
focal_method.return: void
focal_method.signature: void route(final RouteContext routeContext, final ShardingRule shardingRule)