Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/UserGuide/Master/Tree/API/Programming-Cpp-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ void executeNonQueryStatement(const std::string &sql);

The sample code of using these interfaces is in:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries)
- `example/client-cpp-example/src/SessionExample.cpp`: [SessionExample](https://github.com/apache/iotdb/tree/master/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries) : [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/master/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

If the compilation finishes successfully, the example project will be placed under `example/client-cpp-example/target`

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/Master/Tree/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ connection.disconnect();
## 4. Customize your MQTT Message Format

If you do not like the above Json format, you can customize your MQTT Message format by just writing several lines
of codes. An example can be found in `example/mqtt-customize` project.
of codes. An example can be found in [example/mqtt-customize](https://github.com/apache/iotdb/tree/master/example/mqtt-customize) project.

Steps:
1. Create a java project, and add dependency:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ insert into root.test.db(time, s2) values(now(), 2)

#### Preparation Work

The code is located in the [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua) under the iotdb-example package.
The code is located in the [opc-ua-sink package](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua) under the iotdb-example package.

The code includes:

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/V1.3.x/API/Programming-Cpp-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ void executeNonQueryStatement(const std::string &sql);

The sample code of using these interfaces is in:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries)
- `example/client-cpp-example/src/SessionExample.cpp` : [SessionExample](https://github.com/apache/iotdb/tree/rc/1.3.3/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries) : [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/rc/1.3.3/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

If the compilation finishes successfully, the example project will be placed under `example/client-cpp-example/target`

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.x/API/Programming-Java-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ In the native API of IoTDB, the `Session` is the core interface for interacting

## 2 Detailed Steps

This section provides an overview of the core development process and does not demonstrate all parameters and interfaces. For a complete list of functionalities and parameters, please refer to:[Java Native API](./Programming-Java-Native-API.md#3-native-interface-description) or check the: [Source Code](https://github.com/apache/iotdb/tree/master/example/session/src/main/java/org/apache/iotdb)
This section provides an overview of the core development process and does not demonstrate all parameters and interfaces. For a complete list of functionalities and parameters, please refer to:[Java Native API](./Programming-Java-Native-API.md#3-native-interface-description) or check the: [Source Code](https://github.com/apache/iotdb/tree/rc/1.3.3/example/session/src/main/java/org/apache/iotdb)

### 2.1 Create a Maven Project

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.x/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ connection.disconnect();
## Customize your MQTT Message Format

If you do not like the above Json format, you can customize your MQTT Message format by just writing several lines
of codes. An example can be found in `example/mqtt-customize` project.
of codes. An example can be found in [example/mqtt-customize](https://github.com/apache/iotdb/tree/rc/1.3.3/example/mqtt-customize) project.

Steps:

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/V1.3.x/API/Programming-OPC-UA_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ start pipe p1;

#### Preparation Work

The code is located in the [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua) under the iotdb-example package.
The code is located in the [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/rc/1.3.3/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua) under the iotdb-example package.

The code includes:

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest-Table/API/Programming-JDBC_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Add the following dependency to your Maven `pom.xml` file:
String url = "jdbc:iotdb://127.0.0.1:6667?sql_dialect=table";
```

You can find the full example code at [GitHub Repository](https://github.com/apache/iotdb/blob/master/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java).
You can find the full example code at [GitHub Repository](https://github.com/apache/iotdb/blob/rc/2.0.1/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java).

Here is an excerpt of the sample code:

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest-Table/API/Programming-JDBC_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Add the following dependency to your Maven `pom.xml` file:
String url = "jdbc:iotdb://127.0.0.1:6667?sql_dialect=table";
```

You can find the full example code at [GitHub Repository](https://github.com/apache/iotdb/blob/master/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java).
You can find the full example code at [GitHub Repository](https://github.com/apache/iotdb/blob/rc/2.0.1/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java).

Here is an excerpt of the sample code:

Expand Down
4 changes: 2 additions & 2 deletions src/UserGuide/latest/API/Programming-Cpp-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ void executeNonQueryStatement(const std::string &sql);

The sample code of using these interfaces is in:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries)
- `example/client-cpp-example/src/SessionExample.cpp`: [SessionExample](https://github.com/apache/iotdb/tree/rc/2.0.1/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (Aligned Timeseries) : [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/rc/2.0.1/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

If the compilation finishes successfully, the example project will be placed under `example/client-cpp-example/target`

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/API/Programming-Java-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ In the native API of IoTDB, the `Session` is the core interface for interacting

## 2. Detailed Steps

This section provides an overview of the core development process and does not demonstrate all parameters and interfaces. For a complete list of functionalities and parameters, please refer to:[Java Native API](./Programming-Java-Native-API.md#3-native-interface-description) or check the: [Source Code](https://github.com/apache/iotdb/tree/master/example/session/src/main/java/org/apache/iotdb)
This section provides an overview of the core development process and does not demonstrate all parameters and interfaces. For a complete list of functionalities and parameters, please refer to:[Java Native API](./Programming-Java-Native-API.md#3-native-interface-description) or check the: [Source Code](https://github.com/apache/iotdb/tree/rc/2.0.1/example/session/src/main/java/org/apache/iotdb)

### 2.1 Create a Maven Project

Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ connection.disconnect();
## 4. Customize your MQTT Message Format

If you do not like the above Json format, you can customize your MQTT Message format by just writing several lines
of codes. An example can be found in `example/mqtt-customize` project.
of codes. An example can be found in [example/mqtt-customize](https://github.com/apache/iotdb/tree/rc/2.0.1/example/mqtt-customize) project.

Steps:
1. Create a java project, and add dependency:
Expand Down
2 changes: 1 addition & 1 deletion src/UserGuide/latest/API/Programming-OPC-UA_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ insert into root.test.db(time, s2) values(now(), 2)

#### Preparation Work

The code is located in the [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua) under the iotdb-example package.
The code is located in the [opc-ua-sink package](https://github.com/apache/iotdb/tree/rc/2.0.1/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua)under the iotdb-example package.

The code includes:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,10 @@ void executeNonQueryStatement(const std::string &sql);

示例工程源代码:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列)
- `example/client-cpp-example/src/SessionExample.cpp` : [SessionExample](https://github.com/apache/iotdb/tree/master/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列) : [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/master/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

编译成功后,示例代码工程位于 `example/client-cpp-example/target`
编译成功后,示例代码工程位于 `example/client-cpp-example/target`

## 5. FAQ

Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/Master/Tree/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ connection.disconnect();
## 3. 自定义 MQTT 消息格式

事实上可以通过简单编程来实现 MQTT 消息的格式自定义。
可以在源码的 `example/mqtt-customize` 项目中找到一个简单示例。
可以在源码的 [example/mqtt-customize](https://github.com/apache/iotdb/tree/master/example/mqtt-customize) 项目中找到一个简单示例。

步骤:
1. 创建一个 Java 项目,增加如下依赖
Expand Down
4 changes: 2 additions & 2 deletions src/zh/UserGuide/V1.3.x/API/Programming-Cpp-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,8 @@ void executeNonQueryStatement(const std::string &sql);

示例工程源代码:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列)
- `example/client-cpp-example/src/SessionExample.cpp`: [SessionExample](https://github.com/apache/iotdb/tree/rc/1.3.3/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列): [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/rc/1.3.3/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

编译成功后,示例代码工程位于 `example/client-cpp-example/target`

Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/V1.3.x/API/Programming-Java-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SessionPool 是 Session 的连接池,推荐使用SessionPool编程。在多线

## 2 详细步骤

本章节用于说明开发的核心流程,并未演示所有的参数和接口,如需了解全部功能及参数请参见: [全量接口说明](./Programming-Java-Native-API.md#3-全量接口说明) 或 查阅: [源码](https://github.com/apache/iotdb/tree/master/example/session/src/main/java/org/apache/iotdb)
本章节用于说明开发的核心流程,并未演示所有的参数和接口,如需了解全部功能及参数请参见: [全量接口说明](./Programming-Java-Native-API.md#3-全量接口说明) 或 查阅: [源码](https://github.com/apache/iotdb/tree/rc/1.3.3/example/session/src/main/java/org/apache/iotdb)

### 2.1 创建maven项目

Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/V1.3.x/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ connection.disconnect();
## 自定义 MQTT 消息格式

事实上可以通过简单编程来实现 MQTT 消息的格式自定义。
可以在源码的 `example/mqtt-customize` 项目中找到一个简单示例。
可以在源码的 [example/mqtt-customize](https://github.com/apache/iotdb/tree/rc/1.3.3/example/mqtt-customize) 项目中找到一个简单示例。

步骤:
1. 创建一个 Java 项目,增加如下依赖
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/V1.3.x/API/Programming-OPC-UA_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ insert into root.test.db(time, s2) values(now(), 2)

#### 准备工作

该代码位于 iotdb-example 包下的 [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua)中
该代码位于 iotdb-example 包下的 [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/rc/1.3.3/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua)中

代码中包含:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ IoTDB JDBC接口提供了一种标准的方式来与IoTDB数据库进行交互
String url = "jdbc:iotdb://127.0.0.1:6667?sql_dialect=table";
```

JDBC接口示例代码:[src/main/java/org/apache/iotdb/TableModelJDBCExample.java](https://github.com/apache/iotdb/blob/master/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java)
JDBC接口示例代码:[src/main/java/org/apache/iotdb/TableModelJDBCExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java)


```Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ IoTDB JDBC接口提供了一种标准的方式来与IoTDB数据库进行交互
String url = "jdbc:iotdb://127.0.0.1:6667?sql_dialect=table";
```

JDBC接口示例代码:[src/main/java/org/apache/iotdb/TableModelJDBCExample.java](https://github.com/apache/iotdb/blob/master/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java)
JDBC接口示例代码:[src/main/java/org/apache/iotdb/TableModelJDBCExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/jdbc/src/main/java/org/apache/iotdb/TableModelJDBCExample.java)


```Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@ public class TableSessionPoolBuilder {

## 5. 示例代码

Session 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionExample.java](https://github.com/apache/iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/TableModelSessionExample.java)
Session 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/session/src/main/java/org/apache/iotdb/TableModelSessionExample.java)

SessionPool 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java](https://github.com/apache/iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java)
SessionPool 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/session/src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java)

```Java
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@ public class TableSessionPoolBuilder {

## 5. 示例代码

Session 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionExample.java](https://github.com/apache/iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/TableModelSessionExample.java)
Session 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/session/src/main/java/org/apache/iotdb/TableModelSessionExample.java)

SessionPool 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java](https://github.com/apache/iotdb/blob/master/example/session/src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java)
SessionPool 示例代码:[src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java](https://github.com/apache/iotdb/blob/rc/2.0.1/example/session/src/main/java/org/apache/iotdb/TableModelSessionPoolExample.java)

```Java
/*
Expand Down
6 changes: 3 additions & 3 deletions src/zh/UserGuide/latest/API/Programming-Cpp-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,10 +408,10 @@ void executeNonQueryStatement(const std::string &sql);

示例工程源代码:

- `example/client-cpp-example/src/SessionExample.cpp`
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列)
- `example/client-cpp-example/src/SessionExample.cpp` : [SessionExample](https://github.com/apache/iotdb/tree/rc/2.0.1/example/client-cpp-example/src/SessionExample.cpp)
- `example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp` (使用对齐时间序列) : [AlignedTimeseriesSessionExample](https://github.com/apache/iotdb/tree/rc/2.0.1/example/client-cpp-example/src/AlignedTimeseriesSessionExample.cpp)

编译成功后,示例代码工程位于 `example/client-cpp-example/target`
编译成功后,示例代码工程位于 `example/client-cpp-example/target`

## 5. FAQ

Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/latest/API/Programming-Java-Native-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ SessionPool 是 Session 的连接池,推荐使用SessionPool编程。在多线

## 2. 详细步骤

本章节用于说明开发的核心流程,并未演示所有的参数和接口,如需了解全部功能及参数请参见: [全量接口说明](./Programming-Java-Native-API.md#3-全量接口说明) 或 查阅: [源码](https://github.com/apache/iotdb/tree/master/example/session/src/main/java/org/apache/iotdb)
本章节用于说明开发的核心流程,并未演示所有的参数和接口,如需了解全部功能及参数请参见: [全量接口说明](./Programming-Java-Native-API.md#3-全量接口说明) 或 查阅: [源码](https://github.com/apache/iotdb/tree/rc/2.0.1/example/session/src/main/java/org/apache/iotdb)

### 2.1 创建maven项目

Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/latest/API/Programming-MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ connection.disconnect();
## 3. 自定义 MQTT 消息格式

事实上可以通过简单编程来实现 MQTT 消息的格式自定义。
可以在源码的 `example/mqtt-customize` 项目中找到一个简单示例。
可以在源码的 [example/mqtt-customize](https://github.com/apache/iotdb/tree/rc/2.0.1/example/mqtt-customize) 项目中找到一个简单示例。

步骤:
1. 创建一个 Java 项目,增加如下依赖
Expand Down
2 changes: 1 addition & 1 deletion src/zh/UserGuide/latest/API/Programming-OPC-UA_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ insert into root.test.db(time, s2) values(now(), 2)

#### 准备工作

该代码位于 iotdb-example 包下的 [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/master/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua)中
该代码位于 iotdb-example 包下的 [opc-ua-sink 文件夹](https://github.com/apache/iotdb/tree/rc/2.0.1/example/pipe-opc-ua-sink/src/main/java/org/apache/iotdb/opcua)中

代码中包含:

Expand Down