@Override
  public Connection connect(String url, Properties info) throws SQLException {
    return acceptsURL(url) ? new HiveConnection(url, info) : null;
  }
Checks whether a given url is in a valid format.

The current uri format is: jdbc:hive://[host[:port]]

jdbc:hive:// - run in embedded mode jdbc:hive://localhost - connect to
localhost default port (10000) jdbc:hive://localhost:5050 - connect to
localhost port 5050

TODO: - write a better regex. - decide on uri format
jdbc/src/java/org/apache/hive/jdbc/HiveDriver.java