On this page

Show all

Setting Attributes

Updated on 2022-11-18 GMT+08:00

Set the connection attributes. In the following sample code, the socket timeout interval is set to 60s.

ClickHouseProperties clickHouseProperties = new ClickHouseProperties();
clickHouseProperties.setSocketTimeout(60000);
clickHouseProperties.setSsl(true);
clickHouseProperties.setSslMode("none");
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback