提交 651c1ca6 编写于 作者: D dingbo

cloud docs

上级 cc688101
...@@ -4,9 +4,10 @@ title: Connect with Java Connector ...@@ -4,9 +4,10 @@ title: Connect with Java Connector
description: Connect to TDengine cloud service using Java connector description: Connect to TDengine cloud service using Java connector
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Add Dependency ## Add Dependency
...@@ -14,11 +15,7 @@ import TabItem from '@theme/TabItem'; ...@@ -14,11 +15,7 @@ import TabItem from '@theme/TabItem';
<TabItem value="maven" label="Maven"> <TabItem value="maven" label="Maven">
```xml title="pom.xml" ```xml title="pom.xml"
<dependency> {{#include docs/examples/java/pom.xml:dep}}
<groupId>com.taosdata.jdbc</groupId>
<artifactId>taos-jdbcdriver</artifactId>
<version>2.0.39</version>
</dependency>
``` ```
</TabItem> </TabItem>
...@@ -26,7 +23,7 @@ import TabItem from '@theme/TabItem'; ...@@ -26,7 +23,7 @@ import TabItem from '@theme/TabItem';
```groovy title="build.gradle" ```groovy title="build.gradle"
dependencies { dependencies {
implementation 'com.taosdata.jdbc:taos-jdbcdriver:2.0.39' implementation 'com.taosdata.jdbc:taos-jdbcdriver:3.0.0.0'
} }
``` ```
...@@ -68,7 +65,7 @@ Alternatively, you can set environment variable in your IDE's run configurations ...@@ -68,7 +65,7 @@ Alternatively, you can set environment variable in your IDE's run configurations
:::note :::note
Replace <jdbcURL\> with real JDBC URL, it will seems like: `jdbc:TAOS-RS://example.com?usessl=true&token=xxxx`. Replace <jdbcURL\> with real JDBC URL, it will seems like: `jdbc:TAOS-RS://example.com?usessl=true&token=xxxx`.
To obtain the value of JDBC URL, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Connector" and then select "Java". To obtain the value of JDBC URL, please log in [TDengine Cloud](https://cloud.tdengine.com) and click "Data Insert" on the left menu.
::: :::
<!-- exclude-end --> <!-- exclude-end -->
## Connect ## Connect
...@@ -79,3 +76,4 @@ Code bellow get JDBC URL from environment variables first and then create a `Con ...@@ -79,3 +76,4 @@ Code bellow get JDBC URL from environment variables first and then create a `Con
{{#include docs/examples/java/src/main/java/com/taos/example/ConnectCloudExample.java:connect}} {{#include docs/examples/java/src/main/java/com/taos/example/ConnectCloudExample.java:connect}}
``` ```
The client connection is then established. For how to write data and query data, please refer to <https://docs.tdengine.com/cloud/data-in/insert-data/> and <https://docs.tdengine.com/cloud/data-out/query-data/>.
...@@ -4,9 +4,10 @@ title: Connect with Go Connector ...@@ -4,9 +4,10 @@ title: Connect with Go Connector
description: Connect to TDengine cloud service using Go connector description: Connect to TDengine cloud service using Go connector
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Initialize Module ## Initialize Module
``` ```
......
...@@ -3,9 +3,10 @@ sidebar_label: Rust ...@@ -3,9 +3,10 @@ sidebar_label: Rust
title: Connect with Rust Connector title: Connect with Rust Connector
description: Connect to TDengine cloud service using Rust connector description: Connect to TDengine cloud service using Rust connector
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Create Project ## Create Project
``` ```
......
...@@ -3,9 +3,10 @@ sidebar_label: Node.js ...@@ -3,9 +3,10 @@ sidebar_label: Node.js
title: Connect with Node.js Connector title: Connect with Node.js Connector
description: Connect to TDengine cloud service using Node.JS connector description: Connect to TDengine cloud service using Node.JS connector
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Install Connector ## Install Connector
```bash ```bash
......
...@@ -3,9 +3,10 @@ sidebar_label: C# ...@@ -3,9 +3,10 @@ sidebar_label: C#
title: Connect with C# Connector title: Connect with C# Connector
description: Connect to TDengine cloud service using C# connector description: Connect to TDengine cloud service using C# connector
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Create Project ## Create Project
```bash ```bash
......
...@@ -4,9 +4,10 @@ title: REST API ...@@ -4,9 +4,10 @@ title: REST API
description: Connect to TDengine Cloud Service through RESTful API description: Connect to TDengine Cloud Service through RESTful API
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
## Config ## Config
Run this command in your terminal to save the TDengine cloud token and URL as variables: Run this command in your terminal to save the TDengine cloud token and URL as variables:
......
...@@ -4,8 +4,10 @@ sidebar_label: TDengine CLI ...@@ -4,8 +4,10 @@ sidebar_label: TDengine CLI
description: Instructions and tips for using the TDengine CLI to connect TDengine Cloud description: Instructions and tips for using the TDengine CLI to connect TDengine Cloud
--- ---
<!-- exclude -->
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
<!-- exclude-end -->
The TDengine command-line interface (hereafter referred to as `TDengine CLI`) is the most simplest way for users to manipulate and interact with TDengine instances. The TDengine command-line interface (hereafter referred to as `TDengine CLI`) is the most simplest way for users to manipulate and interact with TDengine instances.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册