public boolean isAllInDefaultDataSource ( final Collection < String > logicTableNames ) { for ( String each : logicTableNames ) { if ( findTableRule ( each ) . isPresent ( ) || isBroadcastTable ( each ) ) { return false ; } } return ! logicTableNames . isEmpty ( ) ; }
Judge logic tables is all belong to default data source .