Help Center/
MapReduce Service/
Developer Guide (LTS)/
ClickHouse Development Guide (Normal Mode)/
Sample Code/
Setting Attributes
Updated on 2022-11-18 GMT+08:00
Setting Attributes
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");
Parent topic: Sample Code
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.