The client connection is then established. For how to write data and query data, please refer to [basic usage](../../connector/python#basic-usage).
The client connection is then established. For how to write data and query data, please refer to [sample-program](https://docs.tdengine.com/cloud/connector/python/#sample-program).
@@ -42,6 +42,8 @@ You should replace above placeholders as real values. To obtain these values, pl
## Connect
Code bellow get variable URL and token from environment first and then create a `RestfulConnection` object, witch is a standard JDBC Connection object.
```java
importcom.taosdata.jdbc.rs.RestfulConnection;
importjava.sql.Connection;
...
...
@@ -51,10 +53,9 @@ public class ConnectCloudExample {
The client connection is then established. For how to write data and query data using the connection, please refer to [usage-examples](https://docs.tdengine.com/reference/connector/java#usage-examples).