Table getTable(String name) {
      Table[] t = getTables();
      for (int i = 0; t != null && i < t.length; i++) {
        if (name.equalsIgnoreCase(t[i].getName())) {
          return t[i];
        }
      }
      return null;
    }
Connection to the specified data source.
beeline/src/java/org/apache/hive/beeline/DatabaseConnection.java