via JDBC Driver

Hydrolix uses the Clickhouse SQL engine, so you can connect to Hydrolix using the Clickhouse JDBC driver.

Use the following options to instantiate a Hydrolix connection with the Clickhouse JDBC driver:

String url = "jdbc:clickhouse://$host.hydrolix.live:443/";
Properties properties = new Properties();
properties.setProperty("compress", "false");
properties.setProperty("path", "/query"); // required to hit the Hydrolix reverse proxy
properties.setProperty("ssl", "true");

ClickHouseDataSource dataSource = new ClickHouseDataSource(url, properties);