Help Center/
CloudTable Service/
Developer Guide/
ClickHouse Application Development Guide/
Development Process/
Sample Code/
Setting Properties
Updated on 2024-04-29 GMT+08:00
Setting Properties
Function Description
Set the connection properties. In the following sample code, the socket timeout interval is set to 60s.
Sample Code
Properties clickHouseProperties = new Properties(); clickHouseProperties.setProperty(ClickHouseClientOption.CONNECTION_TIMEOUT.getKey(), Integer.toString(60000)); clickHouseProperties.setProperty(ClickHouseClientOption.SSL.getKey(), Boolean.toString(false)); clickHouseProperties.setProperty(ClickHouseClientOption.SSL_MODE.getKey(), "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.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot