You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by co...@apache.org on 2026/06/18 03:30:02 UTC

(tsfile) branch tsfile_doc created (now 97d7bedfa)

This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a change to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git


      at 97d7bedfa update doc.

This branch includes the following new commits:

     new 19e6a9cf6 Remove everything except docs (#399)
     new 8e202635f releasev2.0.1 (#401)
     new 6befb88d8 Update site-build.yaml
     new e25764881 Update site-build.yaml
     new dfdcca079 update download for 2.0.1 (#404)
     new 30d737c71 Fix interface definition document content errors (#406)
     new a3ae3d05e Tsfle-2.x data model page reconstruction (#407)
     new 60f02bbab Yr 02 0212 tsfle 2.x data model page reconstruction (#410)
     new 503f00a53 Add a user guide document for TsFile-CPP (#403)
     new 9a93156f5 correct link in QuickStart (#417)
     new 4305e46e3 add tsfile c++ read doc (#425)
     new 9afef0d72 Update .htaccess  for enable algolia
     new 20165d887 Add QuickStart-CPP.md
     new a6e73550e Docs For C and python interface. (#441)
     new 588f01477 Add a quick to get started s2. category (Table. ColumnCategory. FEED) (#465)
     new 3b9a31162 TsFile Ecological Integration (#476)
     new e21dd5c8a Modify ecological error information (#477)
     new 0ecf67bf5 Fix 404 incorrect links (#479)
     new d8733353b add some doc. (#546)
     new c0278cd58 Update Tsfile multilingual version (#552)
     new 9dc46cd17 Update Tsfile multilingual version (#555)
     new 0e25fc6d1 Update Tsfile multilingual version (#557)
     new 9a334d8df Update 2.1.1 downloads (#573)
     new 440d539b9 Update 1.1.2 download info (#589)
     new 1de25c817 fix some api and example. (#612)
     new 49b00add3 update user guide. (#625)
     new ea1d7eb59 fix cpp (#646)
     new bf1a68b9c Supplement documentation related to TagFilter (#654)
     new ec9a4d71c add python code links (#664)
     new 6838705a3 2.x examples are based table model (#672)
     new 8c668bbdc add to_dataframe. (#674)
     new d5e9b3bb0 update 2.2.0 download info (#681)
     new 249c93e2f update description about tsfile (#685)
     new f945abc0e update tsfile title (#686)
     new 04536fe96 fix english version link (#694)
     new 36f2bfadb fix home styles (#695)
     new b2cd3ef3b change quickstart sidebar of java and python (#698)
     new 8ed3b02b0 adjust quickstart python chapter (#699)
     new 4bf659632 update tsfile link 221 (#752)
     new 252bc9b1d Update README with latest version 2.3.0
     new b40e4b22e Update README with latest version 2.3.0
     new 4138c54b4 update docs 2.3.0
     new 97d7bedfa update doc.

The 43 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(tsfile) 26/43: update user guide. (#625)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 49b00add3577ead54e5414d646bea01ee3e17904
Author: Colin Lee <10...@users.noreply.github.com>
AuthorDate: Mon Nov 3 11:58:15 2025 +0800

    update user guide. (#625)
---
 .../develop/QuickStart/QuickStart-JAVA.md          | 13 +-------
 .../develop/QuickStart/QuickStart-PYTHON.md        | 27 ++++++++++++++++-
 .../latest/QuickStart/QuickStart-PYTHON.md         | 28 ++++++++++++++++-
 src/UserGuide/latest/QuickStart/QuickStart.md      | 13 +-------
 .../develop/QuickStart/QuickStart-JAVA.md          | 13 +-------
 .../develop/QuickStart/QuickStart-PYTHON.md        | 35 +++++++++++++++++-----
 .../latest/QuickStart/QuickStart-PYTHON.md         | 35 +++++++++++++++++-----
 src/zh/UserGuide/latest/QuickStart/QuickStart.md   | 13 +-------
 8 files changed, 111 insertions(+), 66 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 5ac101adc..2d329a134 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -27,24 +27,13 @@
 
 ## Installation Method
 
-Clone the source code from git:
-
-```shell
-git clone https://github.com/apache/tsfile.git
-```
-Run Maven to compile in the TsFile root directory:
-
-```shell
-mvn clean install -P with-java -DskipTests
-```
-
 Using TsFile API with Maven:
 
 ```shell
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.0.1</version>
+    <version>2.1.1</version>
 </dependency>
 ```
 
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 2f2cb2b05..8b22646fb 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -40,6 +40,26 @@ pandas >= 2.2.2
 
 ## Installation Method
 
+### Install From Pypi
+
+Use pip to install the latest version from pypi:
+
+```shell
+pip install tsfile
+```
+Platform support:
+
+| Platform      | python                           |
+| ------------- | -------------------------------- |
+| Linux_x86_64  | py39, py310, py311, py312, py313 |
+| Linux_aarch64 | py39, py310, py311, py312, py313 |
+| MacOS_arm64   | py39, py310, py311, py312, py313 |
+| MacOS_X86_64  | py39, py310, py311, py312, py313 |
+| Win_amd64     | py39, py310, py311, py312, py313 |
+
+To download wheel from pypi: https://pypi.org/project/tsfile/#files
+
+
 ### Compile on your local envirment
 Clone the source code from git:
 
@@ -76,10 +96,12 @@ pip install tsfile.wheel
 ```
 
 
-
 ## Writing Process
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 if os.path.exists(table_data_dir):
     os.remove(table_data_dir)
@@ -110,6 +132,9 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
 ## Reading Process
 
 ```Python
+import os
+from tsfile import * 
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 ### Free resource automatically
 with TsFileReader(table_data_dir) as reader:
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 2f2cb2b05..aac8a4087 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -40,6 +40,27 @@ pandas >= 2.2.2
 
 ## Installation Method
 
+### Install From Pypi
+
+Use pip to install the latest version from pypi:
+
+```shell
+pip install tsfile
+```
+Platform support:
+
+| Platform      | python                           |
+| ------------- | -------------------------------- |
+| Linux_x86_64  | py39, py310, py311, py312, py313 |
+| Linux_aarch64 | py39, py310, py311, py312, py313 |
+| MacOS_arm64   | py39, py310, py311, py312, py313 |
+| MacOS_X86_64  | py39, py310, py311, py312, py313 |
+| Win_amd64     | py39, py310, py311, py312, py313 |
+
+To download wheel from pypi: https://pypi.org/project/tsfile/#files
+
+
+
 ### Compile on your local envirment
 Clone the source code from git:
 
@@ -76,10 +97,12 @@ pip install tsfile.wheel
 ```
 
 
-
 ## Writing Process
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 if os.path.exists(table_data_dir):
     os.remove(table_data_dir)
@@ -110,6 +133,9 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
 ## Reading Process
 
 ```Python
+import os
+from tsfile import * 
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 ### Free resource automatically
 with TsFileReader(table_data_dir) as reader:
diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index 5ac101adc..2d329a134 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -27,24 +27,13 @@
 
 ## Installation Method
 
-Clone the source code from git:
-
-```shell
-git clone https://github.com/apache/tsfile.git
-```
-Run Maven to compile in the TsFile root directory:
-
-```shell
-mvn clean install -P with-java -DskipTests
-```
-
 Using TsFile API with Maven:
 
 ```shell
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.0.1</version>
+    <version>2.1.1</version>
 </dependency>
 ```
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index b0c195f06..597ab8311 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -27,24 +27,13 @@
 
 ## 安装
 
-从git克隆源代码:
-
-```shell
-git clone https://github.com/apache/tsfile.git
-```
-在 TsFile 根目录下执行 maven 编译:
-
-```shell
-mvn clean install -P with-java -DskipTests
-```
-
 在 Maven 中引用 TsFile API:
 
 ```shell
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.0.1</version>
+    <version>2.1.1</version>
 </dependency>
 ```
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 6978bedee..bd147ffdb 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -40,6 +40,27 @@ pandas >= 2.2.2
 
 ## 安装
 
+### 使用 PIP 进行在线安装
+
+使用pip 指令来在线安装 TsFile 包
+
+```bash
+pip install tsfile
+```
+
+支持的架构平台如下:
+
+| Platform      | python                           |
+| ------------- | -------------------------------- |
+| Linux_x86_64  | py39, py310, py311, py312, py313 |
+| Linus_aarch64 | py39, py310, py311, py312, py313 |
+| MacOS_arm64   | py39, py310, py311, py312, py313 |
+| MacOS_X86_64  | py39, py310, py311, py312, py313 |
+| Win_amd64     | py39, py310, py311, py312, py313 |
+
+或者直接下载 wheel 文件安装:https://pypi.org/project/tsfile/#files
+
+
 ### 在本地进行编译
 
 从git克隆源代码:
@@ -76,18 +97,13 @@ mvnw.cmd clean install -P with-python -DskipTests
 pip install tsfile.wheel
 ```
 
-### 使用 PIP 进行在线安装
-
-使用pip 指令来在线安装 TsFile 包
-
-```bash
-pip install tsfile
-```
-
 
 ## 写入示例
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 if os.path.exists(table_data_dir):
     os.remove(table_data_dir)
@@ -118,6 +134,9 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
 ## 读取示例
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 ### Free resource automatically
 with TsFileReader(table_data_dir) as reader:
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 6978bedee..bd147ffdb 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -40,6 +40,27 @@ pandas >= 2.2.2
 
 ## 安装
 
+### 使用 PIP 进行在线安装
+
+使用pip 指令来在线安装 TsFile 包
+
+```bash
+pip install tsfile
+```
+
+支持的架构平台如下:
+
+| Platform      | python                           |
+| ------------- | -------------------------------- |
+| Linux_x86_64  | py39, py310, py311, py312, py313 |
+| Linus_aarch64 | py39, py310, py311, py312, py313 |
+| MacOS_arm64   | py39, py310, py311, py312, py313 |
+| MacOS_X86_64  | py39, py310, py311, py312, py313 |
+| Win_amd64     | py39, py310, py311, py312, py313 |
+
+或者直接下载 wheel 文件安装:https://pypi.org/project/tsfile/#files
+
+
 ### 在本地进行编译
 
 从git克隆源代码:
@@ -76,18 +97,13 @@ mvnw.cmd clean install -P with-python -DskipTests
 pip install tsfile.wheel
 ```
 
-### 使用 PIP 进行在线安装
-
-使用pip 指令来在线安装 TsFile 包
-
-```bash
-pip install tsfile
-```
-
 
 ## 写入示例
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 if os.path.exists(table_data_dir):
     os.remove(table_data_dir)
@@ -118,6 +134,9 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
 ## 读取示例
 
 ```Python
+import os
+from tsfile import *
+
 table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 ### Free resource automatically
 with TsFileReader(table_data_dir) as reader:
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index b0c195f06..597ab8311 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -27,24 +27,13 @@
 
 ## 安装
 
-从git克隆源代码:
-
-```shell
-git clone https://github.com/apache/tsfile.git
-```
-在 TsFile 根目录下执行 maven 编译:
-
-```shell
-mvn clean install -P with-java -DskipTests
-```
-
 在 Maven 中引用 TsFile API:
 
 ```shell
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.0.1</version>
+    <version>2.1.1</version>
 </dependency>
 ```
 


(tsfile) 29/43: add python code links (#664)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit ec9a4d71cc16fdcbe729492b9c910f930ea0b545
Author: leto-b <bi...@timecho.com>
AuthorDate: Mon Dec 22 11:40:42 2025 +0800

    add python code links (#664)
---
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md       | 2 +-
 src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md               | 4 ++++
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md       | 2 +-
 src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md                | 4 ++++
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md       | 4 ++--
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md      | 2 +-
 src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md               | 2 +-
 src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md            | 4 ++++
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md       | 6 +++---
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md      | 2 +-
 src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md                | 2 +-
 src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md             | 4 ++++
 12 files changed, 27 insertions(+), 11 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 044c496bb..b1642f88b 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions - Cpp
+# Interface Definitions - C++
 
 ## Write Interface
 
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 8b22646fb..a25b30508 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -146,3 +146,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.get_value_by_name("value"))
             print(result.read_data_frame())
 ```
+
+## Sample Code
+
+The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 044c496bb..b1642f88b 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions - Cpp
+# Interface Definitions - C++
 
 ## Write Interface
 
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index aac8a4087..03904746b 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -147,3 +147,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.get_value_by_name("value"))
             print(result.read_data_frame())
 ```
+
+## Sample Code
+
+The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index c96bcfc65..494cc34ab 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -78,7 +78,7 @@ class TsFileTableWriter {
 };
 ```
 
-### 表模式
+### TableSchema
 
 描述表模式(schema)的数据结构。
 
@@ -218,7 +218,7 @@ public:
 };
 ```
 
-## 读接口
+## 读取接口
 ### Tsfile Reader
 ```cpp
 /**
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 109d2841d..fa3cad5e3 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -152,7 +152,7 @@ class Tablet {
 }
 ```
 
-## Read Interface
+## 读取接口
 
 ### ITsFileReader
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
index 3a3412e1f..6a0a8ae0e 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -240,7 +240,7 @@ target_link_libraries(your_target ${TSFILE_LIB})
     reader.close();
 ```
 
-### Sample Code
+### 示例代码
 
 使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index bd147ffdb..a12044328 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -148,3 +148,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.get_value_by_name("value"))
             print(result.read_data_frame())
 ```
+
+## 示例代码
+
+使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index c96bcfc65..a652c81d4 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 接口定义 - Cpp
+# 接口定义 - C++
 
 ## 写入接口
 
@@ -78,7 +78,7 @@ class TsFileTableWriter {
 };
 ```
 
-### 表模式
+### TableSchema
 
 描述表模式(schema)的数据结构。
 
@@ -218,7 +218,7 @@ public:
 };
 ```
 
-## 读接口
+## 读取接口
 ### Tsfile Reader
 ```cpp
 /**
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 109d2841d..fa3cad5e3 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -152,7 +152,7 @@ class Tablet {
 }
 ```
 
-## Read Interface
+## 读取接口
 
 ### ITsFileReader
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
index 3a3412e1f..6a0a8ae0e 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -240,7 +240,7 @@ target_link_libraries(your_target ${TSFILE_LIB})
     reader.close();
 ```
 
-### Sample Code
+### 示例代码
 
 使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index bd147ffdb..a12044328 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -148,3 +148,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.get_value_by_name("value"))
             print(result.read_data_frame())
 ```
+
+## 示例代码
+
+使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file


(tsfile) 35/43: fix english version link (#694)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 04536fe962059afababc9c8c9e3bb2d391bda06f
Author: leto-b <bi...@timecho.com>
AuthorDate: Tue Jan 6 11:00:30 2026 +0800

    fix english version link (#694)
---
 src/.vuepress/navbar/en.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/.vuepress/navbar/en.ts b/src/.vuepress/navbar/en.ts
index 9b4d3af28..95f39c340 100644
--- a/src/.vuepress/navbar/en.ts
+++ b/src/.vuepress/navbar/en.ts
@@ -21,8 +21,8 @@ export const enNavbar = navbar([
   {
     text: 'Documentation',
     children: [
-      { text: 'v2.x', link: '/zh/UserGuide/latest/QuickStart/QuickStart' },
-      { text: 'v1.x', link: '/zh/UserGuide/v1.x/QuickStart/QuickStart' },
+      { text: 'v2.x', link: '/UserGuide/latest/QuickStart/QuickStart' },
+      { text: 'v1.x', link: '/UserGuide/v1.x/QuickStart/QuickStart' },
     ],
   },
   {


(tsfile) 11/43: add tsfile c++ read doc (#425)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 4305e46e3f03cb154db3fd961248013f3885167e
Author: Yukim1 <12...@users.noreply.github.com>
AuthorDate: Tue Mar 4 18:43:37 2025 +0800

    add tsfile c++ read doc (#425)
    
    * add tsfile c++ read doc
    
    * fix
    
    * fix
---
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 228 +++++++++++++++++++++
 1 file changed, 228 insertions(+)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 4153d4f42..2344b3dfc 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -211,4 +211,232 @@ public:
     template <typename T>
     int add_value(uint32_t row_index, const std::string &measurement_name, T val);
 };
+```
+
+## Read Interface 
+### Tsfile Reader
+use to execute query in tsfile and return value by ResultSet.
+```cpp
+/**
+ * @brief TsfileReader provides the ability to query all files with the suffix
+ * .tsfile
+ *
+ * TsfileReader is designed to query .tsfile files, it accepts tree model
+ * queries and table model queries, and supports querying metadata such as
+ * TableSchema and TimeseriesSchema.
+ */
+class TsFileReader {
+   public:
+    TsFileReader();
+    ~TsFileReader();
+    /**
+     * @brief open the tsfile
+     *
+     * @param file_path the path of the tsfile which will be opened
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int open(const std::string &file_path);
+    /**
+     * @brief close the tsfile, this method should be called after the
+     * query is finished
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int close();
+    /**
+     * @brief query the tsfile by the query expression,Users can construct
+     * their own query expressions to query tsfile
+     *
+     * @param [in] qe the query expression
+     * @param [out] ret_qds the result set
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
+    /**
+     * @brief query the tsfile by the path list, start time and end time
+     * this method is used to query the tsfile by the tree model.
+     *
+     * @param [in] path_list the path list
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [out] result_set the result set
+     */
+    int query(std::vector<std::string> &path_list, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief query the tsfile by the table name, columns names, start time
+     * and end time. this method is used to query the tsfile by the table
+     * model.
+     *
+     * @param [in] table_name the table name
+     * @param [in] columns_names the columns names
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [out] result_set the result set
+     */
+    int query(const std::string &table_name,
+              const std::vector<std::string> &columns_names, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief destroy the result set, this method should be called after the
+     * query is finished and result_set
+     *
+     * @param qds the result set
+     */
+    void destroy_query_data_set(ResultSet *qds);
+    ResultSet *read_timeseries(
+        const std::shared_ptr<IDeviceID> &device_id,
+        const std::vector<std::string> &measurement_name);
+    /**
+     * @brief get all devices in the tsfile
+     *
+     * @param table_name the table name
+     * @return std::vector<std::shared_ptr<IDeviceID>> the device id list
+     */
+    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
+        std::string table_name);
+    /**
+     * @brief get the timeseries schema by the device id and measurement name
+     *
+     * @param [in] device_id the device id
+     * @param [out] result std::vector<MeasurementSchema> the measurement schema
+     * list
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
+                              std::vector<MeasurementSchema> &result);
+    /**
+     * @brief get the table schema by the table name
+     *
+     * @param table_name the table name
+     * @return std::shared_ptr<TableSchema> the table schema
+     */
+    std::shared_ptr<TableSchema> get_table_schema(
+        const std::string &table_name);
+    /**
+     * @brief get all table schemas in the tsfile
+     *
+     * @return std::vector<std::shared_ptr<TableSchema>> the table schema list
+     */
+    std::vector<std::shared_ptr<TableSchema>> get_all_table_schemas();
+};
+```
+### ResultSet
+A collection of query.Support iterator to get data, and directly through the column name or index to get specific data.
+```cpp
+/**
+ * @brief ResultSet is the query result of the TsfileReader. It provides access
+ * to the results.
+ *
+ * ResultSet is a virtual class. Convert it to the corresponding implementation
+ * class when used
+ * @note When using the tree model and the filter is a global time filter,
+ * it should be cast as QDSWithoutTimeGenerator.
+ * @note When using the tree model and the filter is not a global time filter,
+ * it should be QDSWithTimeGenerator.
+ * @note If the query uses the table model, the cast should be TableResultSet
+ */
+class ResultSet {
+   public:
+    ResultSet() {}
+    virtual ~ResultSet() {}
+    /**
+     * @brief Get the next row of the result set
+     *
+     * @param[out] has_next a boolean value indicating if there is a next row
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    virtual int next(bool& has_next) = 0;
+    /**
+     * @brief Check if the value of the column is null by column name
+     *
+     * @param column_name the name of the column
+     * @return true if the value is null, false otherwise
+     */
+    virtual bool is_null(const std::string& column_name) = 0;
+    /**
+     * @brief Check if the value of the column is null by column index
+     *
+     * @param column_index the index of the column starting from 1
+     * @return true if the value is null, false otherwise
+     */
+    virtual bool is_null(uint32_t column_index) = 0;
+
+    /**
+     * @brief Get the value of the column by column name
+     *
+     * @param column_name the name of the column
+     * @return the value of the column
+     */
+    template <typename T>
+    T get_value(const std::string& column_name);
+     * @brief Get the value of the column by column index
+     *
+     * @param column_index the index of the column starting from 1
+     * @return the value of the column
+     */
+    template <typename T>
+    T get_value(uint32_t column_index);
+    /**
+     * @brief Get the row record of the result set
+     *
+     * @return the row record
+     */
+    virtual RowRecord* get_row_record() = 0;
+    /**
+     * @brief Get the metadata of the result set
+     *
+     * @return std::shared_ptr<ResultSetMetadata> the metadata of the result set
+     */
+    virtual std::shared_ptr<ResultSetMetadata> get_metadata() = 0;
+    /**
+     * @brief Close the result set
+     *
+     * @note this method should be called after the result set is no longer
+     * needed.
+     */
+    virtual void close() = 0;
+};
+```
+### ResultMeta
+user can obtain the metadata from ResultSetMetadata, including all columnnames and data types. When a user uses a table model, the first columndefaults to the time column.
+```cpp
+/**
+ * @brief metadata of result set
+ *
+ * user can obtain the metadata from ResultSetMetadata, including all column
+ * names and data types. When a user uses the table model, the first column
+ * defaults to the time column.
+ */
+class ResultSetMetadata {
+   public:
+    /**
+     * @brief constructor of ResultSetMetadata
+     *
+     * @param column_names the column names
+     * @param column_types the column types
+     */
+    ResultSetMetadata(const std::vector<std::string>& column_names,
+                      const std::vector<common::TSDataType>& column_types);
+    /**
+     * @brief get the column type
+     *
+     * @param column_index the column index starting from 1
+     * @return the column type
+     */
+    common::TSDataType get_column_type(uint32_t column_index);
+    /**
+     * @brief get the column name
+     *
+     * @param column_index the column index starting from 1
+     * @return the column name
+     */
+    std::string get_column_name(uint32_t column_index);
+    /**
+     * @brief get the column count
+     *
+     * @return the column count by uint32_t
+     */
+    uint32_t get_column_count();
+};
 ```
\ No newline at end of file


(tsfile) 01/43: Remove everything except docs (#399)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 19e6a9cf67da616c49c906c1bf56594dd3455e47
Author: Jiang Tian <jt...@163.com>
AuthorDate: Fri Feb 7 18:31:30 2025 +0800

    Remove everything except docs (#399)
    
    * remove everything except docs
    
    * remove CI of develop branch
    
    * update CI yaml
    
    * update yaml
---
 .github/workflows/code-coverage.yml                |   42 -
 .github/workflows/codeql.yml                       |   79 -
 .github/workflows/site-build.yaml                  |    6 +-
 .github/workflows/unit-test-cpp-py.yml             |   88 -
 .github/workflows/unit-test-java.yml               |   90 -
 Jenkinsfile                                        |  168 -
 README-zh.md                                       |  130 -
 README.md                                          |  129 -
 RELEASE_NOTES.md                                   |   81 -
 checkstyle.xml                                     |  250 -
 codecov.yml                                        |   54 -
 cpp/.clang-format                                  |  226 -
 cpp/.gitignore                                     |    7 -
 cpp/CMakeLists.txt                                 |   92 -
 cpp/README-zh.md                                   |   34 -
 cpp/README.md                                      |   86 -
 cpp/VersionUpdater.groovy                          |   42 -
 cpp/bench_mark/CMakeLists.txt                      |   33 -
 cpp/bench_mark/bench_mark_src/CMakeLists.txt       |   57 -
 cpp/bench_mark/bench_mark_src/bench_conf.h         |   27 -
 cpp/bench_mark/bench_mark_src/bench_mark.cc        |  161 -
 cpp/bench_mark/bench_mark_src/bench_mark.h         |   18 -
 cpp/bench_mark/build.sh                            |   50 -
 cpp/build.sh                                       |  140 -
 cpp/examples/CMakeLists.txt                        |   35 -
 cpp/examples/build.sh                              |   32 -
 cpp/examples/c_examples/CMakeLists.txt             |   22 -
 cpp/examples/c_examples/c_examples.c               |  133 -
 cpp/examples/c_examples/c_examples.h               |   31 -
 cpp/examples/cpp_examples/CMakeLists.txt           |   22 -
 cpp/examples/cpp_examples/cpp_examples.h           |   33 -
 cpp/examples/cpp_examples/demo_read.cpp            |   97 -
 cpp/examples/cpp_examples/demo_write.cpp           |  114 -
 cpp/examples/examples.cc                           |   31 -
 cpp/pom.xml                                        |  224 -
 cpp/src/CMakeLists.txt                             |   68 -
 cpp/src/common/CMakeLists.txt                      |   35 -
 cpp/src/common/allocator/CMakeLists.txt            |   26 -
 cpp/src/common/allocator/alloc_base.h              |  131 -
 cpp/src/common/allocator/byte_stream.h             | 1128 ---
 cpp/src/common/allocator/mem_alloc.cc              |  257 -
 cpp/src/common/allocator/my_string.h               |  182 -
 cpp/src/common/allocator/object_pool.h             |  110 -
 cpp/src/common/allocator/page_arena.cc             |   65 -
 cpp/src/common/allocator/page_arena.h              |  101 -
 cpp/src/common/allocator/stl_allocator.h           |   90 -
 cpp/src/common/allocator/util_define.h             |  152 -
 cpp/src/common/config/CMakeLists.txt               |   20 -
 cpp/src/common/config/config.h                     |   69 -
 cpp/src/common/constant/CMakeLists.txt             |   18 -
 cpp/src/common/constant/tsfile_constant.h          |   45 -
 cpp/src/common/container/CMakeLists.txt            |   22 -
 cpp/src/common/container/array.h                   |  305 -
 cpp/src/common/container/bit_map.cc                |   45 -
 cpp/src/common/container/bit_map.h                 |   83 -
 cpp/src/common/container/blocking_queue.cc         |   57 -
 cpp/src/common/container/blocking_queue.h          |   44 -
 cpp/src/common/container/byte_buffer.h             |  127 -
 cpp/src/common/container/hash_func.h               |  106 -
 cpp/src/common/container/hash_node.h               |   73 -
 cpp/src/common/container/hash_segm.h               |   53 -
 cpp/src/common/container/hash_table.h              |  792 --
 cpp/src/common/container/list.h                    |  150 -
 cpp/src/common/container/murmur_hash3.cc           |  138 -
 cpp/src/common/container/murmur_hash3.h            |   75 -
 cpp/src/common/container/simple_vector.h           |   60 -
 cpp/src/common/container/slice.h                   |  148 -
 cpp/src/common/container/sorted_array.h            |  329 -
 cpp/src/common/datatype/CMakeLists.txt             |   18 -
 cpp/src/common/datatype/value.h                    |  249 -
 cpp/src/common/db_common.h                         |  189 -
 cpp/src/common/device_id.h                         |  207 -
 cpp/src/common/global.cc                           |  211 -
 cpp/src/common/global.h                            |   40 -
 cpp/src/common/logger/elog.h                       |   37 -
 cpp/src/common/mutex/CMakeLists.txt                |   20 -
 cpp/src/common/mutex/mutex.h                       |   75 -
 cpp/src/common/path.h                              |   76 -
 cpp/src/common/record.h                            |  169 -
 cpp/src/common/row_record.h                        |  235 -
 cpp/src/common/schema.h                            |  338 -
 cpp/src/common/seq_tvlist.h                        |  172 -
 cpp/src/common/seq_tvlist.inc                      |  174 -
 cpp/src/common/statistic.h                         | 1115 ---
 cpp/src/common/tablet.cc                           |  315 -
 cpp/src/common/tablet.h                            |  168 -
 cpp/src/common/tablet_iterator.h                   |   78 -
 cpp/src/common/tsblock/CMakeLists.txt              |   22 -
 cpp/src/common/tsblock/tsblock.cc                  |  310 -
 cpp/src/common/tsblock/tsblock.h                   |  272 -
 cpp/src/common/tsblock/tuple_desc.cc               |   92 -
 cpp/src/common/tsblock/tuple_desc.h                |  120 -
 .../common/tsblock/vector/fixed_length_vector.h    |   82 -
 .../common/tsblock/vector/variable_length_vector.h |   87 -
 cpp/src/common/tsblock/vector/vector.h             |   94 -
 cpp/src/common/tsfile_common.cc                    |  369 -
 cpp/src/common/tsfile_common.h                     | 1140 ---
 cpp/src/common/tsfile_mgr.cc                       |  139 -
 cpp/src/common/tsfile_mgr.h                        |   95 -
 cpp/src/compress/CMakeLists.txt                    |   23 -
 cpp/src/compress/compressor.c                      |   18 -
 cpp/src/compress/compressor.h                      |   51 -
 cpp/src/compress/compressor_factory.h              |   73 -
 cpp/src/compress/gzip_compressor.cc                |  289 -
 cpp/src/compress/gzip_compressor.h                 |  154 -
 cpp/src/compress/lz4_compressor.cc                 |  140 -
 cpp/src/compress/lz4_compressor.h                  |   66 -
 cpp/src/compress/lzo_compressor.cc                 |  127 -
 cpp/src/compress/lzo_compressor.h                  |   62 -
 cpp/src/compress/snappy_compressor.cc              |  115 -
 cpp/src/compress/snappy_compressor.h               |   63 -
 cpp/src/compress/uncompressed_compressor.h         |   54 -
 cpp/src/cwrapper/CMakeLists.txt                    |   22 -
 cpp/src/cwrapper/TsFile-cwrapper.cc                |  853 --
 cpp/src/cwrapper/TsFile-cwrapper.h                 |  235 -
 cpp/src/encoding/CMakeLists.txt                    |   32 -
 cpp/src/encoding/bitpack_decoder.h                 |  191 -
 cpp/src/encoding/bitpack_encoder.h                 |  181 -
 cpp/src/encoding/decoder.h                         |   43 -
 cpp/src/encoding/decoder_factory.h                 |   97 -
 cpp/src/encoding/dictionary_decoder.h              |   78 -
 cpp/src/encoding/dictionary_encoder.h              |  106 -
 cpp/src/encoding/encode_utils.h                    |  146 -
 cpp/src/encoding/encoder.h                         |   54 -
 cpp/src/encoding/encoder_factory.h                 |  126 -
 cpp/src/encoding/gorilla_decoder.h                 |  427 -
 cpp/src/encoding/gorilla_encoder.h                 |  481 -
 cpp/src/encoding/intpacker.h                       |  156 -
 cpp/src/encoding/plain_decoder.h                   |   59 -
 cpp/src/encoding/plain_encoder.h                   |   68 -
 cpp/src/encoding/ts2diff_decoder.h                 |  330 -
 cpp/src/encoding/ts2diff_encoder.h                 |  350 -
 cpp/src/encoding/zigzag_decoder.h                  |  200 -
 cpp/src/encoding/zigzag_encoder.h                  |  168 -
 cpp/src/file/CMakeLists.txt                        |   24 -
 cpp/src/file/open_file.cc                          |  112 -
 cpp/src/file/open_file.h                           |  137 -
 cpp/src/file/read_file.cc                          |  159 -
 cpp/src/file/read_file.h                           |   66 -
 cpp/src/file/tsfile_io_reader.cc                   |  718 --
 cpp/src/file/tsfile_io_reader.h                    |  137 -
 cpp/src/file/tsfile_io_writer.cc                   |  876 --
 cpp/src/file/tsfile_io_writer.h                    |  221 -
 cpp/src/file/write_file.cc                         |  140 -
 cpp/src/file/write_file.h                          |   61 -
 cpp/src/parser/CMakeLists.txt                      |   22 -
 cpp/src/parser/PathLexer.g4                        |  212 -
 cpp/src/parser/PathParser.g4                       |   67 -
 cpp/src/parser/generated/PathLexer.cpp             |  470 -
 cpp/src/parser/generated/PathLexer.h               |   80 -
 cpp/src/parser/generated/PathParser.cpp            |  850 --
 cpp/src/parser/generated/PathParser.h              |  222 -
 .../parser/generated/PathParserBaseListener.cpp    |   24 -
 cpp/src/parser/generated/PathParserBaseListener.h  |   67 -
 cpp/src/parser/generated/PathParserBaseVisitor.cpp |   24 -
 cpp/src/parser/generated/PathParserBaseVisitor.h   |   69 -
 cpp/src/parser/generated/PathParserListener.cpp    |   24 -
 cpp/src/parser/generated/PathParserListener.h      |   60 -
 cpp/src/parser/generated/PathParserVisitor.cpp     |   24 -
 cpp/src/parser/generated/PathParserVisitor.h       |   57 -
 cpp/src/parser/path_nodes_generator.cpp            |   47 -
 cpp/src/parser/path_nodes_generator.h              |   32 -
 cpp/src/parser/path_parser_error.h                 |   77 -
 cpp/src/parser/path_visitor.cpp                    |  111 -
 cpp/src/parser/path_visitor.h                      |   49 -
 cpp/src/reader/CMakeLists.txt                      |   23 -
 cpp/src/reader/aligned_chunk_reader.cc             |  634 --
 cpp/src/reader/aligned_chunk_reader.h              |  172 -
 cpp/src/reader/bloom_filter.cc                     |  268 -
 cpp/src/reader/bloom_filter.h                      |  128 -
 cpp/src/reader/chunk_reader.cc                     |  492 -
 cpp/src/reader/chunk_reader.h                      |  142 -
 cpp/src/reader/expression.cc                       |  213 -
 cpp/src/reader/expression.h                        |  149 -
 cpp/src/reader/filter/and_filter.h                 |   89 -
 cpp/src/reader/filter/between.h                    |  137 -
 cpp/src/reader/filter/binary_filter.h              |   45 -
 cpp/src/reader/filter/eq.h                         |   72 -
 cpp/src/reader/filter/filter.h                     |   65 -
 cpp/src/reader/filter/filter_type.h                |   51 -
 cpp/src/reader/filter/gt.h                         |   70 -
 cpp/src/reader/filter/gt_eq.h                      |   71 -
 cpp/src/reader/filter/in.h                         |   57 -
 cpp/src/reader/filter/lt.h                         |   69 -
 cpp/src/reader/filter/lt_eq.h                      |   73 -
 cpp/src/reader/filter/not_eq.h                     |   72 -
 cpp/src/reader/filter/object.h                     |  274 -
 cpp/src/reader/filter/or_filter.h                  |  106 -
 cpp/src/reader/filter/time_filter.cc               |   46 -
 cpp/src/reader/filter/time_filter.h                |   53 -
 cpp/src/reader/filter/time_operator.cc             |  311 -
 cpp/src/reader/filter/time_operator.h              |  229 -
 cpp/src/reader/filter/unary_filter.h               |   66 -
 cpp/src/reader/ichunk_reader.h                     |   63 -
 cpp/src/reader/qds_with_timegenerator.cc           |  421 -
 cpp/src/reader/qds_with_timegenerator.h            |  142 -
 cpp/src/reader/qds_without_timegenerator.cc        |  197 -
 cpp/src/reader/qds_without_timegenerator.h         |   71 -
 cpp/src/reader/query_executor.h                    |   63 -
 cpp/src/reader/result_set.h                        |   96 -
 cpp/src/reader/scan_iterator.cc                    |  258 -
 cpp/src/reader/scan_iterator.h                     |  190 -
 cpp/src/reader/tsfile_executor.cc                  |  117 -
 cpp/src/reader/tsfile_executor.h                   |   59 -
 cpp/src/reader/tsfile_reader.cc                    |  169 -
 cpp/src/reader/tsfile_reader.h                     |   64 -
 cpp/src/reader/tsfile_series_scan_iterator.cc      |  159 -
 cpp/src/reader/tsfile_series_scan_iterator.h       |  118 -
 cpp/src/utils/CMakeLists.txt                       |   19 -
 cpp/src/utils/db_utils.h                           |  417 -
 cpp/src/utils/errno_define.h                       |   77 -
 cpp/src/utils/injection.h                          |   68 -
 cpp/src/utils/storage_utils.h                      |   86 -
 cpp/src/utils/util_define.h                        |  145 -
 cpp/src/writer/CMakeLists.txt                      |   24 -
 cpp/src/writer/chunk_writer.cc                     |  166 -
 cpp/src/writer/chunk_writer.h                      |  145 -
 cpp/src/writer/page_writer.cc                      |  200 -
 cpp/src/writer/page_writer.h                       |  194 -
 cpp/src/writer/time_chunk_writer.cc                |  169 -
 cpp/src/writer/time_chunk_writer.h                 |  109 -
 cpp/src/writer/time_page_writer.cc                 |  170 -
 cpp/src/writer/time_page_writer.h                  |  128 -
 cpp/src/writer/tsfile_table_writer.cc              |   41 -
 cpp/src/writer/tsfile_table_writer.h               |   42 -
 cpp/src/writer/tsfile_writer.cc                    |  937 --
 cpp/src/writer/tsfile_writer.h                     |  203 -
 cpp/src/writer/value_chunk_writer.cc               |  177 -
 cpp/src/writer/value_chunk_writer.h                |  131 -
 cpp/src/writer/value_page_writer.cc                |  190 -
 cpp/src/writer/value_page_writer.h                 |  194 -
 cpp/test/CMakeLists.txt                            |  100 -
 cpp/test/common/allocator/alloc_base_test.cc       |   96 -
 cpp/test/common/allocator/byte_stream_test.cc      |  286 -
 cpp/test/common/allocator/my_string_test.cc        |  105 -
 cpp/test/common/allocator/page_arena_test.cc       |   58 -
 cpp/test/common/container/array_test.cc            |  168 -
 cpp/test/common/container/bit_map_test.cc          |   93 -
 cpp/test/common/container/byte_buffer_test.cc      |   69 -
 cpp/test/common/container/list_test.cc             |   95 -
 cpp/test/common/container/murmur_hash3_test.cc     |   57 -
 cpp/test/common/container/simple_vector_test.cc    |   52 -
 cpp/test/common/container/slice_test.cc            |   96 -
 cpp/test/common/container/sorted_array_test.cc     |  157 -
 cpp/test/common/datatype/value_test.cc             |  127 -
 cpp/test/common/record_test.cc                     |  127 -
 cpp/test/common/row_record_test.cc                 |  156 -
 cpp/test/common/schema_test.cc                     |   54 -
 cpp/test/common/statistic_test.cc                  |  225 -
 cpp/test/common/tablet_test.cc                     |   66 -
 cpp/test/common/tsblock/tslock_test.cc             |  153 -
 cpp/test/common/tsblock/tuple_desc_test.cc         |  104 -
 .../tsblock/vector/fixed_length_vector_test.cc     |   75 -
 .../tsblock/vector/variable_length_vector_test.cc  |   75 -
 cpp/test/common/tsfile_common_test.cc              |  478 -
 cpp/test/compress/gzip_compressor_test.cc          |  130 -
 cpp/test/compress/lz4_compressor_test.cc           |  129 -
 cpp/test/compress/lzo_compressor_test.cc           |  129 -
 cpp/test/compress/snappy_compressor_test.cc        |  129 -
 cpp/test/cwrapper/cwrapper_test.cc                 |   47 -
 cpp/test/encoding/bitpack_codec_test.cc            |  289 -
 cpp/test/encoding/dictionary_codec_test.cc         |  101 -
 cpp/test/encoding/gorilla_codec_test.cc            |  110 -
 cpp/test/encoding/inpacker_test.cc                 |   57 -
 cpp/test/encoding/plain_codec_test.cc              |   91 -
 cpp/test/encoding/ts2diff_codec_test.cc            |  103 -
 cpp/test/encoding/zigzag_codec_test.cc             |  136 -
 cpp/test/file/open_file_test.cc                    |  108 -
 cpp/test/file/write_file_test.cc                   |  114 -
 cpp/test/parser/path_name_test.cc                  |  175 -
 cpp/test/reader/tsfile_reader_test.cc              |  236 -
 cpp/test/utils/db_utils_test.cc                    |  218 -
 cpp/test/writer/chunk_writer_test.cc               |   95 -
 cpp/test/writer/page_writer_test.cc                |   91 -
 .../writer/table_view/tsfile_writer_table_test.cc  |  147 -
 cpp/test/writer/time_chunk_writer_test.cc          |   78 -
 cpp/test/writer/time_page_writer_test.cc           |   85 -
 cpp/test/writer/tsfile_writer_test.cc              |  743 --
 cpp/test/writer/value_chunk_writer_test.cc         |   97 -
 cpp/test/writer/value_page_writer_test.cc          |  108 -
 cpp/test_all.sh                                    |   18 -
 cpp/third_party/CMakeLists.txt                     |   24 -
 .../antlr4-cpp-runtime-4/CMakeLists.txt            |  218 -
 cpp/third_party/antlr4-cpp-runtime-4/LICENSE.txt   |   52 -
 cpp/third_party/antlr4-cpp-runtime-4/README.md     |   72 -
 cpp/third_party/antlr4-cpp-runtime-4/VERSION       |    0
 .../antlr4-cpp-runtime-4/cmake/Antlr4Package.md    |  136 -
 .../cmake/ExternalAntlr4Cpp.cmake                  |  158 -
 .../antlr4-cpp-runtime-4/cmake/FindANTLR.cmake     |  124 -
 .../antlr4-cpp-runtime-4/cmake/README.md           |  157 -
 .../cmake/antlr4-generator.cmake.in                |  181 -
 .../cmake/antlr4-runtime.cmake.in                  |   10 -
 .../antlr4-cpp-runtime-4/demo/CMakeLists.txt       |   80 -
 .../antlr4-cpp-runtime-4/demo/Linux/main.cpp       |   38 -
 .../demo/Mac/antlr4-cpp-demo/main.cpp              |   38 -
 .../demo/Mac/antlrcpp Tests/Info.plist             |   24 -
 .../demo/Mac/antlrcpp Tests/InputHandlingTests.mm  |  172 -
 .../demo/Mac/antlrcpp Tests/MiscClassTests.mm      |  388 -
 .../demo/Mac/antlrcpp Tests/antlrcpp_Tests.mm      |   57 -
 .../Mac/antlrcpp-demo.xcodeproj/project.pbxproj    |  609 --
 .../project.xcworkspace/contents.xcworkspacedata   |    7 -
 .../xcshareddata/IDEWorkspaceChecks.plist          |    8 -
 .../xcschemes/antlr4-cpp-demo.xcscheme             |  102 -
 .../xcshareddata/xcschemes/antlrcpp Tests.xcscheme |   56 -
 .../antlr4-cpp-runtime-4/demo/Mac/build.sh         |   43 -
 .../antlr4-cpp-runtime-4/demo/README.md            |   13 -
 .../antlr4-cpp-runtime-4/demo/TLexer.g4            |   86 -
 .../antlr4-cpp-runtime-4/demo/TParser.g4           |  119 -
 .../antlr4-cpp-demo/antlr4-cpp-demo-vs2015.vcxproj |  362 -
 .../antlr4-cpp-demo-vs2015.vcxproj.filters         |   63 -
 .../antlr4-cpp-demo/antlr4-cpp-demo.vcxproj        |  349 -
 .../antlr4-cpp-demo.vcxproj.filters                |   63 -
 .../demo/Windows/antlr4-cpp-demo/main.cpp          |   41 -
 .../demo/Windows/antlr4cpp-vs2013.sln              |   58 -
 .../demo/Windows/antlr4cpp-vs2015.sln              |   58 -
 .../antlr4-cpp-runtime-4/demo/generate.cmd         |   13 -
 .../antlr4-cpp-runtime-4/demo/generate.sh          |   28 -
 .../antlr4-cpp-runtime-4/deploy-macos.sh           |   48 -
 .../antlr4-cpp-runtime-4/deploy-source.sh          |   14 -
 .../antlr4-cpp-runtime-4/deploy-windows.cmd        |   81 -
 .../antlr4-cpp-runtime-4/runtime/CMakeLists.txt    |  165 -
 .../runtime/antlr4cpp-vs2013.vcxproj               |  637 --
 .../runtime/antlr4cpp-vs2013.vcxproj.filters       |  984 --
 .../runtime/antlr4cpp-vs2015.vcxproj               |  652 --
 .../runtime/antlr4cpp-vs2015.vcxproj.filters       |  990 --
 .../runtime/antlr4cpp-vs2017.vcxproj               |  652 --
 .../runtime/antlr4cpp-vs2017.vcxproj.filters       |  990 --
 .../runtime/antlr4cpp-vs2019.vcxproj               |  660 --
 .../runtime/antlr4cpp-vs2019.vcxproj.filters       |  990 --
 .../runtime/antlrcpp-ios/Info.plist                |   26 -
 .../runtime/antlrcpp-ios/antlrcpp_ios.h            |   17 -
 .../runtime/antlrcpp.xcodeproj/project.pbxproj     | 3040 -------
 .../project.xcworkspace/contents.xcworkspacedata   |    7 -
 .../xcshareddata/IDEWorkspaceChecks.plist          |    8 -
 .../xcshareddata/xcschemes/antlr4.xcscheme         |   76 -
 .../xcshareddata/xcschemes/antlr4_ios.xcscheme     |   76 -
 .../xcshareddata/xcschemes/antlr4_static.xcscheme  |   76 -
 .../runtime/src/ANTLRErrorListener.cpp             |   10 -
 .../runtime/src/ANTLRErrorListener.h               |  167 -
 .../runtime/src/ANTLRErrorStrategy.cpp             |   10 -
 .../runtime/src/ANTLRErrorStrategy.h               |  121 -
 .../runtime/src/ANTLRFileStream.cpp                |   29 -
 .../runtime/src/ANTLRFileStream.h                  |   30 -
 .../runtime/src/ANTLRInputStream.cpp               |  169 -
 .../runtime/src/ANTLRInputStream.h                 |   76 -
 .../runtime/src/BailErrorStrategy.cpp              |   61 -
 .../runtime/src/BailErrorStrategy.h                |   59 -
 .../runtime/src/BaseErrorListener.cpp              |   25 -
 .../runtime/src/BaseErrorListener.h                |   36 -
 .../runtime/src/BufferedTokenStream.cpp            |  414 -
 .../runtime/src/BufferedTokenStream.h              |  200 -
 .../runtime/src/CharStream.cpp                     |   11 -
 .../antlr4-cpp-runtime-4/runtime/src/CharStream.h  |   37 -
 .../runtime/src/CommonToken.cpp                    |  195 -
 .../antlr4-cpp-runtime-4/runtime/src/CommonToken.h |  158 -
 .../runtime/src/CommonTokenFactory.cpp             |   39 -
 .../runtime/src/CommonTokenFactory.h               |   74 -
 .../runtime/src/CommonTokenStream.cpp              |   78 -
 .../runtime/src/CommonTokenStream.h                |   79 -
 .../runtime/src/ConsoleErrorListener.cpp           |   15 -
 .../runtime/src/ConsoleErrorListener.h             |   35 -
 .../runtime/src/DefaultErrorStrategy.cpp           |  333 -
 .../runtime/src/DefaultErrorStrategy.h             |  466 -
 .../runtime/src/DiagnosticErrorListener.cpp        |   84 -
 .../runtime/src/DiagnosticErrorListener.h          |   80 -
 .../runtime/src/Exceptions.cpp                     |   64 -
 .../antlr4-cpp-runtime-4/runtime/src/Exceptions.h  |   99 -
 .../runtime/src/FailedPredicateException.cpp       |   51 -
 .../runtime/src/FailedPredicateException.h         |   32 -
 .../runtime/src/InputMismatchException.cpp         |   18 -
 .../runtime/src/InputMismatchException.h           |   24 -
 .../antlr4-cpp-runtime-4/runtime/src/IntStream.cpp |   12 -
 .../antlr4-cpp-runtime-4/runtime/src/IntStream.h   |  224 -
 .../runtime/src/InterpreterRuleContext.cpp         |   19 -
 .../runtime/src/InterpreterRuleContext.h           |   45 -
 .../antlr4-cpp-runtime-4/runtime/src/Lexer.cpp     |  295 -
 .../antlr4-cpp-runtime-4/runtime/src/Lexer.h       |  209 -
 .../runtime/src/LexerInterpreter.cpp               |   75 -
 .../runtime/src/LexerInterpreter.h                 |   52 -
 .../runtime/src/LexerNoViableAltException.cpp      |   36 -
 .../runtime/src/LexerNoViableAltException.h        |   31 -
 .../runtime/src/ListTokenSource.cpp                |   92 -
 .../runtime/src/ListTokenSource.h                  |   88 -
 .../runtime/src/NoViableAltException.cpp           |   46 -
 .../runtime/src/NoViableAltException.h             |   42 -
 .../antlr4-cpp-runtime-4/runtime/src/Parser.cpp    |  648 --
 .../antlr4-cpp-runtime-4/runtime/src/Parser.h      |  467 -
 .../runtime/src/ParserInterpreter.cpp              |  306 -
 .../runtime/src/ParserInterpreter.h                |  179 -
 .../runtime/src/ParserRuleContext.cpp              |  141 -
 .../runtime/src/ParserRuleContext.h                |  147 -
 .../runtime/src/ProxyErrorListener.cpp             |   53 -
 .../runtime/src/ProxyErrorListener.h               |   38 -
 .../runtime/src/RecognitionException.cpp           |   66 -
 .../runtime/src/RecognitionException.h             |   98 -
 .../runtime/src/Recognizer.cpp                     |  167 -
 .../antlr4-cpp-runtime-4/runtime/src/Recognizer.h  |  171 -
 .../runtime/src/RuleContext.cpp                    |  143 -
 .../antlr4-cpp-runtime-4/runtime/src/RuleContext.h |  137 -
 .../runtime/src/RuleContextWithAltNum.cpp          |   27 -
 .../runtime/src/RuleContextWithAltNum.h            |   32 -
 .../runtime/src/RuntimeMetaData.cpp                |   53 -
 .../runtime/src/RuntimeMetaData.h                  |  155 -
 .../antlr4-cpp-runtime-4/runtime/src/Token.cpp     |    9 -
 .../antlr4-cpp-runtime-4/runtime/src/Token.h       |  124 -
 .../runtime/src/TokenFactory.h                     |   30 -
 .../runtime/src/TokenSource.cpp                    |    9 -
 .../antlr4-cpp-runtime-4/runtime/src/TokenSource.h |   85 -
 .../runtime/src/TokenStream.cpp                    |   11 -
 .../antlr4-cpp-runtime-4/runtime/src/TokenStream.h |  137 -
 .../runtime/src/TokenStreamRewriter.cpp            |  425 -
 .../runtime/src/TokenStreamRewriter.h              |  300 -
 .../runtime/src/UnbufferedCharStream.cpp           |  211 -
 .../runtime/src/UnbufferedCharStream.h             |  123 -
 .../runtime/src/UnbufferedTokenStream.cpp          |  270 -
 .../runtime/src/UnbufferedTokenStream.h            |  115 -
 .../runtime/src/Vocabulary.cpp                     |   96 -
 .../antlr4-cpp-runtime-4/runtime/src/Vocabulary.h  |  192 -
 .../runtime/src/WritableToken.cpp                  |    9 -
 .../runtime/src/WritableToken.h                    |   23 -
 .../runtime/src/antlr4-common.h                    |  139 -
 .../runtime/src/antlr4-runtime.h                   |  168 -
 .../antlr4-cpp-runtime-4/runtime/src/atn/ATN.cpp   |  209 -
 .../antlr4-cpp-runtime-4/runtime/src/atn/ATN.h     |  124 -
 .../runtime/src/atn/ATNConfig.cpp                  |  111 -
 .../runtime/src/atn/ATNConfig.h                    |  154 -
 .../runtime/src/atn/ATNConfigSet.cpp               |  228 -
 .../runtime/src/atn/ATNConfigSet.h                 |  110 -
 .../runtime/src/atn/ATNDeserializationOptions.cpp  |   64 -
 .../runtime/src/atn/ATNDeserializationOptions.h    |   50 -
 .../runtime/src/atn/ATNDeserializer.cpp            |  756 --
 .../runtime/src/atn/ATNDeserializer.h              |   91 -
 .../runtime/src/atn/ATNSerializer.cpp              |  621 --
 .../runtime/src/atn/ATNSerializer.h                |   61 -
 .../runtime/src/atn/ATNSimulator.cpp               |   63 -
 .../runtime/src/atn/ATNSimulator.h                 |   87 -
 .../runtime/src/atn/ATNState.cpp                   |   72 -
 .../runtime/src/atn/ATNState.h                     |  147 -
 .../antlr4-cpp-runtime-4/runtime/src/atn/ATNType.h |   20 -
 .../src/atn/AbstractPredicateTransition.cpp        |   14 -
 .../runtime/src/atn/AbstractPredicateTransition.h  |   24 -
 .../runtime/src/atn/ActionTransition.cpp           |   33 -
 .../runtime/src/atn/ActionTransition.h             |   33 -
 .../runtime/src/atn/AmbiguityInfo.cpp              |   16 -
 .../runtime/src/atn/AmbiguityInfo.h                |   68 -
 .../runtime/src/atn/ArrayPredictionContext.cpp     |   82 -
 .../runtime/src/atn/ArrayPredictionContext.h       |   43 -
 .../runtime/src/atn/AtomTransition.cpp             |   31 -
 .../runtime/src/atn/AtomTransition.h               |   30 -
 .../runtime/src/atn/BasicBlockStartState.cpp       |   12 -
 .../runtime/src/atn/BasicBlockStartState.h         |   22 -
 .../runtime/src/atn/BasicState.cpp                 |   12 -
 .../runtime/src/atn/BasicState.h                   |   21 -
 .../runtime/src/atn/BlockEndState.cpp              |   15 -
 .../runtime/src/atn/BlockEndState.h                |   24 -
 .../runtime/src/atn/BlockStartState.cpp            |    9 -
 .../runtime/src/atn/BlockStartState.h              |   21 -
 .../runtime/src/atn/ContextSensitivityInfo.cpp     |   14 -
 .../runtime/src/atn/ContextSensitivityInfo.h       |   47 -
 .../runtime/src/atn/DecisionEventInfo.cpp          |   14 -
 .../runtime/src/atn/DecisionEventInfo.h            |   70 -
 .../runtime/src/atn/DecisionInfo.cpp               |   25 -
 .../runtime/src/atn/DecisionInfo.h                 |  227 -
 .../runtime/src/atn/DecisionState.cpp              |   17 -
 .../runtime/src/atn/DecisionState.h                |   30 -
 .../runtime/src/atn/EmptyPredictionContext.cpp     |   35 -
 .../runtime/src/atn/EmptyPredictionContext.h       |   27 -
 .../runtime/src/atn/EpsilonTransition.cpp          |   35 -
 .../runtime/src/atn/EpsilonTransition.h            |   39 -
 .../runtime/src/atn/ErrorInfo.cpp                  |   15 -
 .../runtime/src/atn/ErrorInfo.h                    |   43 -
 .../runtime/src/atn/LL1Analyzer.cpp                |  156 -
 .../runtime/src/atn/LL1Analyzer.h                  |  115 -
 .../runtime/src/atn/LexerATNConfig.cpp             |   84 -
 .../runtime/src/atn/LexerATNConfig.h               |   44 -
 .../runtime/src/atn/LexerATNSimulator.cpp          |  626 --
 .../runtime/src/atn/LexerATNSimulator.h            |  219 -
 .../runtime/src/atn/LexerAction.cpp                |    9 -
 .../runtime/src/atn/LexerAction.h                  |   66 -
 .../runtime/src/atn/LexerActionExecutor.cpp        |  107 -
 .../runtime/src/atn/LexerActionExecutor.h          |  115 -
 .../runtime/src/atn/LexerActionType.h              |   55 -
 .../runtime/src/atn/LexerChannelAction.cpp         |   55 -
 .../runtime/src/atn/LexerChannelAction.h           |   63 -
 .../runtime/src/atn/LexerCustomAction.cpp          |   62 -
 .../runtime/src/atn/LexerCustomAction.h            |   87 -
 .../runtime/src/atn/LexerIndexedCustomAction.cpp   |   63 -
 .../runtime/src/atn/LexerIndexedCustomAction.h     |   82 -
 .../runtime/src/atn/LexerModeAction.cpp            |   56 -
 .../runtime/src/atn/LexerModeAction.h              |   61 -
 .../runtime/src/atn/LexerMoreAction.cpp            |   47 -
 .../runtime/src/atn/LexerMoreAction.h              |   57 -
 .../runtime/src/atn/LexerPopModeAction.cpp         |   47 -
 .../runtime/src/atn/LexerPopModeAction.h           |   57 -
 .../runtime/src/atn/LexerPushModeAction.cpp        |   56 -
 .../runtime/src/atn/LexerPushModeAction.h          |   61 -
 .../runtime/src/atn/LexerSkipAction.cpp            |   47 -
 .../runtime/src/atn/LexerSkipAction.h              |   55 -
 .../runtime/src/atn/LexerTypeAction.cpp            |   56 -
 .../runtime/src/atn/LexerTypeAction.h              |   55 -
 .../runtime/src/atn/LookaheadEventInfo.cpp         |   16 -
 .../runtime/src/atn/LookaheadEventInfo.h           |   42 -
 .../runtime/src/atn/LoopEndState.cpp               |   12 -
 .../runtime/src/atn/LoopEndState.h                 |   22 -
 .../antlr4-cpp-runtime-4/runtime/src/atn/Makefile  |   67 -
 .../runtime/src/atn/NotSetTransition.cpp           |   27 -
 .../runtime/src/atn/NotSetTransition.h             |   25 -
 .../runtime/src/atn/OrderedATNConfigSet.cpp        |   12 -
 .../runtime/src/atn/OrderedATNConfigSet.h          |   20 -
 .../runtime/src/atn/ParseInfo.cpp                  |  102 -
 .../runtime/src/atn/ParseInfo.h                    |  102 -
 .../runtime/src/atn/ParserATNSimulator.cpp         | 1370 ---
 .../runtime/src/atn/ParserATNSimulator.h           |  904 --
 .../runtime/src/atn/PlusBlockStartState.cpp        |   12 -
 .../runtime/src/atn/PlusBlockStartState.h          |   25 -
 .../runtime/src/atn/PlusLoopbackState.cpp          |   12 -
 .../runtime/src/atn/PlusLoopbackState.h            |   22 -
 .../src/atn/PrecedencePredicateTransition.cpp      |   32 -
 .../src/atn/PrecedencePredicateTransition.h        |   29 -
 .../runtime/src/atn/PredicateEvalInfo.cpp          |   17 -
 .../runtime/src/atn/PredicateEvalInfo.h            |   62 -
 .../runtime/src/atn/PredicateTransition.cpp        |   34 -
 .../runtime/src/atn/PredicateTransition.h          |   39 -
 .../runtime/src/atn/PredictionContext.cpp          |  662 --
 .../runtime/src/atn/PredictionContext.h            |  268 -
 .../runtime/src/atn/PredictionMode.cpp             |  201 -
 .../runtime/src/atn/PredictionMode.h               |  436 -
 .../runtime/src/atn/ProfilingATNSimulator.cpp      |  179 -
 .../runtime/src/atn/ProfilingATNSimulator.h        |   60 -
 .../runtime/src/atn/RangeTransition.cpp            |   30 -
 .../runtime/src/atn/RangeTransition.h              |   29 -
 .../runtime/src/atn/RuleStartState.cpp             |   16 -
 .../runtime/src/atn/RuleStartState.h               |   25 -
 .../runtime/src/atn/RuleStopState.cpp              |   12 -
 .../runtime/src/atn/RuleStopState.h                |   25 -
 .../runtime/src/atn/RuleTransition.cpp             |   37 -
 .../runtime/src/atn/RuleTransition.h               |   40 -
 .../runtime/src/atn/SemanticContext.cpp            |  377 -
 .../runtime/src/atn/SemanticContext.h              |  222 -
 .../runtime/src/atn/SetTransition.cpp              |   32 -
 .../runtime/src/atn/SetTransition.h                |   30 -
 .../runtime/src/atn/SingletonPredictionContext.cpp |   81 -
 .../runtime/src/atn/SingletonPredictionContext.h   |   36 -
 .../runtime/src/atn/StarBlockStartState.cpp        |   12 -
 .../runtime/src/atn/StarBlockStartState.h          |   21 -
 .../runtime/src/atn/StarLoopEntryState.cpp         |   15 -
 .../runtime/src/atn/StarLoopEntryState.h           |   35 -
 .../runtime/src/atn/StarLoopbackState.cpp          |   19 -
 .../runtime/src/atn/StarLoopbackState.h            |   21 -
 .../runtime/src/atn/TokensStartState.cpp           |   12 -
 .../runtime/src/atn/TokensStartState.h             |   21 -
 .../runtime/src/atn/Transition.cpp                 |   44 -
 .../runtime/src/atn/Transition.h                   |   76 -
 .../runtime/src/atn/WildcardTransition.cpp         |   25 -
 .../runtime/src/atn/WildcardTransition.h           |   25 -
 .../antlr4-cpp-runtime-4/runtime/src/dfa/DFA.cpp   |  127 -
 .../antlr4-cpp-runtime-4/runtime/src/dfa/DFA.h     |   91 -
 .../runtime/src/dfa/DFASerializer.cpp              |   67 -
 .../runtime/src/dfa/DFASerializer.h                |   32 -
 .../runtime/src/dfa/DFAState.cpp                   |  100 -
 .../runtime/src/dfa/DFAState.h                     |  144 -
 .../runtime/src/dfa/LexerDFASerializer.cpp         |   20 -
 .../runtime/src/dfa/LexerDFASerializer.h           |   23 -
 .../runtime/src/misc/InterpreterDataReader.cpp     |  124 -
 .../runtime/src/misc/InterpreterDataReader.h       |   31 -
 .../runtime/src/misc/Interval.cpp                  |   89 -
 .../runtime/src/misc/Interval.h                    |   84 -
 .../runtime/src/misc/IntervalSet.cpp               |  521 --
 .../runtime/src/misc/IntervalSet.h                 |  198 -
 .../runtime/src/misc/MurmurHash.cpp                |  134 -
 .../runtime/src/misc/MurmurHash.h                  |   82 -
 .../runtime/src/misc/Predicate.cpp                 |    4 -
 .../runtime/src/misc/Predicate.h                   |   21 -
 .../runtime/src/support/Any.cpp                    |   13 -
 .../antlr4-cpp-runtime-4/runtime/src/support/Any.h |  180 -
 .../runtime/src/support/Arrays.cpp                 |   43 -
 .../runtime/src/support/Arrays.h                   |  110 -
 .../runtime/src/support/BitSet.h                   |   76 -
 .../runtime/src/support/CPPUtils.cpp               |  245 -
 .../runtime/src/support/CPPUtils.h                 |   82 -
 .../runtime/src/support/Casts.h                    |   33 -
 .../runtime/src/support/Declarations.h             |  163 -
 .../runtime/src/support/Guid.cpp                   |  270 -
 .../runtime/src/support/Guid.h                     |  154 -
 .../runtime/src/support/StringUtils.cpp            |   46 -
 .../runtime/src/support/StringUtils.h              |   76 -
 .../runtime/src/tree/AbstractParseTreeVisitor.h    |  128 -
 .../runtime/src/tree/ErrorNode.cpp                 |    9 -
 .../runtime/src/tree/ErrorNode.h                   |   19 -
 .../runtime/src/tree/ErrorNodeImpl.cpp             |   23 -
 .../runtime/src/tree/ErrorNodeImpl.h               |   33 -
 .../runtime/src/tree/IterativeParseTreeWalker.cpp  |   71 -
 .../runtime/src/tree/IterativeParseTreeWalker.h    |   53 -
 .../runtime/src/tree/ParseTree.cpp                 |   15 -
 .../runtime/src/tree/ParseTree.h                   |  102 -
 .../runtime/src/tree/ParseTreeListener.cpp         |    9 -
 .../runtime/src/tree/ParseTreeListener.h           |   39 -
 .../runtime/src/tree/ParseTreeProperty.h           |   50 -
 .../runtime/src/tree/ParseTreeVisitor.cpp          |    9 -
 .../runtime/src/tree/ParseTreeVisitor.h            |   57 -
 .../runtime/src/tree/ParseTreeWalker.cpp           |   49 -
 .../runtime/src/tree/ParseTreeWalker.h             |   55 -
 .../runtime/src/tree/TerminalNode.cpp              |    9 -
 .../runtime/src/tree/TerminalNode.h                |   32 -
 .../runtime/src/tree/TerminalNodeImpl.cpp          |   57 -
 .../runtime/src/tree/TerminalNodeImpl.h            |   33 -
 .../runtime/src/tree/Trees.cpp                     |  241 -
 .../antlr4-cpp-runtime-4/runtime/src/tree/Trees.h  |   78 -
 .../runtime/src/tree/pattern/Chunk.cpp             |    9 -
 .../runtime/src/tree/pattern/Chunk.h               |   44 -
 .../runtime/src/tree/pattern/ParseTreeMatch.cpp    |   69 -
 .../runtime/src/tree/pattern/ParseTreeMatch.h      |  132 -
 .../runtime/src/tree/pattern/ParseTreePattern.cpp  |   64 -
 .../runtime/src/tree/pattern/ParseTreePattern.h    |  105 -
 .../src/tree/pattern/ParseTreePatternMatcher.cpp   |  371 -
 .../src/tree/pattern/ParseTreePatternMatcher.h     |  185 -
 .../runtime/src/tree/pattern/RuleTagToken.cpp      |   77 -
 .../runtime/src/tree/pattern/RuleTagToken.h        |  117 -
 .../runtime/src/tree/pattern/TagChunk.cpp          |   39 -
 .../runtime/src/tree/pattern/TagChunk.h            |   86 -
 .../runtime/src/tree/pattern/TextChunk.cpp         |   28 -
 .../runtime/src/tree/pattern/TextChunk.h           |   51 -
 .../runtime/src/tree/pattern/TokenTagToken.cpp     |   36 -
 .../runtime/src/tree/pattern/TokenTagToken.h       |   80 -
 .../runtime/src/tree/xpath/XPath.cpp               |  154 -
 .../runtime/src/tree/xpath/XPath.h                 |   86 -
 .../runtime/src/tree/xpath/XPathElement.cpp        |   31 -
 .../runtime/src/tree/xpath/XPathElement.h          |   40 -
 .../runtime/src/tree/xpath/XPathLexer.cpp          |  173 -
 .../runtime/src/tree/xpath/XPathLexer.g4           |   64 -
 .../runtime/src/tree/xpath/XPathLexer.h            |   56 -
 .../runtime/src/tree/xpath/XPathLexer.tokens       |   12 -
 .../src/tree/xpath/XPathLexerErrorListener.cpp     |   13 -
 .../src/tree/xpath/XPathLexerErrorListener.h       |   22 -
 .../src/tree/xpath/XPathRuleAnywhereElement.cpp    |   20 -
 .../src/tree/xpath/XPathRuleAnywhereElement.h      |   27 -
 .../runtime/src/tree/xpath/XPathRuleElement.cpp    |   30 -
 .../runtime/src/tree/xpath/XPathRuleElement.h      |   26 -
 .../src/tree/xpath/XPathTokenAnywhereElement.cpp   |   20 -
 .../src/tree/xpath/XPathTokenAnywhereElement.h     |   25 -
 .../runtime/src/tree/xpath/XPathTokenElement.cpp   |   33 -
 .../runtime/src/tree/xpath/XPathTokenElement.h     |   26 -
 .../tree/xpath/XPathWildcardAnywhereElement.cpp    |   23 -
 .../src/tree/xpath/XPathWildcardAnywhereElement.h  |   23 -
 .../src/tree/xpath/XPathWildcardElement.cpp        |   24 -
 .../runtime/src/tree/xpath/XPathWildcardElement.h  |   23 -
 cpp/third_party/google_snappy/AUTHORS              |    1 -
 cpp/third_party/google_snappy/CMakeLists.txt       |  439 -
 cpp/third_party/google_snappy/COPYING              |   54 -
 cpp/third_party/google_snappy/README.md            |  165 -
 .../google_snappy/cmake/SnappyConfig.cmake.in      |   33 -
 cpp/third_party/google_snappy/cmake/config.h.in    |   69 -
 cpp/third_party/google_snappy/snappy-internal.h    |  424 -
 cpp/third_party/google_snappy/snappy-sinksource.cc |  121 -
 cpp/third_party/google_snappy/snappy-sinksource.h  |  182 -
 .../google_snappy/snappy-stubs-internal.cc         |   42 -
 .../google_snappy/snappy-stubs-internal.h          |  531 --
 .../google_snappy/snappy-stubs-public.h.in         |   63 -
 cpp/third_party/google_snappy/snappy.cc            | 2646 ------
 cpp/third_party/google_snappy/snappy.h             |  257 -
 cpp/third_party/lz4/CMakeLists.txt                 |    3 -
 cpp/third_party/lz4/lz4.c                          | 3162 -------
 cpp/third_party/lz4/lz4.h                          | 1000 ---
 cpp/third_party/lzokay/CMakeLists.txt              |    3 -
 cpp/third_party/lzokay/LICENSE                     |   22 -
 cpp/third_party/lzokay/lzokay.cpp                  |  647 --
 cpp/third_party/lzokay/lzokay.hpp                  |   79 -
 cpp/third_party/zlib-1.2.13/CMakeLists.txt         |  192 -
 cpp/third_party/zlib-1.2.13/ChangeLog              | 1590 ----
 cpp/third_party/zlib-1.2.13/FAQ                    |  368 -
 cpp/third_party/zlib-1.2.13/INDEX                  |   68 -
 cpp/third_party/zlib-1.2.13/LICENSE                |   22 -
 cpp/third_party/zlib-1.2.13/Makefile               |    5 -
 cpp/third_party/zlib-1.2.13/Makefile.in            |  404 -
 cpp/third_party/zlib-1.2.13/README                 |  118 -
 cpp/third_party/zlib-1.2.13/adler32.c              |  186 -
 cpp/third_party/zlib-1.2.13/amiga/Makefile.pup     |   69 -
 cpp/third_party/zlib-1.2.13/amiga/Makefile.sas     |   68 -
 cpp/third_party/zlib-1.2.13/compress.c             |   86 -
 cpp/third_party/zlib-1.2.13/configure              |  922 --
 cpp/third_party/zlib-1.2.13/contrib/README.contrib |   57 -
 .../zlib-1.2.13/contrib/ada/buffer_demo.adb        |  106 -
 cpp/third_party/zlib-1.2.13/contrib/ada/mtest.adb  |  156 -
 cpp/third_party/zlib-1.2.13/contrib/ada/read.adb   |  156 -
 cpp/third_party/zlib-1.2.13/contrib/ada/readme.txt |   65 -
 cpp/third_party/zlib-1.2.13/contrib/ada/test.adb   |  463 -
 .../zlib-1.2.13/contrib/ada/zlib-streams.adb       |  225 -
 .../zlib-1.2.13/contrib/ada/zlib-streams.ads       |  114 -
 .../zlib-1.2.13/contrib/ada/zlib-thin.adb          |  141 -
 .../zlib-1.2.13/contrib/ada/zlib-thin.ads          |  450 -
 cpp/third_party/zlib-1.2.13/contrib/ada/zlib.adb   |  701 --
 cpp/third_party/zlib-1.2.13/contrib/ada/zlib.ads   |  328 -
 cpp/third_party/zlib-1.2.13/contrib/ada/zlib.gpr   |   20 -
 cpp/third_party/zlib-1.2.13/contrib/blast/Makefile |    8 -
 cpp/third_party/zlib-1.2.13/contrib/blast/README   |    4 -
 cpp/third_party/zlib-1.2.13/contrib/blast/blast.c  |  466 -
 cpp/third_party/zlib-1.2.13/contrib/blast/blast.h  |   83 -
 cpp/third_party/zlib-1.2.13/contrib/blast/test.pk  |  Bin 8 -> 0 bytes
 cpp/third_party/zlib-1.2.13/contrib/blast/test.txt |    1 -
 .../zlib-1.2.13/contrib/delphi/ZLib.pas            |  557 --
 .../zlib-1.2.13/contrib/delphi/ZLibConst.pas       |   11 -
 .../zlib-1.2.13/contrib/delphi/readme.txt          |   76 -
 .../zlib-1.2.13/contrib/delphi/zlibd32.mak         |   99 -
 .../zlib-1.2.13/contrib/dotzlib/DotZLib.build      |   33 -
 .../zlib-1.2.13/contrib/dotzlib/DotZLib.chm        |  Bin 72726 -> 0 bytes
 .../zlib-1.2.13/contrib/dotzlib/DotZLib.sln        |   21 -
 .../contrib/dotzlib/DotZLib/AssemblyInfo.cs        |   58 -
 .../contrib/dotzlib/DotZLib/ChecksumImpl.cs        |  202 -
 .../contrib/dotzlib/DotZLib/CircularBuffer.cs      |   83 -
 .../contrib/dotzlib/DotZLib/CodecBase.cs           |  198 -
 .../contrib/dotzlib/DotZLib/Deflater.cs            |  106 -
 .../zlib-1.2.13/contrib/dotzlib/DotZLib/DotZLib.cs |  288 -
 .../contrib/dotzlib/DotZLib/DotZLib.csproj         |  141 -
 .../contrib/dotzlib/DotZLib/GZipStream.cs          |  301 -
 .../contrib/dotzlib/DotZLib/Inflater.cs            |  105 -
 .../contrib/dotzlib/DotZLib/UnitTests.cs           |  274 -
 .../zlib-1.2.13/contrib/dotzlib/LICENSE_1_0.txt    |   23 -
 .../zlib-1.2.13/contrib/dotzlib/readme.txt         |   58 -
 .../zlib-1.2.13/contrib/gcc_gvmat64/gvmat64.S      |  574 --
 .../zlib-1.2.13/contrib/infback9/README            |    1 -
 .../zlib-1.2.13/contrib/infback9/infback9.c        |  615 --
 .../zlib-1.2.13/contrib/infback9/infback9.h        |   37 -
 .../zlib-1.2.13/contrib/infback9/inffix9.h         |  107 -
 .../zlib-1.2.13/contrib/infback9/inflate9.h        |   47 -
 .../zlib-1.2.13/contrib/infback9/inftree9.c        |  324 -
 .../zlib-1.2.13/contrib/infback9/inftree9.h        |   61 -
 .../zlib-1.2.13/contrib/iostream/test.cpp          |   24 -
 .../zlib-1.2.13/contrib/iostream/zfstream.cpp      |  329 -
 .../zlib-1.2.13/contrib/iostream/zfstream.h        |  128 -
 .../zlib-1.2.13/contrib/iostream2/zstream.h        |  307 -
 .../zlib-1.2.13/contrib/iostream2/zstream_test.cpp |   25 -
 .../zlib-1.2.13/contrib/iostream3/README           |   35 -
 cpp/third_party/zlib-1.2.13/contrib/iostream3/TODO |   17 -
 .../zlib-1.2.13/contrib/iostream3/test.cc          |   50 -
 .../zlib-1.2.13/contrib/iostream3/zfstream.cc      |  479 -
 .../zlib-1.2.13/contrib/iostream3/zfstream.h       |  466 -
 .../zlib-1.2.13/contrib/minizip/Makefile           |   29 -
 .../zlib-1.2.13/contrib/minizip/Makefile.am        |   45 -
 .../contrib/minizip/MiniZip64_Changes.txt          |    6 -
 .../zlib-1.2.13/contrib/minizip/MiniZip64_info.txt |   74 -
 .../zlib-1.2.13/contrib/minizip/configure.ac       |   32 -
 .../zlib-1.2.13/contrib/minizip/crypt.h            |  132 -
 .../zlib-1.2.13/contrib/minizip/ioapi.c            |  257 -
 .../zlib-1.2.13/contrib/minizip/ioapi.h            |  210 -
 .../zlib-1.2.13/contrib/minizip/iowin32.c          |  467 -
 .../zlib-1.2.13/contrib/minizip/iowin32.h          |   28 -
 .../zlib-1.2.13/contrib/minizip/make_vms.com       |   25 -
 .../zlib-1.2.13/contrib/minizip/miniunz.c          |  659 --
 .../zlib-1.2.13/contrib/minizip/miniunzip.1        |   63 -
 .../zlib-1.2.13/contrib/minizip/minizip.1          |   46 -
 .../zlib-1.2.13/contrib/minizip/minizip.c          |  521 --
 .../zlib-1.2.13/contrib/minizip/minizip.pc.in      |   12 -
 .../zlib-1.2.13/contrib/minizip/mztools.c          |  291 -
 .../zlib-1.2.13/contrib/minizip/mztools.h          |   37 -
 .../zlib-1.2.13/contrib/minizip/unzip.c            | 2130 -----
 .../zlib-1.2.13/contrib/minizip/unzip.h            |  437 -
 cpp/third_party/zlib-1.2.13/contrib/minizip/zip.c  | 2002 -----
 cpp/third_party/zlib-1.2.13/contrib/minizip/zip.h  |  367 -
 .../zlib-1.2.13/contrib/pascal/example.pas         |  599 --
 .../zlib-1.2.13/contrib/pascal/readme.txt          |   76 -
 .../zlib-1.2.13/contrib/pascal/zlibd32.mak         |   99 -
 .../zlib-1.2.13/contrib/pascal/zlibpas.pas         |  276 -
 cpp/third_party/zlib-1.2.13/contrib/puff/Makefile  |   42 -
 cpp/third_party/zlib-1.2.13/contrib/puff/README    |   63 -
 cpp/third_party/zlib-1.2.13/contrib/puff/puff.c    |  840 --
 cpp/third_party/zlib-1.2.13/contrib/puff/puff.h    |   35 -
 .../zlib-1.2.13/contrib/puff/pufftest.c            |  165 -
 cpp/third_party/zlib-1.2.13/contrib/puff/zeros.raw |  Bin 2517 -> 0 bytes
 .../zlib-1.2.13/contrib/testzlib/testzlib.c        |  275 -
 .../zlib-1.2.13/contrib/testzlib/testzlib.txt      |   10 -
 cpp/third_party/zlib-1.2.13/contrib/untgz/Makefile |   14 -
 .../zlib-1.2.13/contrib/untgz/Makefile.msc         |   17 -
 cpp/third_party/zlib-1.2.13/contrib/untgz/untgz.c  |  674 --
 .../zlib-1.2.13/contrib/vstudio/readme.txt         |   75 -
 .../contrib/vstudio/vc10/miniunz.vcxproj           |  310 -
 .../contrib/vstudio/vc10/miniunz.vcxproj.filters   |   22 -
 .../contrib/vstudio/vc10/minizip.vcxproj           |  307 -
 .../contrib/vstudio/vc10/minizip.vcxproj.filters   |   22 -
 .../contrib/vstudio/vc10/testzlib.vcxproj          |  412 -
 .../contrib/vstudio/vc10/testzlib.vcxproj.filters  |   55 -
 .../contrib/vstudio/vc10/testzlibdll.vcxproj       |  310 -
 .../vstudio/vc10/testzlibdll.vcxproj.filters       |   22 -
 .../zlib-1.2.13/contrib/vstudio/vc10/zlib.rc       |   32 -
 .../contrib/vstudio/vc10/zlibstat.vcxproj          |  449 -
 .../contrib/vstudio/vc10/zlibstat.vcxproj.filters  |   74 -
 .../zlib-1.2.13/contrib/vstudio/vc10/zlibvc.def    |  158 -
 .../zlib-1.2.13/contrib/vstudio/vc10/zlibvc.sln    |  135 -
 .../contrib/vstudio/vc10/zlibvc.vcxproj            |  633 --
 .../contrib/vstudio/vc10/zlibvc.vcxproj.filters    |  115 -
 .../contrib/vstudio/vc11/miniunz.vcxproj           |  314 -
 .../contrib/vstudio/vc11/minizip.vcxproj           |  311 -
 .../contrib/vstudio/vc11/testzlib.vcxproj          |  418 -
 .../contrib/vstudio/vc11/testzlibdll.vcxproj       |  314 -
 .../zlib-1.2.13/contrib/vstudio/vc11/zlib.rc       |   32 -
 .../contrib/vstudio/vc11/zlibstat.vcxproj          |  456 -
 .../zlib-1.2.13/contrib/vstudio/vc11/zlibvc.def    |  158 -
 .../zlib-1.2.13/contrib/vstudio/vc11/zlibvc.sln    |  117 -
 .../contrib/vstudio/vc11/zlibvc.vcxproj            |  664 --
 .../contrib/vstudio/vc12/miniunz.vcxproj           |  316 -
 .../contrib/vstudio/vc12/minizip.vcxproj           |  313 -
 .../contrib/vstudio/vc12/testzlib.vcxproj          |  422 -
 .../contrib/vstudio/vc12/testzlibdll.vcxproj       |  316 -
 .../zlib-1.2.13/contrib/vstudio/vc12/zlib.rc       |   32 -
 .../contrib/vstudio/vc12/zlibstat.vcxproj          |  459 -
 .../zlib-1.2.13/contrib/vstudio/vc12/zlibvc.def    |  158 -
 .../zlib-1.2.13/contrib/vstudio/vc12/zlibvc.sln    |  119 -
 .../contrib/vstudio/vc12/zlibvc.vcxproj            |  668 --
 .../contrib/vstudio/vc14/miniunz.vcxproj           |  316 -
 .../contrib/vstudio/vc14/minizip.vcxproj           |  313 -
 .../contrib/vstudio/vc14/testzlib.vcxproj          |  422 -
 .../contrib/vstudio/vc14/testzlibdll.vcxproj       |  316 -
 .../zlib-1.2.13/contrib/vstudio/vc14/zlib.rc       |   32 -
 .../contrib/vstudio/vc14/zlibstat.vcxproj          |  459 -
 .../zlib-1.2.13/contrib/vstudio/vc14/zlibvc.def    |  158 -
 .../zlib-1.2.13/contrib/vstudio/vc14/zlibvc.sln    |  119 -
 .../contrib/vstudio/vc14/zlibvc.vcxproj            |  668 --
 .../zlib-1.2.13/contrib/vstudio/vc9/miniunz.vcproj |  565 --
 .../zlib-1.2.13/contrib/vstudio/vc9/minizip.vcproj |  562 --
 .../contrib/vstudio/vc9/testzlib.vcproj            |  796 --
 .../contrib/vstudio/vc9/testzlibdll.vcproj         |  565 --
 .../zlib-1.2.13/contrib/vstudio/vc9/zlib.rc        |   32 -
 .../contrib/vstudio/vc9/zlibstat.vcproj            |  781 --
 .../zlib-1.2.13/contrib/vstudio/vc9/zlibvc.def     |  158 -
 .../zlib-1.2.13/contrib/vstudio/vc9/zlibvc.sln     |  144 -
 .../zlib-1.2.13/contrib/vstudio/vc9/zlibvc.vcproj  | 1100 ---
 cpp/third_party/zlib-1.2.13/crc32.c                | 1125 ---
 cpp/third_party/zlib-1.2.13/crc32.h                | 9446 --------------------
 cpp/third_party/zlib-1.2.13/deflate.c              | 2217 -----
 cpp/third_party/zlib-1.2.13/deflate.h              |  346 -
 cpp/third_party/zlib-1.2.13/doc/algorithm.txt      |  209 -
 cpp/third_party/zlib-1.2.13/doc/crc-doc.1.0.pdf    |  Bin 776142 -> 0 bytes
 cpp/third_party/zlib-1.2.13/doc/rfc1950.txt        |  619 --
 cpp/third_party/zlib-1.2.13/doc/rfc1951.txt        |  955 --
 cpp/third_party/zlib-1.2.13/doc/rfc1952.txt        |  675 --
 cpp/third_party/zlib-1.2.13/doc/txtvsbin.txt       |  107 -
 .../zlib-1.2.13/examples/README.examples           |   54 -
 cpp/third_party/zlib-1.2.13/examples/enough.c      |  597 --
 cpp/third_party/zlib-1.2.13/examples/fitblk.c      |  233 -
 cpp/third_party/zlib-1.2.13/examples/gun.c         |  702 --
 cpp/third_party/zlib-1.2.13/examples/gzappend.c    |  504 --
 cpp/third_party/zlib-1.2.13/examples/gzjoin.c      |  449 -
 cpp/third_party/zlib-1.2.13/examples/gzlog.c       | 1061 ---
 cpp/third_party/zlib-1.2.13/examples/gzlog.h       |   91 -
 cpp/third_party/zlib-1.2.13/examples/gznorm.c      |  470 -
 cpp/third_party/zlib-1.2.13/examples/zlib_how.html |  545 --
 cpp/third_party/zlib-1.2.13/examples/zpipe.c       |  205 -
 cpp/third_party/zlib-1.2.13/examples/zran.c        |  479 -
 cpp/third_party/zlib-1.2.13/examples/zran.h        |   40 -
 cpp/third_party/zlib-1.2.13/gzclose.c              |   25 -
 cpp/third_party/zlib-1.2.13/gzguts.h               |  219 -
 cpp/third_party/zlib-1.2.13/gzlib.c                |  639 --
 cpp/third_party/zlib-1.2.13/gzread.c               |  650 --
 cpp/third_party/zlib-1.2.13/gzwrite.c              |  677 --
 cpp/third_party/zlib-1.2.13/infback.c              |  644 --
 cpp/third_party/zlib-1.2.13/inffast.c              |  323 -
 cpp/third_party/zlib-1.2.13/inffast.h              |   11 -
 cpp/third_party/zlib-1.2.13/inffixed.h             |   94 -
 cpp/third_party/zlib-1.2.13/inflate.c              | 1595 ----
 cpp/third_party/zlib-1.2.13/inflate.h              |  126 -
 cpp/third_party/zlib-1.2.13/inftrees.c             |  304 -
 cpp/third_party/zlib-1.2.13/inftrees.h             |   62 -
 cpp/third_party/zlib-1.2.13/make_vms.com           |  867 --
 cpp/third_party/zlib-1.2.13/msdos/Makefile.bor     |  115 -
 cpp/third_party/zlib-1.2.13/msdos/Makefile.dj2     |  104 -
 cpp/third_party/zlib-1.2.13/msdos/Makefile.emx     |   69 -
 cpp/third_party/zlib-1.2.13/msdos/Makefile.msc     |  112 -
 cpp/third_party/zlib-1.2.13/msdos/Makefile.tc      |  100 -
 cpp/third_party/zlib-1.2.13/nintendods/Makefile    |  126 -
 cpp/third_party/zlib-1.2.13/nintendods/README      |    5 -
 cpp/third_party/zlib-1.2.13/old/Makefile.emx       |   69 -
 cpp/third_party/zlib-1.2.13/old/Makefile.riscos    |  151 -
 cpp/third_party/zlib-1.2.13/old/README             |    3 -
 cpp/third_party/zlib-1.2.13/old/descrip.mms        |   48 -
 cpp/third_party/zlib-1.2.13/old/os2/Makefile.os2   |  136 -
 cpp/third_party/zlib-1.2.13/old/os2/zlib.def       |   51 -
 cpp/third_party/zlib-1.2.13/old/visual-basic.txt   |  160 -
 cpp/third_party/zlib-1.2.13/os400/README400        |   48 -
 cpp/third_party/zlib-1.2.13/os400/bndsrc           |  127 -
 cpp/third_party/zlib-1.2.13/os400/make.sh          |  366 -
 cpp/third_party/zlib-1.2.13/os400/zlib.inc         |  527 --
 cpp/third_party/zlib-1.2.13/qnx/package.qpg        |  141 -
 cpp/third_party/zlib-1.2.13/test/example.c         |  602 --
 cpp/third_party/zlib-1.2.13/test/infcover.c        |  671 --
 cpp/third_party/zlib-1.2.13/test/minigzip.c        |  651 --
 cpp/third_party/zlib-1.2.13/treebuild.xml          |  112 -
 cpp/third_party/zlib-1.2.13/trees.c                | 1181 ---
 cpp/third_party/zlib-1.2.13/trees.h                |  128 -
 cpp/third_party/zlib-1.2.13/uncompr.c              |   93 -
 cpp/third_party/zlib-1.2.13/watcom/watcom_f.mak    |   43 -
 cpp/third_party/zlib-1.2.13/watcom/watcom_l.mak    |   43 -
 cpp/third_party/zlib-1.2.13/win32/DLL_FAQ.txt      |  397 -
 cpp/third_party/zlib-1.2.13/win32/Makefile.bor     |  109 -
 cpp/third_party/zlib-1.2.13/win32/Makefile.gcc     |  177 -
 cpp/third_party/zlib-1.2.13/win32/Makefile.msc     |  159 -
 cpp/third_party/zlib-1.2.13/win32/README-WIN32.txt |  103 -
 cpp/third_party/zlib-1.2.13/win32/VisualC.txt      |    3 -
 cpp/third_party/zlib-1.2.13/win32/zlib.def         |   97 -
 cpp/third_party/zlib-1.2.13/win32/zlib1.rc         |   40 -
 cpp/third_party/zlib-1.2.13/zconf.h.cmakein        |  549 --
 cpp/third_party/zlib-1.2.13/zconf.h.in             |  547 --
 cpp/third_party/zlib-1.2.13/zconf.h.included       |  547 --
 cpp/third_party/zlib-1.2.13/zlib.3                 |  149 -
 cpp/third_party/zlib-1.2.13/zlib.3.pdf             |  Bin 19366 -> 0 bytes
 cpp/third_party/zlib-1.2.13/zlib.h                 | 1935 ----
 cpp/third_party/zlib-1.2.13/zlib.map               |  100 -
 cpp/third_party/zlib-1.2.13/zlib.pc.cmakein        |   13 -
 cpp/third_party/zlib-1.2.13/zlib.pc.in             |   13 -
 cpp/third_party/zlib-1.2.13/zlib2ansi              |  152 -
 cpp/third_party/zlib-1.2.13/zutil.c                |  327 -
 cpp/third_party/zlib-1.2.13/zutil.h                |  275 -
 java/common/pom.xml                                |   60 -
 .../org/apache/tsfile/annotations/TableModel.java  |   33 -
 .../org/apache/tsfile/annotations/TreeModel.java   |   33 -
 .../org/apache/tsfile/annotations/TsFileApi.java   |   26 -
 .../apache/tsfile/block/TsBlockBuilderStatus.java  |   70 -
 .../org/apache/tsfile/block/column/Column.java     |  211 -
 .../apache/tsfile/block/column/ColumnBuilder.java  |  108 -
 .../tsfile/block/column/ColumnBuilderStatus.java   |   91 -
 .../apache/tsfile/block/column/ColumnEncoding.java |   72 -
 .../java/org/apache/tsfile/enums/TSDataType.java   |  490 -
 .../java/org/apache/tsfile/utils/Accountable.java  |   25 -
 .../main/java/org/apache/tsfile/utils/Binary.java  |  128 -
 .../main/java/org/apache/tsfile/utils/BitMap.java  |  261 -
 .../java/org/apache/tsfile/utils/Constants.java    |  105 -
 .../java/org/apache/tsfile/utils/PooledBinary.java |  175 -
 .../org/apache/tsfile/utils/RamUsageEstimator.java |  583 --
 .../org/apache/tsfile/utils/TsPrimitiveType.java   |  709 --
 .../tsfile/write/UnSupportedDataTypeException.java |   31 -
 java/examples/pom.xml                              |   80 -
 java/examples/readme.md                            |   84 -
 .../src/main/java/org/apache/tsfile/Constant.java  |   37 -
 .../main/java/org/apache/tsfile/DataGenerator.java |   52 -
 .../org/apache/tsfile/TsFileForceAppendWrite.java  |  124 -
 .../main/java/org/apache/tsfile/TsFileRead.java    |  117 -
 .../java/org/apache/tsfile/TsFileSequenceRead.java |  239 -
 .../tsfile/TsFileWriteAlignedWithTSRecord.java     |  108 -
 .../tsfile/TsFileWriteAlignedWithTablet.java       |  156 -
 .../org/apache/tsfile/TsFileWriteWithTSRecord.java |  104 -
 .../org/apache/tsfile/TsFileWriteWithTablet.java   |  114 -
 .../tsfile/v4/ITsFileReaderAndITsFileWriter.java   |  156 -
 .../tsfile/v4/WriteTabletWithITsFileWriter.java    |  122 -
 java/pom.xml                                       |  106 -
 java/tools/README-zh.md                            |  126 -
 java/tools/README.md                               |  127 -
 java/tools/pom.xml                                 |  110 -
 .../assembly/resources/conf/logback-cvs2tsfile.xml |   52 -
 .../src/assembly/resources/tools/csv2tsfile.bat    |   49 -
 .../src/assembly/resources/tools/csv2tsfile.sh     |   53 -
 java/tools/src/assembly/tools.xml                  |   55 -
 .../org/apache/tsfile/tools/DateTimeUtils.java     |  514 --
 .../java/org/apache/tsfile/tools/SchemaParser.java |  282 -
 .../java/org/apache/tsfile/tools/TsFileTool.java   |  590 --
 .../org/apache/tsfile/tools/TsfiletoolsTest.java   |  225 -
 java/tsfile/README-zh.md                           |  167 -
 java/tsfile/README.md                              |  169 -
 java/tsfile/format-changelist.md                   |   56 -
 java/tsfile/pom.xml                                |  293 -
 .../antlr4/org/apache/tsfile/parser/PathLexer.g4   |  212 -
 .../antlr4/org/apache/tsfile/parser/PathParser.g4  |   67 -
 java/tsfile/src/main/codegen/config.fmpp           |   21 -
 .../src/main/codegen/dataModel/AllFilter.tdd       |   57 -
 .../codegen/templates/FilterOperatorsTemplate.ftl  | 1474 ---
 .../src/main/codegen/templates/FilterTemplate.ftl  |   92 -
 .../java/org/apache/tsfile/common/cache/Cache.java |   31 -
 .../org/apache/tsfile/common/cache/LRUCache.java   |   72 -
 .../apache/tsfile/common/conf/TSFileConfig.java    |  695 --
 .../tsfile/common/conf/TSFileDescriptor.java       |  205 -
 .../tsfile/common/constant/JsonFormatConstant.java |   44 -
 .../tsfile/common/constant/QueryConstant.java      |   33 -
 .../tsfile/common/constant/TsFileConstant.java     |   52 -
 .../java/org/apache/tsfile/common/regexp/DFA.java  |  101 -
 .../tsfile/common/regexp/DenseDfaMatcher.java      |  215 -
 .../apache/tsfile/common/regexp/FjsMatcher.java    |  223 -
 .../apache/tsfile/common/regexp/LikeMatcher.java   |  261 -
 .../apache/tsfile/common/regexp/LikePattern.java   |   84 -
 .../org/apache/tsfile/common/regexp/Matcher.java   |   24 -
 .../java/org/apache/tsfile/common/regexp/NFA.java  |  184 -
 .../apache/tsfile/common/regexp/NfaMatcher.java    |  176 -
 .../apache/tsfile/common/regexp/pattern/Any.java   |   44 -
 .../tsfile/common/regexp/pattern/Literal.java      |   37 -
 .../tsfile/common/regexp/pattern/Pattern.java      |   22 -
 .../tsfile/common/regexp/pattern/ZeroOrMore.java   |   27 -
 .../tsfile/compatibility/BufferDeserializer.java   |   26 -
 .../tsfile/compatibility/CompatibilityUtils.java   |   83 -
 .../tsfile/compatibility/DeserializeConfig.java    |  106 -
 .../tsfile/compatibility/StreamDeserializer.java   |   27 -
 .../org/apache/tsfile/compress/ICompressor.java    |  469 -
 .../org/apache/tsfile/compress/IUnCompressor.java  |  404 -
 .../tsfile/encoding/bitpacking/IntPacker.java      |  163 -
 .../tsfile/encoding/bitpacking/LongPacker.java     |  177 -
 .../tsfile/encoding/decoder/BitmapDecoder.java     |  221 -
 .../apache/tsfile/encoding/decoder/Decoder.java    |  220 -
 .../encoding/decoder/DeltaBinaryDecoder.java       |  251 -
 .../tsfile/encoding/decoder/DictionaryDecoder.java |   86 -
 .../decoder/DoublePrecisionChimpDecoder.java       |   50 -
 .../encoding/decoder/DoublePrecisionDecoderV1.java |  117 -
 .../encoding/decoder/DoublePrecisionDecoderV2.java |   53 -
 .../tsfile/encoding/decoder/DoubleRLBEDecoder.java |  198 -
 .../encoding/decoder/DoubleSprintzDecoder.java     |  139 -
 .../tsfile/encoding/decoder/FloatDecoder.java      |  180 -
 .../tsfile/encoding/decoder/FloatRLBEDecoder.java  |  197 -
 .../encoding/decoder/FloatSprintzDecoder.java      |  141 -
 .../tsfile/encoding/decoder/GorillaDecoderV1.java  |  128 -
 .../tsfile/encoding/decoder/GorillaDecoderV2.java  |  123 -
 .../tsfile/encoding/decoder/IntChimpDecoder.java   |  156 -
 .../tsfile/encoding/decoder/IntGorillaDecoder.java |   90 -
 .../tsfile/encoding/decoder/IntRLBEDecoder.java    |  196 -
 .../tsfile/encoding/decoder/IntRleDecoder.java     |  124 -
 .../tsfile/encoding/decoder/IntSprintzDecoder.java |  129 -
 .../tsfile/encoding/decoder/IntZigzagDecoder.java  |   94 -
 .../tsfile/encoding/decoder/LongChimpDecoder.java  |  155 -
 .../encoding/decoder/LongGorillaDecoder.java       |   89 -
 .../tsfile/encoding/decoder/LongRLBEDecoder.java   |  197 -
 .../tsfile/encoding/decoder/LongRleDecoder.java    |  119 -
 .../encoding/decoder/LongSprintzDecoder.java       |  127 -
 .../tsfile/encoding/decoder/LongZigzagDecoder.java |  101 -
 .../tsfile/encoding/decoder/PlainDecoder.java      |   88 -
 .../encoding/decoder/RegularDataDecoder.java       |  285 -
 .../apache/tsfile/encoding/decoder/RleDecoder.java |  237 -
 .../decoder/SinglePrecisionChimpDecoder.java       |   50 -
 .../encoding/decoder/SinglePrecisionDecoderV1.java |  113 -
 .../encoding/decoder/SinglePrecisionDecoderV2.java |   53 -
 .../tsfile/encoding/decoder/SprintzDecoder.java    |   54 -
 .../tsfile/encoding/encoder/BitmapEncoder.java     |  131 -
 .../encoding/encoder/DeltaBinaryEncoder.java       |  336 -
 .../tsfile/encoding/encoder/DictionaryEncoder.java |  116 -
 .../encoder/DoublePrecisionChimpEncoder.java       |   55 -
 .../encoding/encoder/DoublePrecisionEncoderV1.java |  117 -
 .../encoding/encoder/DoublePrecisionEncoderV2.java |   55 -
 .../apache/tsfile/encoding/encoder/DoubleRLBE.java |  293 -
 .../encoding/encoder/DoubleSprintzEncoder.java     |  162 -
 .../apache/tsfile/encoding/encoder/Encoder.java    |  111 -
 .../tsfile/encoding/encoder/FloatEncoder.java      |  189 -
 .../apache/tsfile/encoding/encoder/FloatRLBE.java  |  273 -
 .../encoding/encoder/FloatSprintzEncoder.java      |  156 -
 .../tsfile/encoding/encoder/GorillaEncoderV1.java  |   85 -
 .../tsfile/encoding/encoder/GorillaEncoderV2.java  |  105 -
 .../tsfile/encoding/encoder/IntChimpEncoder.java   |  188 -
 .../tsfile/encoding/encoder/IntGorillaEncoder.java |  158 -
 .../apache/tsfile/encoding/encoder/IntRLBE.java    |  280 -
 .../tsfile/encoding/encoder/IntRleEncoder.java     |  129 -
 .../tsfile/encoding/encoder/IntSprintzEncoder.java |  158 -
 .../tsfile/encoding/encoder/IntZigzagEncoder.java  |  101 -
 .../tsfile/encoding/encoder/LongChimpEncoder.java  |  199 -
 .../encoding/encoder/LongGorillaEncoder.java       |  158 -
 .../apache/tsfile/encoding/encoder/LongRLBE.java   |  276 -
 .../tsfile/encoding/encoder/LongRleEncoder.java    |  122 -
 .../encoding/encoder/LongSprintzEncoder.java       |  159 -
 .../tsfile/encoding/encoder/LongZigzagEncoder.java |  112 -
 .../tsfile/encoding/encoder/PlainEncoder.java      |  142 -
 .../org/apache/tsfile/encoding/encoder/RLBE.java   |   61 -
 .../encoding/encoder/RegularDataEncoder.java       |  364 -
 .../apache/tsfile/encoding/encoder/RleEncoder.java |  331 -
 .../apache/tsfile/encoding/encoder/SDTEncoder.java |  438 -
 .../encoder/SinglePrecisionChimpEncoder.java       |   55 -
 .../encoding/encoder/SinglePrecisionEncoderV1.java |  113 -
 .../encoding/encoder/SinglePrecisionEncoderV2.java |   55 -
 .../tsfile/encoding/encoder/SprintzEncoder.java    |   70 -
 .../tsfile/encoding/encoder/TSEncodingBuilder.java |  433 -
 .../java/org/apache/tsfile/encoding/fire/Fire.java |   56 -
 .../org/apache/tsfile/encoding/fire/IntFire.java   |   52 -
 .../org/apache/tsfile/encoding/fire/LongFire.java  |   48 -
 .../apache/tsfile/encrypt/EncryptParameter.java    |   38 -
 .../org/apache/tsfile/encrypt/EncryptUtils.java    |  241 -
 .../java/org/apache/tsfile/encrypt/IDecryptor.java |   66 -
 .../java/org/apache/tsfile/encrypt/IEncrypt.java   |   33 -
 .../java/org/apache/tsfile/encrypt/IEncryptor.java |   66 -
 .../org/apache/tsfile/encrypt/NoDecryptor.java     |   43 -
 .../org/apache/tsfile/encrypt/NoEncryptor.java     |   43 -
 .../org/apache/tsfile/encrypt/UNENCRYPTED.java     |   43 -
 .../tsfile/exception/IllegalDeviceIDException.java |   27 -
 .../exception/NotCompatibleTsFileException.java    |   33 -
 .../tsfile/exception/NotImplementedException.java  |   33 -
 .../tsfile/exception/NullFieldException.java       |   31 -
 .../tsfile/exception/PathParseException.java       |   27 -
 .../StopReadTsFileByInterruptException.java        |   24 -
 .../tsfile/exception/TsFileRuntimeException.java   |   41 -
 ...eReaderTimeseriesMetadataIteratorException.java |   27 -
 .../TsFileStatisticsMistakesException.java         |   27 -
 .../tsfile/exception/cache/CacheException.java     |   26 -
 .../CompressionTypeNotSupportedException.java      |   39 -
 .../compress/GZIPCompressOverflowException.java    |   27 -
 .../encoding/TsFileDecodingException.java          |   34 -
 .../encoding/TsFileEncodingException.java          |   35 -
 .../tsfile/exception/encrypt/EncryptException.java |   30 -
 .../encrypt/EncryptKeyLengthNotMatchException.java |   31 -
 .../filter/QueryFilterOptimizationException.java   |   27 -
 .../exception/filter/StatisticsClassException.java |   35 -
 .../filter/UnSupportFilterDataTypeException.java   |   27 -
 .../exception/read/FileVersionTooOldException.java |   32 -
 .../tsfile/exception/read/NoColumnException.java   |   27 -
 .../exception/read/ReadProcessException.java       |   35 -
 .../read/UnsupportedOrderingException.java         |   27 -
 .../exception/write/ConflictDataTypeException.java |   30 -
 .../tsfile/exception/write/NoDeviceException.java  |   30 -
 .../exception/write/NoMeasurementException.java    |   30 -
 .../tsfile/exception/write/NoTableException.java   |   27 -
 .../tsfile/exception/write/PageException.java      |   38 -
 .../write/TsFileNotCompleteException.java          |   29 -
 .../write/UnknownColumnTypeException.java          |   35 -
 .../exception/write/WriteProcessException.java     |   38 -
 .../apache/tsfile/file/IMetadataIndexEntry.java    |   38 -
 .../java/org/apache/tsfile/file/MetaMarker.java    |   74 -
 .../tsfile/file/header/ChunkGroupHeader.java       |  134 -
 .../org/apache/tsfile/file/header/ChunkHeader.java |  368 -
 .../org/apache/tsfile/file/header/PageHeader.java  |  186 -
 .../metadata/AbstractAlignedChunkMetadata.java     |  198 -
 .../AbstractAlignedTimeSeriesMetadata.java         |  203 -
 .../tsfile/file/metadata/AlignedChunkMetadata.java |   58 -
 .../file/metadata/AlignedTimeSeriesMetadata.java   |   72 -
 .../tsfile/file/metadata/ChunkGroupMetadata.java   |   43 -
 .../apache/tsfile/file/metadata/ChunkMetadata.java |  413 -
 .../apache/tsfile/file/metadata/ColumnSchema.java  |   48 -
 .../tsfile/file/metadata/ColumnSchemaBuilder.java  |   67 -
 .../file/metadata/DeviceMetadataIndexEntry.java    |  100 -
 .../tsfile/file/metadata/IChunkMetadata.java       |   69 -
 .../org/apache/tsfile/file/metadata/IDeviceID.java |  182 -
 .../org/apache/tsfile/file/metadata/IMetadata.java |   44 -
 .../tsfile/file/metadata/ITimeSeriesMetadata.java  |   50 -
 .../tsfile/file/metadata/LogicalTableSchema.java   |   83 -
 .../metadata/MeasurementMetadataIndexEntry.java    |   99 -
 .../file/metadata/MetadataIndexConstructor.java    |  192 -
 .../tsfile/file/metadata/MetadataIndexNode.java    |  172 -
 .../apache/tsfile/file/metadata/PlainDeviceID.java |  210 -
 .../tsfile/file/metadata/StringArrayDeviceID.java  |  316 -
 .../file/metadata/TableDeviceChunkMetadata.java    |   44 -
 .../metadata/TableDeviceTimeSeriesMetadata.java    |   56 -
 .../apache/tsfile/file/metadata/TableSchema.java   |  330 -
 .../tsfile/file/metadata/TimeseriesMetadata.java   |  397 -
 .../tsfile/file/metadata/TsFileMetadata.java       |  311 -
 .../file/metadata/enums/CompressionType.java       |   97 -
 .../tsfile/file/metadata/enums/EncryptionType.java |   84 -
 .../file/metadata/enums/MetadataIndexNodeType.java |   99 -
 .../tsfile/file/metadata/enums/TSEncoding.java     |  163 -
 .../idcolumn/FourOrHigherLevelDBExtractor.java     |   47 -
 .../metadata/idcolumn/ThreeLevelDBExtractor.java   |   50 -
 .../metadata/idcolumn/TwoLevelDBExtractor.java     |   57 -
 .../file/metadata/statistics/BinaryStatistics.java |  208 -
 .../file/metadata/statistics/BlobStatistics.java   |  126 -
 .../metadata/statistics/BooleanStatistics.java     |  214 -
 .../file/metadata/statistics/DateStatistics.java   |   29 -
 .../file/metadata/statistics/DoubleStatistics.java |  261 -
 .../file/metadata/statistics/FloatStatistics.java  |  249 -
 .../metadata/statistics/IntegerStatistics.java     |  249 -
 .../file/metadata/statistics/LongStatistics.java   |  258 -
 .../file/metadata/statistics/Statistics.java       |  445 -
 .../file/metadata/statistics/StringStatistics.java |  250 -
 .../file/metadata/statistics/TimeStatistics.java   |  136 -
 .../metadata/statistics/TimestampStatistics.java   |   29 -
 .../tsfile/fileSystem/FSFactoryProducer.java       |   57 -
 .../java/org/apache/tsfile/fileSystem/FSPath.java  |   37 -
 .../java/org/apache/tsfile/fileSystem/FSType.java  |   26 -
 .../fileInputFactory/FileInputFactory.java         |   29 -
 .../fileInputFactory/HDFSInputFactory.java         |   61 -
 .../fileInputFactory/HybridFileInputFactory.java   |   62 -
 .../fileInputFactory/LocalFSInputFactory.java      |   34 -
 .../fileInputFactory/OSFileInputFactory.java       |   59 -
 .../fileOutputFactory/FileOutputFactory.java       |   27 -
 .../fileOutputFactory/HDFSOutputFactory.java       |   60 -
 .../fileOutputFactory/HybridFileOutputFactory.java |   61 -
 .../fileOutputFactory/LocalFSOutputFactory.java    |   50 -
 .../fileOutputFactory/OSFileOutputFactory.java     |   58 -
 .../tsfile/fileSystem/fsFactory/FSFactory.java     |  150 -
 .../tsfile/fileSystem/fsFactory/HDFSFactory.java   |  269 -
 .../fileSystem/fsFactory/HybridFSFactory.java      |  165 -
 .../fileSystem/fsFactory/LocalFSFactory.java       |  142 -
 .../tsfile/fileSystem/fsFactory/OSFSFactory.java   |  271 -
 .../java/org/apache/tsfile/read/TimeValuePair.java |  102 -
 .../read/TsFileAlignedSeriesReaderIterator.java    |  119 -
 .../org/apache/tsfile/read/TsFileCheckStatus.java  |   31 -
 .../apache/tsfile/read/TsFileDeviceIterator.java   |  224 -
 .../java/org/apache/tsfile/read/TsFileReader.java  |   69 -
 .../apache/tsfile/read/TsFileRestorableReader.java |   71 -
 .../apache/tsfile/read/TsFileSequenceReader.java   | 2976 ------
 ...leSequenceReaderTimeseriesMetadataIterator.java |  269 -
 .../apache/tsfile/read/UnClosedTsFileReader.java   |   64 -
 .../org/apache/tsfile/read/common/BatchData.java   |  943 --
 .../tsfile/read/common/BatchDataFactory.java       |   44 -
 .../java/org/apache/tsfile/read/common/Chunk.java  |  203 -
 .../tsfile/read/common/DescReadBatchData.java      |   86 -
 .../tsfile/read/common/DescReadWriteBatchData.java |  522 --
 .../java/org/apache/tsfile/read/common/Field.java  |  287 -
 .../tsfile/read/common/IBatchDataIterator.java     |   37 -
 .../java/org/apache/tsfile/read/common/Path.java   |  282 -
 .../org/apache/tsfile/read/common/RowRecord.java   |  138 -
 .../apache/tsfile/read/common/SignalBatchData.java |   44 -
 .../org/apache/tsfile/read/common/TimeRange.java   |  404 -
 .../org/apache/tsfile/read/common/TimeSeries.java  |   59 -
 .../apache/tsfile/read/common/block/TsBlock.java   |  628 --
 .../tsfile/read/common/block/TsBlockBuilder.java   |  348 -
 .../tsfile/read/common/block/TsBlockUtil.java      |  127 -
 .../block/column/BinaryArrayColumnEncoder.java     |   93 -
 .../read/common/block/column/BinaryColumn.java     |  282 -
 .../common/block/column/BinaryColumnBuilder.java   |  160 -
 .../read/common/block/column/BooleanColumn.java    |  250 -
 .../common/block/column/BooleanColumnBuilder.java  |  164 -
 .../block/column/ByteArrayColumnEncoder.java       |   63 -
 .../read/common/block/column/ColumnEncoder.java    |  123 -
 .../common/block/column/ColumnEncoderFactory.java  |   51 -
 .../read/common/block/column/ColumnFactory.java    |   48 -
 .../read/common/block/column/ColumnUtil.java       |  113 -
 .../read/common/block/column/DictionaryColumn.java |  605 --
 .../block/column/DictionaryColumnEncoder.java      |   68 -
 .../read/common/block/column/DictionaryId.java     |   79 -
 .../read/common/block/column/DoubleColumn.java     |  251 -
 .../common/block/column/DoubleColumnBuilder.java   |  179 -
 .../read/common/block/column/FloatColumn.java      |  265 -
 .../common/block/column/FloatColumnBuilder.java    |  169 -
 .../block/column/Int32ArrayColumnEncoder.java      |  117 -
 .../block/column/Int64ArrayColumnEncoder.java      |  104 -
 .../tsfile/read/common/block/column/IntColumn.java |  293 -
 .../read/common/block/column/IntColumnBuilder.java |  169 -
 .../read/common/block/column/LongColumn.java       |  265 -
 .../common/block/column/LongColumnBuilder.java     |  169 -
 .../read/common/block/column/NullColumn.java       |  175 -
 .../block/column/RunLengthColumnEncoder.java       |   56 -
 .../block/column/RunLengthEncodedColumn.java       |  272 -
 .../read/common/block/column/TimeColumn.java       |  223 -
 .../common/block/column/TimeColumnBuilder.java     |  156 -
 .../read/common/block/column/TsBlockSerde.java     |  130 -
 .../read/common/parser/PathNodesGenerator.java     |  103 -
 .../tsfile/read/common/parser/PathParseError.java  |   63 -
 .../tsfile/read/common/parser/PathVisitor.java     |  105 -
 .../tsfile/read/common/type/AbstractIntType.java   |   90 -
 .../tsfile/read/common/type/AbstractLongType.java  |   90 -
 .../tsfile/read/common/type/AbstractType.java      |   28 -
 .../read/common/type/AbstractVarcharType.java      |   60 -
 .../apache/tsfile/read/common/type/BinaryType.java |   40 -
 .../apache/tsfile/read/common/type/BlobType.java   |   79 -
 .../tsfile/read/common/type/BooleanType.java       |   78 -
 .../apache/tsfile/read/common/type/DateType.java   |   41 -
 .../apache/tsfile/read/common/type/DoubleType.java |  108 -
 .../apache/tsfile/read/common/type/FloatType.java  |  108 -
 .../apache/tsfile/read/common/type/IntType.java    |   41 -
 .../apache/tsfile/read/common/type/LongType.java   |   41 -
 .../apache/tsfile/read/common/type/RowType.java    |  170 -
 .../apache/tsfile/read/common/type/StringType.java |   41 -
 .../tsfile/read/common/type/TimestampType.java     |   41 -
 .../org/apache/tsfile/read/common/type/Type.java   |  119 -
 .../apache/tsfile/read/common/type/TypeEnum.java   |   42 -
 .../tsfile/read/common/type/TypeFactory.java       |   87 -
 .../tsfile/read/common/type/UnknownType.java       |   87 -
 .../read/controller/CachedChunkLoaderImpl.java     |  146 -
 .../tsfile/read/controller/DeviceMetaIterator.java |  133 -
 .../tsfile/read/controller/IChunkLoader.java       |   40 -
 .../read/controller/IChunkMetadataLoader.java      |   31 -
 .../tsfile/read/controller/IMetadataQuerier.java   |   91 -
 .../read/controller/MetadataQuerierByFileImpl.java |  312 -
 .../tsfile/read/expression/ExpressionTree.java     |   76 -
 .../tsfile/read/expression/ExpressionType.java     |   48 -
 .../tsfile/read/expression/IBinaryExpression.java  |   31 -
 .../apache/tsfile/read/expression/IExpression.java |   32 -
 .../tsfile/read/expression/IUnaryExpression.java   |   29 -
 .../tsfile/read/expression/QueryExpression.java    |  103 -
 .../read/expression/impl/BinaryExpression.java     |  189 -
 .../read/expression/impl/GlobalTimeExpression.java |   99 -
 .../expression/impl/SingleSeriesExpression.java    |  107 -
 .../read/expression/util/ExpressionOptimizer.java  |  240 -
 .../read/filter/PredicateRemoveNotRewriter.java    |   50 -
 .../read/filter/basic/BinaryLogicalFilter.java     |   68 -
 .../read/filter/basic/CompareNullFilter.java       |   48 -
 .../apache/tsfile/read/filter/basic/Filter.java    |  252 -
 .../tsfile/read/filter/basic/OperatorType.java     |   79 -
 .../tsfile/read/filter/basic/TimeFilter.java       |  153 -
 .../tsfile/read/filter/basic/ValueFilter.java      |  203 -
 .../tsfile/read/filter/factory/FilterFactory.java  |   79 -
 .../tsfile/read/filter/factory/TimeFilterApi.java  |  101 -
 .../tsfile/read/filter/factory/ValueFilterApi.java |  438 -
 .../apache/tsfile/read/filter/operator/And.java    |  202 -
 .../tsfile/read/filter/operator/GroupByFilter.java |  155 -
 .../read/filter/operator/GroupByMonthFilter.java   |  270 -
 .../apache/tsfile/read/filter/operator/Not.java    |  230 -
 .../org/apache/tsfile/read/filter/operator/Or.java |  264 -
 .../read/filter/operator/TimeFilterOperators.java  |  632 --
 .../filter/operator/ValueIsNotNullOperator.java    |  143 -
 .../read/filter/operator/ValueIsNullOperator.java  |  139 -
 .../read/query/dataset/AbstractResultSet.java      |  186 -
 .../query/dataset/DataSetWithTimeGenerator.java    |  100 -
 .../query/dataset/DataSetWithoutTimeGenerator.java |  192 -
 .../tsfile/read/query/dataset/QueryDataSet.java    |  266 -
 .../tsfile/read/query/dataset/ResultSet.java       |   91 -
 .../read/query/dataset/ResultSetMetadata.java      |   33 -
 .../read/query/dataset/ResultSetMetadataImpl.java  |   63 -
 .../tsfile/read/query/dataset/TableResultSet.java  |   88 -
 .../tsfile/read/query/dataset/TreeResultSet.java   |   54 -
 .../query/executor/ExecutorWithTimeGenerator.java  |  128 -
 .../tsfile/read/query/executor/QueryExecutor.java  |   30 -
 .../read/query/executor/TableQueryExecutor.java    |  163 -
 .../tsfile/read/query/executor/TsFileExecutor.java |  213 -
 .../read/query/executor/task/DeviceQueryTask.java  |   73 -
 .../query/executor/task/DeviceTaskIterator.java    |   62 -
 .../read/query/timegenerator/TimeGenerator.java    |  139 -
 .../query/timegenerator/TsFileTimeGenerator.java   |   65 -
 .../read/query/timegenerator/node/AndNode.java     |  106 -
 .../read/query/timegenerator/node/LeafNode.java    |   93 -
 .../tsfile/read/query/timegenerator/node/Node.java |   31 -
 .../read/query/timegenerator/node/NodeType.java    |   27 -
 .../read/query/timegenerator/node/OrNode.java      |  119 -
 .../apache/tsfile/read/reader/IBatchReader.java    |   33 -
 .../apache/tsfile/read/reader/IChunkReader.java    |   36 -
 .../org/apache/tsfile/read/reader/IPageReader.java |   49 -
 .../apache/tsfile/read/reader/IPointReader.java    |   37 -
 .../tsfile/read/reader/LocalTsFileInput.java       |  124 -
 .../org/apache/tsfile/read/reader/TsFileInput.java |  134 -
 .../reader/block/DeviceOrderedTsBlockReader.java   |   96 -
 .../reader/block/SingleDeviceTsBlockReader.java    |  414 -
 .../tsfile/read/reader/block/TsBlockReader.java    |   48 -
 .../reader/chunk/AbstractAlignedChunkReader.java   |  282 -
 .../read/reader/chunk/AbstractChunkReader.java     |   83 -
 .../read/reader/chunk/AlignedChunkReader.java      |  101 -
 .../chunk/AlignedChunkReaderWithoutStatistics.java |   45 -
 .../tsfile/read/reader/chunk/ChunkReader.java      |  247 -
 .../reader/chunk/ChunkReaderWithoutStatistics.java |   37 -
 .../tsfile/read/reader/chunk/TableChunkReader.java |   90 -
 .../reader/page/AbstractAlignedPageReader.java     |  373 -
 .../tsfile/read/reader/page/AlignedPageReader.java |  221 -
 .../page/LazyLoadAlignedPagePointReader.java       |  105 -
 .../tsfile/read/reader/page/LazyLoadPageData.java  |   81 -
 .../apache/tsfile/read/reader/page/PageReader.java |  433 -
 .../tsfile/read/reader/page/TablePageReader.java   |  137 -
 .../tsfile/read/reader/page/TimePageReader.java    |  118 -
 .../tsfile/read/reader/page/ValuePageReader.java   |  622 --
 .../reader/series/AbstractFileSeriesReader.java    |  110 -
 .../read/reader/series/EmptyFileSeriesReader.java  |   57 -
 .../read/reader/series/FileSeriesReader.java       |   89 -
 .../reader/series/FileSeriesReaderByTimestamp.java |  169 -
 .../read/reader/series/PaginationController.java   |  101 -
 .../tsfile/read/v4/DeviceTableModelReader.java     |  116 -
 .../org/apache/tsfile/read/v4/ITsFileReader.java   |   47 -
 .../apache/tsfile/read/v4/TsFileReaderBuilder.java |   49 -
 .../java/org/apache/tsfile/utils/BloomFilter.java  |  148 -
 .../java/org/apache/tsfile/utils/BytesUtils.java   |  944 --
 .../java/org/apache/tsfile/utils/DateUtils.java    |   89 -
 .../main/java/org/apache/tsfile/utils/FSUtils.java |  153 -
 .../org/apache/tsfile/utils/FilePathUtils.java     |  128 -
 .../org/apache/tsfile/utils/FilterDeserialize.java |  392 -
 .../main/java/org/apache/tsfile/utils/Loader.java  |   59 -
 .../org/apache/tsfile/utils/MeasurementGroup.java  |   65 -
 .../org/apache/tsfile/utils/Murmur128Hash.java     |  184 -
 .../main/java/org/apache/tsfile/utils/Pair.java    |   99 -
 .../org/apache/tsfile/utils/Preconditions.java     |   39 -
 .../java/org/apache/tsfile/utils/PublicBAOS.java   |  160 -
 .../tsfile/utils/ReadWriteForEncodingUtils.java    |  353 -
 .../org/apache/tsfile/utils/ReadWriteIOUtils.java  | 1294 ---
 .../org/apache/tsfile/utils/StringContainer.java   |  394 -
 .../java/org/apache/tsfile/utils/TimeDuration.java |  193 -
 .../apache/tsfile/utils/TsFileGeneratorUtils.java  |  486 -
 .../org/apache/tsfile/utils/TsFileSketchTool.java  |  727 --
 .../java/org/apache/tsfile/utils/TsFileUtils.java  |   58 -
 .../java/org/apache/tsfile/utils/WriteUtils.java   |   64 -
 .../java/org/apache/tsfile/write/TsFileWriter.java |  767 --
 .../write/chunk/AlignedChunkGroupWriterImpl.java   |  443 -
 .../tsfile/write/chunk/AlignedChunkWriterImpl.java |  567 --
 .../apache/tsfile/write/chunk/ChunkWriterImpl.java |  530 --
 .../tsfile/write/chunk/IChunkGroupWriter.java      |   97 -
 .../apache/tsfile/write/chunk/IChunkWriter.java    |   63 -
 .../chunk/NonAlignedChunkGroupWriterImpl.java      |  239 -
 .../write/chunk/TableChunkGroupWriterImpl.java     |   36 -
 .../apache/tsfile/write/chunk/TimeChunkWriter.java |  359 -
 .../tsfile/write/chunk/ValueChunkWriter.java       |  463 -
 .../org/apache/tsfile/write/page/PageWriter.java   |  341 -
 .../apache/tsfile/write/page/TimePageWriter.java   |  217 -
 .../apache/tsfile/write/page/ValuePageWriter.java  |  382 -
 .../org/apache/tsfile/write/record/TSRecord.java   |  145 -
 .../org/apache/tsfile/write/record/Tablet.java     | 1321 ---
 .../write/record/datapoint/BooleanDataPoint.java   |   63 -
 .../tsfile/write/record/datapoint/DataPoint.java   |  160 -
 .../write/record/datapoint/DateDataPoint.java      |   62 -
 .../write/record/datapoint/DoubleDataPoint.java    |   63 -
 .../write/record/datapoint/FloatDataPoint.java     |   63 -
 .../write/record/datapoint/IntDataPoint.java       |   63 -
 .../write/record/datapoint/LongDataPoint.java      |   63 -
 .../write/record/datapoint/StringDataPoint.java    |   64 -
 .../tsfile/write/schema/IMeasurementSchema.java    |  102 -
 .../tsfile/write/schema/MeasurementSchema.java     |  458 -
 .../tsfile/write/schema/MeasurementSchemaType.java |   38 -
 .../org/apache/tsfile/write/schema/Schema.java     |  166 -
 .../tsfile/write/schema/TimeseriesSchema.java      |  272 -
 .../write/schema/VectorMeasurementSchema.java      |  425 -
 .../write/v4/AbstractTableModelTsFileWriter.java   |  272 -
 .../tsfile/write/v4/DeviceTableModelWriter.java    |  107 -
 .../org/apache/tsfile/write/v4/ITsFileWriter.java  |   35 -
 .../tsfile/write/v4/TsFileWriterBuilder.java       |   70 -
 .../write/writer/FlushChunkMetadataListener.java   |   33 -
 .../write/writer/ForceAppendTsFileWriter.java      |   87 -
 .../apache/tsfile/write/writer/IDataWriter.java    |   21 -
 .../tsfile/write/writer/LocalTsFileOutput.java     |  106 -
 .../write/writer/RestorableTsFileIOWriter.java     |  297 -
 .../apache/tsfile/write/writer/TsFileIOWriter.java |  833 --
 .../write/writer/TsFileIOWriterEndFileTest.java    |   51 -
 .../apache/tsfile/write/writer/TsFileOutput.java   |   94 -
 .../write/writer/tsmiterator/DiskTSMIterator.java  |  136 -
 .../write/writer/tsmiterator/TSMIterator.java      |  150 -
 .../org/apache/tsfile/common/LRUCacheTest.java     |   55 -
 .../common/block/BinaryArrayColumnEncoderTest.java |   82 -
 .../common/block/ByteArrayColumnEncoderTest.java   |   79 -
 .../tsfile/common/block/ColumnEncoderTest.java     |  144 -
 .../common/block/DictionaryColumnEncodingTest.java |   77 -
 .../common/block/Int32ArrayColumnEncoderTest.java  |  119 -
 .../common/block/Int64ArrayColumnEncoderTest.java  |  122 -
 .../tsfile/common/block/NullColumnUnitTest.java    |   90 -
 .../common/block/RunLengthColumnEncoderTest.java   |  104 -
 .../tsfile/common/block/TsBlockSerdeTest.java      |  188 -
 .../apache/tsfile/common/block/TsBlockTest.java    |  457 -
 .../tsfile/common/conf/TSFileDescriptorTest.java   |   85 -
 .../tsfile/compatibility/CompatibilityTest.java    |   94 -
 .../org/apache/tsfile/compress/CompressTest.java   |  145 -
 .../java/org/apache/tsfile/compress/GZIPTest.java  |   98 -
 .../java/org/apache/tsfile/compress/LZ4Test.java   |  131 -
 .../java/org/apache/tsfile/compress/LZMA2Test.java |  104 -
 .../org/apache/tsfile/compress/SnappyTest.java     |  101 -
 .../java/org/apache/tsfile/compress/ZstdTest.java  |  109 -
 .../org/apache/tsfile/constant/TestConstant.java   |   34 -
 .../org/apache/tsfile/encoding/SDTEncoderTest.java |  177 -
 .../tsfile/encoding/bitpacking/IntPackerTest.java  |   79 -
 .../tsfile/encoding/bitpacking/LongPackerTest.java |  131 -
 .../tsfile/encoding/decoder/BitmapDecoderTest.java |   97 -
 .../tsfile/encoding/decoder/ChimpDecoderTest.java  |  594 --
 .../encoding/decoder/DictionaryDecoderTest.java    |   86 -
 .../tsfile/encoding/decoder/FloatDecoderTest.java  |  266 -
 .../encoding/decoder/GorillaDecoderV1Test.java     |  258 -
 .../encoding/decoder/GorillaDecoderV2Test.java     |  594 --
 .../tsfile/encoding/decoder/IntRleDecoderTest.java |  217 -
 .../encoding/decoder/IntZigzagDecoderTest.java     |   99 -
 .../encoding/decoder/LongRleDecoderTest.java       |  221 -
 .../encoding/decoder/LongZigzagDecoderTest.java    |   94 -
 .../tsfile/encoding/decoder/RLBEDecoderTest.java   |  261 -
 .../encoding/decoder/SprintzDecoderTest.java       |  593 --
 .../delta/DeltaBinaryEncoderIntegerTest.java       |  110 -
 .../decoder/delta/DeltaBinaryEncoderLongTest.java  |  201 -
 .../regular/RegularDataEncoderIntegerTest.java     |  157 -
 .../regular/RegularDataEncoderLongTest.java        |  252 -
 .../org/apache/tsfile/encrypt/EncryptTest.java     |  341 -
 .../tsfile/exception/TsFileExceptionTest.java      |  187 -
 .../apache/tsfile/file/header/PageHeaderTest.java  |  108 -
 .../tsfile/file/metadata/ChunkMetadataTest.java    |   70 -
 .../apache/tsfile/file/metadata/IDeviceIDTest.java |  153 -
 .../file/metadata/MetadataIndexNodeTest.java       |   51 -
 .../file/metadata/TimeseriesMetadataTest.java      |  138 -
 .../TreeDeviceIdColumnValueExtractorTest.java      |  170 -
 .../tsfile/file/metadata/TsFileMetadataTest.java   |  112 -
 .../metadata/statistics/BooleanStatisticsTest.java |   83 -
 .../metadata/statistics/DoubleStatisticsTest.java  |   94 -
 .../metadata/statistics/FloatStatisticsTest.java   |   94 -
 .../metadata/statistics/IntegerStatisticsTest.java |   93 -
 .../metadata/statistics/LongStatisticsTest.java    |   99 -
 .../file/metadata/statistics/StatisticsTest.java   |  183 -
 .../metadata/statistics/StringStatisticsTest.java  |   86 -
 .../tsfile/file/metadata/utils/TestHelper.java     |   84 -
 .../apache/tsfile/file/metadata/utils/Utils.java   |  105 -
 .../org/apache/tsfile/read/ExpressionTest.java     |   65 -
 .../org/apache/tsfile/read/GetAllDevicesTest.java  |   95 -
 ...easurementChunkMetadataListMapIteratorTest.java |  204 -
 .../apache/tsfile/read/ReadInPartitionTest.java    |  233 -
 .../test/java/org/apache/tsfile/read/ReadTest.java |  409 -
 .../tsfile/read/TimePlainEncodeReadTest.java       |  416 -
 .../tsfile/read/TimeSeriesMetadataReadTest.java    |   96 -
 .../tsfile/read/TsFileDeviceIteratorTest.java      |  141 -
 .../org/apache/tsfile/read/TsFileReaderTest.java   |  556 --
 .../tsfile/read/TsFileRestorableReaderTest.java    |   65 -
 .../tsfile/read/TsFileSequenceReaderTest.java      |  265 -
 ...quenceReaderTimeseriesMetadataIteratorTest.java |   62 -
 .../read/TsFileV4ReadWriteInterfacesTest.java      |  121 -
 .../tsfile/read/UnClosedTsFileReaderTest.java      |   74 -
 .../apache/tsfile/read/common/BatchDataTest.java   |   84 -
 .../org/apache/tsfile/read/common/ColumnTest.java  |  608 --
 .../org/apache/tsfile/read/common/FieldTest.java   |   32 -
 .../org/apache/tsfile/read/common/PathTest.java    |  224 -
 .../apache/tsfile/read/common/TimeRangeTest.java   |  492 -
 .../tsfile/read/controller/ChunkLoaderTest.java    |   67 -
 .../controller/IMetadataQuerierByFileImplTest.java |  150 -
 .../tsfile/read/filter/BinaryOperatorsTest.java    |  172 -
 .../tsfile/read/filter/BooleanOperatorsTest.java   |  160 -
 .../tsfile/read/filter/FilterSerializeTest.java    |  440 -
 .../apache/tsfile/read/filter/FilterTestUtil.java  |  107 -
 .../tsfile/read/filter/GroupByFilterTest.java      |  127 -
 .../tsfile/read/filter/GroupByMonthFilterTest.java |  278 -
 .../read/filter/IExpressionOptimizerTest.java      |  308 -
 .../read/filter/MinTimeMaxTimeFilterTest.java      |  211 -
 .../tsfile/read/filter/NullOperatorsTest.java      |   41 -
 .../tsfile/read/filter/NumericalOperatorsTest.java |  149 -
 .../apache/tsfile/read/filter/OperatorTest.java    |  191 -
 .../filter/PredicateRemoveNotRewriterTest.java     |  160 -
 .../tsfile/read/filter/StatisticsFilterTest.java   |  496 -
 .../tsfile/read/filter/TsBlockFilterTest.java      |  185 -
 .../apache/tsfile/read/query/ResultSetTest.java    |  281 -
 .../read/query/executor/QueryExecutorTest.java     |  165 -
 .../tsfile/read/query/timegenerator/NodeTest.java  |  100 -
 .../read/query/timegenerator/ReadWriteTest.java    |  196 -
 .../query/timegenerator/ReaderByTimestampTest.java |  109 -
 .../timegenerator/TimeGeneratorReadEmptyTest.java  |  160 -
 .../timegenerator/TimeGeneratorReadWriteTest.java  |  196 -
 .../query/timegenerator/TimeGeneratorTest.java     |   98 -
 .../TsFileGeneratorForSeriesReaderByTimestamp.java |  280 -
 .../AlignedChunkReaderWithoutStatisticsTest.java   |  122 -
 .../read/reader/AlignedPageReaderPushDownTest.java |  549 --
 .../apache/tsfile/read/reader/ChunkReaderTest.java |  109 -
 .../reader/ChunkReaderWithoutStatisticsTest.java   |  110 -
 .../tsfile/read/reader/FakedBatchReader.java       |   55 -
 .../tsfile/read/reader/FakedMultiBatchReader.java  |   59 -
 .../reader/LazyLoadAlignedPagePointReaderTest.java |  170 -
 .../tsfile/read/reader/PageReaderPushDownTest.java |  147 -
 .../apache/tsfile/read/reader/PageReaderTest.java  |  314 -
 .../org/apache/tsfile/read/reader/ReaderTest.java  |  139 -
 .../read/reader/TsFileReaderEmptyChunkTest.java    |  183 -
 .../read/reader/chunk/TableChunkReaderTest.java    |  108 -
 .../apache/tsfile/tableview/PerformanceTest.java   |  373 -
 .../apache/tsfile/tableview/TableSchemaTest.java   |  140 -
 .../org/apache/tsfile/tableview/TableViewTest.java |  540 --
 .../java/org/apache/tsfile/utils/BitMapTest.java   |  107 -
 .../org/apache/tsfile/utils/BloomFilterTest.java   |   66 -
 .../org/apache/tsfile/utils/BytesUtilsTest.java    |  430 -
 .../org/apache/tsfile/utils/DateUtilsTest.java     |  114 -
 .../org/apache/tsfile/utils/EncodingUtils.java     |   41 -
 .../org/apache/tsfile/utils/FileGenerator.java     |  362 -
 .../org/apache/tsfile/utils/FilePathUtilsTest.java |  100 -
 .../java/org/apache/tsfile/utils/FileUtils.java    |   83 -
 .../org/apache/tsfile/utils/FileUtilsTest.java     |   51 -
 .../java/org/apache/tsfile/utils/PairTest.java     |   72 -
 .../utils/ReadWriteForEncodingUtilsTest.java       |   61 -
 .../apache/tsfile/utils/ReadWriteIOUtilsTest.java  |  222 -
 .../tsfile/utils/ReadWriteStreamUtilsTest.java     |  163 -
 .../tsfile/utils/ReadWriteToBytesUtilsTest.java    |   66 -
 .../java/org/apache/tsfile/utils/RecordUtils.java  |  121 -
 .../org/apache/tsfile/utils/RecordUtilsTest.java   |  187 -
 .../apache/tsfile/utils/StringContainerTest.java   |  175 -
 .../org/apache/tsfile/utils/TimeDurationTest.java  |   73 -
 .../tsfile/utils/TsFileGeneratorForTest.java       |  339 -
 .../org/apache/tsfile/utils/TsFileUtilsTest.java   |   72 -
 .../apache/tsfile/utils/TsPrimitiveTypeTest.java   |   78 -
 .../java/org/apache/tsfile/utils/TypeCastTest.java |  161 -
 .../tsfile/write/DefaultSchemaTemplateTest.java    |  112 -
 .../tsfile/write/MetadataIndexConstructorTest.java |  506 --
 .../java/org/apache/tsfile/write/PerfTest.java     |  234 -
 .../org/apache/tsfile/write/ReadPageInMemTest.java |  189 -
 ...SameMeasurementsWithDifferentDataTypesTest.java |  215 -
 .../apache/tsfile/write/TsFileIOWriterTest.java    |  231 -
 .../tsfile/write/TsFileIntegrityCheckingTool.java  |  253 -
 .../apache/tsfile/write/TsFileReadWriteTest.java   |  261 -
 .../apache/tsfile/write/TsFileWriteApiTest.java    |  974 --
 .../org/apache/tsfile/write/TsFileWriterTest.java  |  350 -
 .../java/org/apache/tsfile/write/WriteTest.java    |  289 -
 .../org/apache/tsfile/write/record/TabletTest.java |  300 -
 .../write/schema/converter/SchemaBuilderTest.java  |  153 -
 .../write/writer/AlignedChunkWriterImplTest.java   |  181 -
 .../write/writer/ForceAppendTsFileWriterTest.java  |  123 -
 .../writer/MeasurementSchemaSerializeTest.java     |   57 -
 .../apache/tsfile/write/writer/PageWriterTest.java |  220 -
 .../write/writer/RestorableTsFileIOWriterTest.java |  507 --
 .../tsfile/write/writer/TestTsFileOutput.java      |   75 -
 .../tsfile/write/writer/TimeChunkWriterTest.java   |  165 -
 .../tsfile/write/writer/TimePageWriterTest.java    |  171 -
 .../writer/TsFileIOWriterMemoryControlTest.java    | 1364 ---
 .../tsfile/write/writer/ValueChunkWriterTest.java  |  109 -
 .../tsfile/write/writer/ValuePageWriterTest.java   |  291 -
 .../write/writer/VectorMeasurementSchemaStub.java  |  138 -
 java/tsfile/src/test/resources/logback.xml         |  124 -
 java/tsfile/src/test/resources/v3TsFile            |  Bin 378 -> 0 bytes
 jenkins.pom                                        |   67 -
 pom.xml                                            | 1081 ---
 python/README-zh.md                                |   34 -
 python/README.md                                   |   66 -
 python/VersionUpdater.groovy                       |   41 -
 python/examlpes.py                                 |   82 -
 python/pom.xml                                     |  207 -
 python/requirements.txt                            |   25 -
 python/setup.py                                    |  122 -
 python/test.py                                     |  165 -
 python/tsfile/__init__.py                          |   18 -
 python/tsfile/tsfile.pxd                           |  104 -
 python/tsfile/tsfile.py                            |  145 -
 python/tsfile/tsfile_pywrapper.pyx                 |  348 -
 1572 files changed, 3 insertions(+), 290530 deletions(-)

diff --git a/.github/workflows/code-coverage.yml b/.github/workflows/code-coverage.yml
deleted file mode 100644
index ef9524e1e..000000000
--- a/.github/workflows/code-coverage.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Code Coverage
-on:
-  push:
-    branches:
-      - develop
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-  pull_request:
-    branches:
-      - develop
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-
-jobs:
-  codecov:
-    runs-on: ubuntu-22.04
-    if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'apache/tsfile' || github.event_name == 'push'
-
-    steps:
-      - uses: actions/checkout@v4
-      - name: Cache Maven packages
-        uses: actions/cache@v4
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
-      - name: Generate code coverage reports
-        run: |
-          sudo apt-get install lcov
-          ./mvnw -B -P with-java,with-cpp,with-python,with-code-coverage clean verify
-          lcov --capture --directory cpp/target/build/test --output-file cpp/target/build/test/coverage.info
-          lcov --remove cpp/target/build/test/coverage.info '*/tsfile/cpp/test/*' --output-file cpp/target/build/test/coverage_filtered.info
-          genhtml cpp/target/build/test/coverage_filtered.info --output-directory cpp/target/build/test/coverage_report
-          rm -rf cpp/target/build/test/CMakeFiles/TsFile_Test.dir
-          rm -rf cpp/target/build/test/coverage.info
-      - name: Upload coverage reports to codecov
-        uses: codecov/codecov-action@v5
-        with:
-          token: ${{ secrets.CODECOV_TOKEN }}
-          files: java/tsfile/target/jacoco-merged-reports/jacoco.xml,cpp/target/build/test/coverage_report/index.html
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
deleted file mode 100644
index 4ae549952..000000000
--- a/.github/workflows/codeql.yml
+++ /dev/null
@@ -1,79 +0,0 @@
-# For most projects, this workflow file will not need changing; you simply need
-# to commit it to your repository.
-#
-# You may wish to alter this file to override the set of languages analyzed,
-# or to provide custom queries or build logic.
-#
-# ******** NOTE ********
-# We have attempted to detect the languages in your repository. Please check
-# the `language` matrix defined below to confirm you have the correct set of
-# supported CodeQL languages.
-#
-name: "CodeQL"
-
-on:
-  push:
-    branches:
-      - develop
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-
-jobs:
-  analyze:
-    name: Analyze (${{ matrix.language }})
-    # Runner size impacts CodeQL analysis time. To learn more, please see:
-    #   - https://gh.io/recommended-hardware-resources-for-running-codeql
-    #   - https://gh.io/supported-runners-and-hardware-resources
-    #   - https://gh.io/using-larger-runners (GitHub.com only)
-    # Consider using larger runners or machines with greater resources for possible analysis time improvements.
-    runs-on: ${{ (matrix.language == 'c-cpp' && 'macos-latest') || 'ubuntu-latest' }}
-    timeout-minutes: ${{ 360 }}
-    permissions:
-      # required for all workflows
-      security-events: write
-
-      # required to fetch internal or private CodeQL packs
-      packages: read
-
-      # only required for workflows in private repositories
-      actions: read
-      contents: read
-
-    strategy:
-      fail-fast: false
-      matrix:
-        include:
-        - language: c-cpp
-          build-mode: autobuild
-        - language: java-kotlin
-          build-mode: none # This mode only analyzes Java. Set this to 'autobuild' or 'manual' to analyze Kotlin too.
-        - language: python
-          build-mode: none
-        # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
-        # Use `c-cpp` to analyze code written in C, C++ or both
-        # Use 'java-kotlin' to analyze code written in Java, Kotlin or both
-        # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
-        # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
-        # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
-        # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
-        # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
-    steps:
-    - name: Checkout repository
-      uses: actions/checkout@v4
-
-    # Initializes the CodeQL tools for scanning.
-    - name: Initialize CodeQL
-      uses: github/codeql-action/init@v3
-      with:
-        languages: ${{ matrix.language }}
-        build-mode: ${{ matrix.build-mode }}
-    - name: Manual build
-      if: matrix.build-mode == 'manual'
-      run: |
-        .\mvnw.cmd clean package -P with-cpp
-
-    - name: Perform CodeQL Analysis
-      uses: github/codeql-action/analyze@v3
-      with:
-        category: "/language:${{matrix.language}}"
diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml
index a9ecf0f7b..a6065b698 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -3,12 +3,12 @@ name: Site Build
 on:
   push:
     branches:
-      - develop
+      - 'docs/**'
     paths:
       - 'docs/**'
   pull_request:
     branches:
-      - develop
+      - 'docs/**'
     paths:
       - 'docs/**'
   # allow manually run the action:
@@ -56,7 +56,7 @@ jobs:
 
   deploy:
     runs-on: ubuntu-latest
-    if: github.event_name == 'workflow_dispatch' && github.ref_name == 'develop' || github.event_name == 'push'
+    if: github.event_name == 'workflow_dispatch' && startsWith(github.ref_name, 'docs') || github.event_name == 'push'
 
     steps:
       - uses: actions/checkout@v4
diff --git a/.github/workflows/unit-test-cpp-py.yml b/.github/workflows/unit-test-cpp-py.yml
deleted file mode 100644
index f4833e1f1..000000000
--- a/.github/workflows/unit-test-cpp-py.yml
+++ /dev/null
@@ -1,88 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Unit-Test-Cpp-Py
-
-on:
-  push:
-    branches:
-      - develop
-      - iotdb
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-      - 'java/**'
-  pull_request:
-    branches:
-      - develop
-      - iotdb
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-      - 'java/**'
-  # Enable manually starting builds, and allow forcing updating of SNAPSHOT dependencies.
-  workflow_dispatch:
-    inputs:
-      forceUpdates:
-        description: "Forces a snapshot update"
-        required: false
-        default: 'false'
-
-concurrency:
-  group: ${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
-
-env:
-  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
-  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
-
-jobs:
-  unit-test:
-    strategy:
-      fail-fast: false
-      max-parallel: 15
-      matrix:
-        os: [ ubuntu-latest, macos-latest, windows-latest ]
-    runs-on: ${{ matrix.os }}
-
-    steps:
-
-      - name: Checkout repository
-        uses: actions/checkout@v4
-
-      # Setup caching of the artifacts in the .m2 directory, so they don't have to
-      # all be downloaded again for every build.
-      - name: Cache Maven packages
-        uses: actions/cache@v4
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
-
-      # On Windows systems the 'mvnw' script needs an additional ".cmd" appended.
-      - name: Calculate platform suffix
-        id: platform_suffix
-        uses: actions/github-script@v7.0.1
-        env:
-          OS: ${{ matrix.os }}
-        with:
-          script: |
-            const { OS } = process.env
-            if (OS.includes("windows")) {
-              core.setOutput('platform_suffix', `.cmd`)
-            } else {
-              core.setOutput('platform_suffix', ``)
-            }
-
-      # Run the actual maven build including all tests.
-      - name: Build and test with Maven
-        shell: bash
-        run: |
-          ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-cpp,with-python clean verify
-
-      - name: Upload whl Artifact
-        uses: actions/upload-artifact@v4
-        with:
-          name: tsfile-${{ runner.os }}-whl
-          path: python/dist/tsfile-*.whl
-          retention-days: 1
diff --git a/.github/workflows/unit-test-java.yml b/.github/workflows/unit-test-java.yml
deleted file mode 100644
index 2e0cbf484..000000000
--- a/.github/workflows/unit-test-java.yml
+++ /dev/null
@@ -1,90 +0,0 @@
-# This workflow will build a Java project with Maven
-# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
-name: Unit-Test-Java
-
-on:
-  push:
-    branches:
-      - develop
-      - iotdb
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-      - 'cpp/**'
-      - 'python/**'
-  pull_request:
-    branches:
-      - develop
-      - iotdb
-      - rc/*
-    paths-ignore:
-      - 'docs/**'
-      - 'cpp/**'
-      - 'python/**'
-  # Enable manually starting builds, and allow forcing updating of SNAPSHOT dependencies.
-  workflow_dispatch:
-    inputs:
-      forceUpdates:
-        description: "Forces a snapshot update"
-        required: false
-        default: 'false'
-
-concurrency:
-  group: ${{ github.workflow }}-${{ github.ref }}
-  cancel-in-progress: true
-
-env:
-  MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
-  DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
-
-jobs:
-  unit-test:
-    strategy:
-      fail-fast: false
-      max-parallel: 15
-      matrix:
-        java: [ 8, 17, 21 ]
-        os: [ ubuntu-latest, macos-latest, windows-latest ]
-    runs-on: ${{ matrix.os }}
-
-    steps:
-
-      - name: Checkout repository
-        uses: actions/checkout@v4
-
-      - name: Set up JDK ${{ matrix.java }}
-        uses: actions/setup-java@v4
-        with:
-          distribution: corretto
-          java-version: ${{ matrix.java }}
-
-      # Setup caching of the artifacts in the .m2 directory, so they don't have to
-      # all be downloaded again for every build.
-      - name: Cache Maven packages
-        uses: actions/cache@v4
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
-
-      # On Windows systems the 'mvnw' script needs an additional ".cmd" appended.
-      - name: Calculate platform suffix
-        id: platform_suffix
-        uses: actions/github-script@v7.0.1
-        env:
-          OS: ${{ matrix.os }}
-        with:
-          script: |
-            const { OS } = process.env
-            if (OS.includes("windows")) {
-              core.setOutput('platform_suffix', `.cmd`)
-            } else {
-              core.setOutput('platform_suffix', ``)
-            }
-
-      # Run the actual maven build including all tests.
-      - name: Build and test with Maven
-        shell: bash
-        run: |
-          ./mvnw${{ steps.platform_suffix.outputs.platform_suffix }} -P with-java clean verify
diff --git a/Jenkinsfile b/Jenkinsfile
deleted file mode 100644
index c45b117a5..000000000
--- a/Jenkinsfile
+++ /dev/null
@@ -1,168 +0,0 @@
-#!groovy
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-pipeline {
-
-    agent {
-        node {
-            label 'ubuntu'
-        }
-    }
-
-    environment {
-        // Testfails will be handled by the jenkins junit steps and mark the build as unstable.
-        MVN_TEST_FAIL_IGNORE = '-Dmaven.test.failure.ignore=true'
-    }
-
-    tools {
-        maven 'maven_3_latest'
-        jdk 'jdk_11_latest'
-    }
-
-    options {
-        timeout(time: 1, unit: 'HOURS')
-        // When we have test-fails e.g. we don't need to run the remaining steps
-        skipStagesAfterUnstable()
-    }
-
-    stages {
-        stage('Initialization') {
-            steps {
-                echo 'Building Branch: ' + env.BRANCH_NAME
-                echo 'Using PATH = ' + env.PATH
-            }
-        }
-
-        stage('Checkout') {
-            steps {
-                echo 'Checking out branch ' + env.BRANCH_NAME
-                checkout scm
-            }
-        }
-
-        stage('Build and UT') {
-            when {
-                expression {
-                    env.BRANCH_NAME ==~ "(develop)|(rel/.*) |(jenkins-.*)"
-                }
-            }
-            steps {
-                echo 'Building and Unit Test...'
-                sh "mvn ${MVN_TEST_FAIL_IGNORE} -P with-java clean install"
-            }
-            post {
-                always {
-                    junit(testResults: '**/surefire-reports/*.xml', allowEmptyResults: true)
-                    junit(testResults: '**/failsafe-reports/*.xml', allowEmptyResults: true)
-                }
-            }
-        }
-
-        stage('Deploy Prepare') {
-            when {
-                expression {
-                    env.BRANCH_NAME ==~ "(develop)"
-                }
-            }
-            steps {
-                echo 'Deploy Prepare'
-                // We'll deploy to a relative directory so we can
-                // deploy new versions only if the entire build succeeds
-                sh "mvn -T 1C -DaltDeploymentRepository=snapshot-repo::default::file:./local-snapshots-dir clean deploy -DskipTests"
-            }
-        }
-
-        stage('Deploy') {
-            when {
-                expression {
-                    env.BRANCH_NAME ==~ "(develop)"
-                }
-            }
-            steps {
-                echo 'Deploying'
-                // Deploy the artifacts using the wagon-maven-plugin.
-                sh 'mvn -f jenkins.pom -X -P deploy-snapshots wagon:upload -P get-jar-with-dependencies'
-            }
-        }
-
-        stage('Cleanup') {
-            steps {
-                echo 'Cleaning up the workspace'
-                deleteDir()
-            }
-        }
-    }
-
-    // Send out notifications on unsuccessful builds.
-    post {
-        // If this build failed, send an email to the list.
-        failure {
-            script {
-                if(env.BRANCH_NAME == "develop") {
-                    emailext(
-                        subject: "[BUILD-FAILURE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-FAILURE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
-
-Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
-""",
-                        to: "dev@tsfile.apache.org"
-                    )
-                }
-            }
-        }
-
-        // If this build didn't fail, but there were failing tests, send an email to the list.
-        unstable {
-            script {
-                if(env.BRANCH_NAME == "develop") {
-                    emailext(
-                        subject: "[BUILD-UNSTABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-UNSTABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
-
-Check console output at "<a href="${env.BUILD_URL}">${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]</a>"
-""",
-                        to: "dev@tsfile.apache.org"
-                    )
-                }
-            }
-        }
-
-        // Send an email, if the last build was not successful and this one is.
-        success {
-            script {
-                if ((env.BRANCH_NAME == "develop") && (currentBuild.previousBuild != null) && (currentBuild.previousBuild.result != 'SUCCESS')) {
-                    emailext (
-                        subject: "[BUILD-STABLE]: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]'",
-                        body: """
-BUILD-STABLE: Job '${env.JOB_NAME} [${env.BRANCH_NAME}] [${env.BUILD_NUMBER}]':
-
-Is back to normal.
-""",
-                        to: "dev@tsfile.apache.org"
-                    )
-                }
-            }
-        }
-    }
-
-}
diff --git a/README-zh.md b/README-zh.md
deleted file mode 100644
index 8bcd39d98..000000000
--- a/README-zh.md
+++ /dev/null
@@ -1,130 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-[English](./README.md) | [中文](./README-zh.md)
-# TsFile Document
-<pre>
-___________    ___________.__.__          
-\__    ___/____\_   _____/|__|  |   ____  
-  |    | /  ___/|    __)  |  |  | _/ __ \ 
-  |    | \___ \ |     \   |  |  |_\  ___/ 
-  |____|/____  >\___  /   |__|____/\___  >  version 2.1.0
-             \/     \/                 \/  
-</pre>
-[![codecov](https://codecov.io/github/apache/tsfile/graph/badge.svg?token=0Y8MVAB3K1)](https://codecov.io/github/apache/tsfile)
-[![Maven Version](https://maven-badges.herokuapp.com/maven-central/org.apache.tsfile/tsfile-parent/badge.svg)](http://search.maven.org/#search|gav|1|g:"org.apache.tsfile")
-
-## 简介
-
-TsFile是一种为时间序列数据设计的列式存储文件格式,它支持高效压缩、高读写吞吐量,并且兼容多种框架,如Spark和Flink。TsFile很容易集成到物联网大数据处理框架中。
-
-时序数据即时间序列数据,是指带时间标签(按照时间的顺序变化,即时间序列化)的数据,其来源多元、数据量庞大,可广泛应用于物联网、智能制造、金融分析等领域。在数据驱动的当下,时序数据的重要性不言而喻。
-
-尽管时序数据如此普遍且重要,但长期以来,时序数据的管理都缺乏标准化的文件格式。TsFile 的出现为用户管理时序数据提供了统一的文件格式。
-
-[点击查看更多](https://www.timecho.com/archives/tian-bu-shi-chang-kong-bai-apache-tsfile-ru-he-chong-xin-ding-yi-shi-xu-shu-ju-guan-li)
-
-
-## TsFile 特性
-
-TsFile 通过自研实现了时序数据高效率管理、高灵活传输,并支持多类软件深度集成。其特性包括:
-
-- 时序模型:专门为物联网设计的数据模型,每个时间序列与特定设备相关联,所有设备通过分层结构相互连接;
-
-- 跨语言独立使用:可以使用多种语言的 SDK 直接读写 TsFile,使得一些轻量级的数据读写场景成为可能。
-
-- 高效写入和压缩:为时间序列量身定制的列式存储格式,将数据按设备进行组织,并保证每个序列的数据连续存储,最小化存储空间。相比 CSV,压缩比可提升 90% 以上。
-
-- 高查询性能:通过设备、物理量和时间维度索引,TsFile 实现了基于特定时间范围的时序数据快速过滤和查询。相比通用文件格式,查询吞吐可提升 2-10 倍。
-
-- 开放集成:TsFile 是时序数据库 IoTDB 的底层存储文件格式,可与 IoTDB 形成可插拔的存算分离架构。TsFile 支持与 Spark、Flink 等大数据软件建立无缝生态集成,从而确保跨不同数据处理环境的兼容性和互操作性,实现时序数据跨生态深度分析。
-
-## TsFile 基本概念
-
-TsFile 可管理多个设备的时序数据。每个设备可具有不同的物理量。
-
-每个设备的每个物理量对应一条时间序列。
-
-TsFile 数据模型(Schema)定义了所有设备物理量的集合,如下表所示(m1 ~ m5)
-
-| Time | deviceId | m1 | m2 | m3 | m4 | m5 |
-|------|----------|----|----|----|----|----|
-| 1    | device1  | 1  | 2  | 3  |    |    |
-| 2    | device1  | 1  | 2  | 3  |    |    |
-| 3    | device2  | 1  |    | 3  | 4  | 5  |
-| 4    | device2  | 1  |    | 3  | 4  | 5  |
-| 5    | device3  | 1  | 2  | 3  | 4  | 5  |
-
-其中 Time 和 deviceId 为内置字段,无需定义,可直接写入。
-
-## TsFile 设计原理
-
-### 文件结构
-
-下为 Apache TsFile 的文件结构。
-
-- Page:一段连续的时序数据,存储的基本单元,按时间升序排序,时间戳和值各有单独的列进行存储。
-
-- Chunk:由同一序列的多个连续的 Page 组成,一个文件同一个序列可以存储多个 Chunk。
-
-- ChunkGroup:由一个设备的一至多个 Chunk 组成,多个 Chunk 可共享一列时间存储(多值模型)。
-
-- Index:TsFile 末尾的元数据文件包含序列内部时间维度的索引和序列间的索引信息。
-
-![TsFile 文件结构](https://alioss.timecho.com/docs/img/tsfile.jpeg)
-
-### 编码和压缩
-
-TsFile 通过采用二阶差分编码、游程编码(RLE)、位压缩和 Snappy 等先进的编码和压缩技术,优化时序数据的存储和访问,并支持对时间戳列和数据值列进行单独编码,以实现更好的数据处理效能。
-
-其独特之处在于编码算法专为时序数据特性设计,聚焦在时间属性和数据之间的相关性。
-
-TsFile、CSV 和 Parquet 三种文件格式的比较
-
-| 维度    | TsFile | CSV | Parquet |
-|---------|--------|-----|---------|
-| 数据模型 | 物联网时序  | 无   | 嵌套     |
-| 写入模式 | 批, 行     | 行   | 行       |
-| 压缩    | 有         | 无   | 有       |
-| 读取模式 | 查询, 扫描  | 扫描 | 查询     |
-| 序列索引 | 有         | 无   | 无       |
-| 时间索引 | 有         | 无   | 无       |
-
-基于对时序数据应用需求的深刻理解,TsFile 有助于实现时序数据高压缩比和实时访问速度,并为企业进一步构建高效、可扩展、灵活的数据分析平台提供底层文件技术支撑。
-
-| 数据类型    | 推荐编码       | 推荐压缩算法 |
-|---------|------------|--------|
-| INT32   | TS_2DIFF   | LZ4    |
-| INT64   | TS_2DIFF   | LZ4    |
-| FLOAT   | GORILLA    | LZ4    |
-| DOUBLE  | GORILLA    | LZ4    |
-| BOOLEAN | RLE        | LZ4    |
-| TEXT    | DICTIONARY | LZ4    |
-
-更多类型的编码和压缩方式参见[文档](https://iotdb.apache.org/zh/UserGuide/latest/Basic-Concept/Encoding-and-Compression.html)
-
-## 开发和使用 TsFile
-
-[Java](./java/tsfile/README-zh.md)
-
-[C++](./cpp/README-zh.md)
-
-[Python](./python/README-zh.md)
diff --git a/README.md b/README.md
deleted file mode 100644
index cbfb2bc23..000000000
--- a/README.md
+++ /dev/null
@@ -1,129 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-[English](./README.md) | [中文](./README-zh.md)
-# TsFile Document
-<pre>
-___________    ___________.__.__          
-\__    ___/____\_   _____/|__|  |   ____  
-  |    | /  ___/|    __)  |  |  | _/ __ \ 
-  |    | \___ \ |     \   |  |  |_\  ___/ 
-  |____|/____  >\___  /   |__|____/\___  >  version 2.1.0
-             \/     \/                 \/  
-</pre>
-[![codecov](https://codecov.io/github/apache/tsfile/graph/badge.svg?token=0Y8MVAB3K1)](https://codecov.io/github/apache/tsfile)
-[![Maven Version](https://maven-badges.herokuapp.com/maven-central/org.apache.tsfile/tsfile-parent/badge.svg)](http://search.maven.org/#search|gav|1|g:"org.apache.tsfile")
-
-## Introduction
-
-TsFile is a columnar storage file format designed for time series data, which supports efficient compression, high throughput of read and write, and compatibility with various frameworks, such as Spark and Flink. It is easy to integrate TsFile into IoT big data processing frameworks.
-
-Time series data is becoming increasingly important in a wide range of applications, including IoT, intelligent control, finance, log analysis, and monitoring systems. 
-
-TsFile is the first existing standard file format for time series data. Despite the widespread presence and significance of temporal data, there has been a longstanding absence of standardized file formats for its management. The advent of TsFile introduces a unified file format to facilitate users in managing temporal data.
-
-[Click for More Information](https://www.timecho-global.com/archives/apache-tsfile-time-series-data-storage-redefined)
-
-## TsFile Features
-
-TsFile offers several distinctive features and benefits:
-
-- Multi Language Independent Use: Multiple language SDK can be used to directly read and write TsFile, making it possible for some lightweight data reading and writing scenarios.
-
-- Efficient Writing and Compression: A column storage format tailored for time series, organizing data by device and ensuring continuous storage of data for each sequence, minimizing storage space. Compared to CSV, the compression ratio can be increased by more than 90%.
-
-- High Query Performance: By indexing devices, measurement, and time dimensions, TsFile implements fast filtering and querying of temporal data based on specific time ranges. Compared to general file formats, query throughput can be increased by 2-10 times.
-
-- Open Integration: TsFile is the underlying storage file format of the temporal database IoTDB, which can form a pluggable storage computing separation architecture with IoTDB. TsFile supports compatibility with Spark Flink and other big data software establish seamless ecosystem integration to ensure compatibility and interoperability across different data processing environments, and achieve deep analysis of temporal data across ecosystems.
-
-## TsFile Basic Concepts
-
-TsFile can manage the time series data of multiple devices. Each device can have different measurement.
-
-Each measurement of each device corresponds to a time series.
-
-The TsFile Scheme defines a set of measurement for all devices, as shown in the table below (m1~m5)
-
-| Time | deviceId | m1 | m2 | m3 | m4 | m5 |
-|------|----------|----|----|----|----|----|
-| 1    | device1  | 1  | 2  | 3  |    |    |
-| 2    | device1  | 1  | 2  | 3  |    |    |
-| 3    | device2  | 1  |    | 3  | 4  | 5  |
-| 4    | device2  | 1  |    | 3  | 4  | 5  |
-| 5    | device3  | 1  | 2  | 3  | 4  | 5  |
-
-Among them, Time and deviceId are built-in fields that do not need to be defined and can be written directly.
-
-## TsFile Design
-
-### File Structure
-
-TsFile adopts a columnar storage design, similar to other file formats, primarily to optimize time-series data's storage efficiency and query performance. This design aligns with the nature of time series data, which often involves large volumes of similar data types recorded over time. However, TsFile was developed particularly with a structure of page, chunk, chunk group, and index:
-
-- Page: The basic unit for storing time series data, sorted by time in ascending order with separate columns for timestamps and values.
-
-- Chunk: Comprising metadata headers and several pages, each chunk belongs to one time series, with variable sizes allowing for different compression and encoding methods.
-
-- Chunk Group: Multiple chunks within a chunk group belong to one or multiple series of a device written in the same period, facilitating efficient query processing.
-
-- Index: The file metadata at the end of TsFile contains a chunk-level index and file-level statistics for efficient data access.
-
-![TsFile Architecture](https://alioss.timecho.com/docs/img/tsfile.jpeg)
-
-## Encoding and Compression
-
-TsFile employs advanced encoding and compression techniques to optimize storage and access for time series data. It uses methods like run-length encoding (RLE), bit-packing, and Snappy for efficient compression, allowing separate encoding of timestamp and value columns for better data processing. Its unique encoding algorithms are designed specifically for the characteristics of time series data in IoT scenarios, focusing on regular time intervals and the correlation among series. 
-
-Its uniqueness lies in the encoding algorithm designed specifically for time series data characteristics, focusing on the correlation between time attributes and data.
-
-The table below compares 3 file formats in different dimensions.
-
-TsFile, CSV and Parquet in Comparison
-
-| Dimension       | TsFile       | CSV   | Parquet |
-|-----------------|--------------|-------|---------|
-| Data Model      | IoT          | Plain | Nested  |
-| Write Mode      | Tablet, Line | Line  | Line    |
-| Compression     | Yes          | No    | Yes     |
-| Read Mode       | Query, Scan  | Scan  | Query   |
-| Index on Series | Yes          | No    | No      |
-| Index on Time   | Yes          | No    | No      |
-
-Its development facilitates efficient data encoding, compression, and access, reflecting a deep understanding of industry needs, pioneering a path toward efficient, scalable, and flexible data analytics platforms.
-
-| Data Type    | Recommended Encoding       | Recommended Compression |
-|---------|------------|--------|
-| INT32   | TS_2DIFF   | LZ4    |
-| INT64   | TS_2DIFF   | LZ4    |
-| FLOAT   | GORILLA    | LZ4    |
-| DOUBLE  | GORILLA    | LZ4    |
-| BOOLEAN | RLE        | LZ4    |
-| TEXT    | DICTIONARY | LZ4    |
-
-more see [Docs](https://iotdb.apache.org/UserGuide/latest/Basic-Concept/Encoding-and-Compression.html)
-
-## Build and Use TsFile
-
-[Java](./java/tsfile/README.md)
-
-[C++](./cpp/README.md)
-
-[Python](./python/README.md)
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
deleted file mode 100644
index 8b557d78d..000000000
--- a/RELEASE_NOTES.md
+++ /dev/null
@@ -1,81 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-# Apache TsFile 2.0.0
-
-## New Feature
-- TsFile V4 for Table Model by @jt2594838 in #196
-- Support dictionary encoding for STRING data type. by @jt2594838 in #238
-- Modify default timestamp encoding by @shuwenwei in #309
-- Tsfile java interfaces v4 by @shuwenwei in #307
-- Convert column name and table name to lower case by @shuwenwei in #322
-- Add type cast interfaces in TsDataType by @jt2594838 in #332
-
-## Improvement/Bugfix
-- Fix allSatisfy bug in InFilter by @JackieTien97 in #219
-- Fix bug in the conversion of int types to timestamp. by @FearfulTomcat27 in #223
-- Fix getValue method in Tablet doesn't support Date and Timestamp type by @HTHou in #243
-- Fix error when write aligned tablet with null date by @HTHou in #250
-- Fix tablet isNull method not correct by @HTHou in #255
-- Fixed the issue that the time of the first data item written to TSFile by measurement cannot be a negative number by @luoluoyuyu in #297
-- Fix float encoder overflow by @HTHou in #342
-
-# Apache TsFile 1.1.0
-
-## New Feature
-- Support new data types: STRING, BLOB, TIMESTAMP, DATE by @Cpaulyz in #76
-- Add an equivalent .getLongs() method to .getTimes() in TimeColumn. by @Sh-Zh-7 in #61
-- Return all columns in TsBlock class by @Sh-Zh-7 in #80
-
-## Improvement/Bugfix
-
-- Fix value filter allSatisfy bug by @liuminghui233 in #41
-- Fix error log caused by ClosedByInterruptException by @shuwenwei in #47
-- Fix the mistaken argument in LZ4 Uncompressor by @jt2594838 in #57
-- Remove duplicate lookups in dictionary encoder by @MrQuansy in #54
-- Optimize SeriesScanUtil by memorizing the order time and satisfied information for each Seq and Unseq Resource by @JackieTien97 in #58
-- Fix TsBlockBuilder bug in AlignedPageReader and PageReader. by @JackieTien97 in #77
-- Fix ZstdUncompressor by @lancelly in #132
-- fix RLBE Encoding for float and double by @gzh23 in #143
-- Fix uncompress page data by @shuwenwei in #161
-- Fix encoder and decoder construction of RLBE by @jt2594838 in #162
-- Fix aligned TimeValuePair npe by @shuwenwei in #173
-- Fix StringStatistics data type by @shuwenwei in #177
-- Fix bug in the conversion of int types to timestamp. by @FearfulTomcat27 in #224
-- Fix error when write aligned tablet with null date by @HTHou in #251
-
-# Apache TsFile 1.0.0
-
-## New Features
-
-- Support registering devices
-- Support registering measurements
-- Support adding additional measurements
-- Support writing timeseries data without pre-defined schema
-- Support writing timeseries data with pre-defined schema
-- Support writing with tsRecord
-- Support writing with Tablet
-- Support writing data into a closed TsFile
-- Support query timeseries data without any filter
-- Support query timeseries data with time filter
-- Support query timeseries data with value filter
-- Support BOOLEAN, INT32, INT64, FLOAT, DOUBLE, TEXT data types
-- Support PLAIN, DICTIONARY, RLE, TS_2DIFF, GORILLA, ZIGZAG, CHIMP, SPRINTZ, RLBE encoding algorithm
-- Support UNCOMPRESSED, SNAPPY, GZIP, LZ4, ZSTD, LZMA2 compression algorithm
diff --git a/checkstyle.xml b/checkstyle.xml
deleted file mode 100644
index f1f100e69..000000000
--- a/checkstyle.xml
+++ /dev/null
@@ -1,250 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
-
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-<!--
-    Checkstyle configuration that checks the Google coding conventions from Google Java Style
-    that can be found at https://google.github.io/styleguide/javaguide.html.
-    Checkstyle is very configurable. Be sure to read the documentation at
-    http://checkstyle.sf.net (or in your downloaded distribution).
-    To completely disable a check, just comment it out or delete it from the file.
-    Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
- -->
-<module name="Checker">
-    <property name="charset" value="UTF-8"/>
-    <property name="severity" value="warning"/>
-    <property name="fileExtensions" value="java, properties, xml"/>
-    <!-- Checks for whitespace                               -->
-    <!-- See http://checkstyle.sf.net/config_whitespace.html -->
-    <module name="BeforeExecutionExclusionFileFilter">
-        <property name="fileNamePattern" value="target(\\|/).*\.java$"/>
-    </module>
-    <module name="FileTabCharacter">
-        <property name="eachLine" value="true"/>
-    </module>
-    <module name="LineLength">
-        <property name="max" value="100"/>
-        <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
-    </module>
-    <module name="SuppressWarningsFilter"/>
-    <module name="TreeWalker">
-        <module name="SuppressWarningsHolder"/>
-        <!--ERROR severity rules, each Java file should obey this -->
-        <module name="AvoidStarImport">
-            <property name="severity" value="error"/>
-        </module>
-        <module name="RegexpSinglelineJava">
-            <property name="id" value="unsafeThreadSchedule"/>
-            <property name="format" value="schedule(AtFixedRate|WithFixedDelay)\("/>
-            <property name="severity" value="error"/>
-            <property name="ignoreComments" value="true"/>
-            <property name="message" value="Using ScheduledExecutorService::schedule(AtFixedRate|WithFixedDelay) directly is unsafe, please use ScheduledExecutorUtil::(unsafely|safely)Schedule(AtFixedRate|WithFixedDelay) instead."/>
-        </module>
-        <module name="RegexpSinglelineJava">
-            <property name="id" value="invalidPlanNodeTypeUsage"/>
-            <property name="format" value="PlanNodeType\.[a-zA-Z_]*\.ordinal\("/>
-            <property name="severity" value="error"/>
-            <property name="ignoreComments" value="true"/>
-            <property name="message" value="Please use PlanNodeType::getNodeType instead."/>
-        </module>
-        <!--WARNING severity rules, which may be promoted to error level-->
-        <module name="OuterTypeFilename"/>
-        <module name="IllegalTokenText">
-            <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
-            <property name="format" value="\\u00(09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
-            <property name="message" value="Consider using special escape sequence instead of octal value or Unicode escaped value."/>
-        </module>
-        <module name="AvoidEscapedUnicodeCharacters">
-            <property name="allowEscapesForControlCharacters" value="true"/>
-            <property name="allowByTailComment" value="true"/>
-            <property name="allowNonPrintableEscapes" value="true"/>
-        </module>
-        <module name="OneTopLevelClass"/>
-        <module name="NoLineWrap"/>
-        <module name="EmptyBlock">
-            <property name="option" value="TEXT"/>
-            <property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
-        </module>
-        <module name="NeedBraces"/>
-        <module name="LeftCurly"/>
-        <module name="RightCurly">
-            <property name="id" value="RightCurlySame"/>
-            <property name="tokens" value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE,                     LITERAL_DO"/>
-        </module>
-        <module name="RightCurly">
-            <property name="id" value="RightCurlyAlone"/>
-            <property name="option" value="alone"/>
-            <property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, STATIC_INIT,                     INSTANCE_INIT"/>
-        </module>
-        <module name="WhitespaceAround">
-            <property name="allowEmptyConstructors" value="true"/>
-            <property name="allowEmptyMethods" value="true"/>
-            <property name="allowEmptyTypes" value="true"/>
-            <property name="allowEmptyLoops" value="true"/>
-            <message key="ws.notFollowed" value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
-            <message key="ws.notPreceded" value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
-        </module>
-        <module name="OneStatementPerLine"/>
-        <module name="MultipleVariableDeclarations"/>
-        <module name="ArrayTypeStyle"/>
-        <module name="MissingSwitchDefault"/>
-        <module name="FallThrough"/>
-        <module name="UpperEll"/>
-        <module name="ModifierOrder"/>
-        <module name="EmptyLineSeparator">
-            <property name="allowNoEmptyLineBetweenFields" value="true"/>
-        </module>
-        <module name="SeparatorWrap">
-            <property name="id" value="SeparatorWrapDot"/>
-            <property name="tokens" value="DOT"/>
-            <property name="option" value="nl"/>
-        </module>
-        <module name="SeparatorWrap">
-            <property name="id" value="SeparatorWrapComma"/>
-            <property name="tokens" value="COMMA"/>
-            <property name="option" value="EOL"/>
-        </module>
-        <module name="SeparatorWrap">
-            <!-- ELLIPSIS is EOL until https://github.com/google/styleguide/issues/258 -->
-            <property name="id" value="SeparatorWrapEllipsis"/>
-            <property name="tokens" value="ELLIPSIS"/>
-            <property name="option" value="EOL"/>
-        </module>
-        <module name="SeparatorWrap">
-            <!-- ARRAY_DECLARATOR is EOL until https://github.com/google/styleguide/issues/259 -->
-            <property name="id" value="SeparatorWrapArrayDeclarator"/>
-            <property name="tokens" value="ARRAY_DECLARATOR"/>
-            <property name="option" value="EOL"/>
-        </module>
-        <module name="SeparatorWrap">
-            <property name="id" value="SeparatorWrapMethodRef"/>
-            <property name="tokens" value="METHOD_REF"/>
-            <property name="option" value="nl"/>
-        </module>
-        <module name="PackageName">
-            <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
-            <message key="name.invalidPattern" value="Package name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="TypeName">
-            <message key="name.invalidPattern" value="Type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="MemberName">
-            <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9]*$"/>
-            <message key="name.invalidPattern" value="Member name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="ParameterName">
-            <property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
-            <message key="name.invalidPattern" value="Parameter name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="LambdaParameterName">
-            <property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
-            <message key="name.invalidPattern" value="Lambda parameter name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="CatchParameterName">
-            <property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
-            <message key="name.invalidPattern" value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="LocalVariableName">
-            <property name="tokens" value="VARIABLE_DEF"/>
-            <property name="format" value="^[a-z]([a-z0-9][a-zA-Z0-9]*)?$"/>
-            <message key="name.invalidPattern" value="Local variable name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="ClassTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern" value="Class type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="MethodTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern" value="Method type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="InterfaceTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern" value="Interface type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="NoFinalizer"/>
-        <module name="GenericWhitespace">
-            <message key="ws.followed" value="GenericWhitespace ''{0}'' is followed by whitespace."/>
-            <message key="ws.preceded" value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
-            <message key="ws.illegalFollow" value="GenericWhitespace ''{0}'' should followed by whitespace."/>
-            <message key="ws.notPreceded" value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
-        </module>
-        <module name="Indentation">
-            <property name="basicOffset" value="2"/>
-            <property name="braceAdjustment" value="0"/>
-            <property name="caseIndent" value="2"/>
-            <property name="throwsIndent" value="4"/>
-            <property name="lineWrappingIndentation" value="4"/>
-            <property name="arrayInitIndent" value="2"/>
-        </module>
-        <module name="AbbreviationAsWordInName">
-            <property name="ignoreFinal" value="false"/>
-            <property name="allowedAbbreviationLength" value="1"/>
-        </module>
-        <module name="OverloadMethodsDeclarationOrder"/>
-        <module name="VariableDeclarationUsageDistance"/>
-        <module name="MethodParamPad"/>
-        <module name="NoWhitespaceBefore">
-            <property name="tokens" value="COMMA, SEMI, POST_INC, POST_DEC, DOT, ELLIPSIS, METHOD_REF"/>
-            <property name="allowLineBreaks" value="true"/>
-        </module>
-        <module name="ParenPad"/>
-        <module name="OperatorWrap">
-            <property name="option" value="NL"/>
-            <property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR,                     LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR, METHOD_REF "/>
-        </module>
-        <module name="AnnotationLocation">
-            <property name="id" value="AnnotationLocationMostCases"/>
-            <property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
-        </module>
-        <module name="AnnotationLocation">
-            <property name="id" value="AnnotationLocationVariables"/>
-            <property name="tokens" value="VARIABLE_DEF"/>
-            <property name="allowSamelineMultipleAnnotations" value="true"/>
-        </module>
-        <module name="NonEmptyAtclauseDescription"/>
-        <module name="JavadocTagContinuationIndentation"/>
-        <module name="SummaryJavadoc">
-            <property name="forbiddenSummaryFragments" value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
-        </module>
-        <module name="JavadocParagraph"/>
-        <module name="AtclauseOrder">
-            <property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
-            <property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
-        </module>
-        <module name="JavadocMethod">
-            <property name="allowMissingParamTags" value="true"/>
-            <property name="validateThrows" value="true"/>
-            <property name="allowMissingReturnTag" value="true"/>
-            <property name="allowedAnnotations" value="Override, Test"/>
-        </module>
-        <module name="MethodName">
-            <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
-            <message key="name.invalidPattern" value="Method name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="SingleLineJavadoc">
-            <property name="ignoreInlineTags" value="false"/>
-        </module>
-        <module name="EmptyCatchBlock">
-            <property name="exceptionVariableName" value="expected"/>
-        </module>
-        <module name="CommentsIndentation"/>
-    </module>
-</module>
diff --git a/codecov.yml b/codecov.yml
deleted file mode 100644
index 7c21286fc..000000000
--- a/codecov.yml
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-coverage:
-  precision: 2
-  round: down
-  range: "50...100"
-
-  status:
-    project: yes
-    patch: no
-    changes: no
-
-parsers:
-  jacoco:
-    partials_as_hits: true #false by default
-  gcov:
-    branch_detection:
-      conditional: yes
-      loop: yes
-      method: no
-      macro: no
-
-ignore:
-  - "**/pom.xml"
-  - "**/*.md"
-  - "**/*.sh"
-  - "**/*.cmd"
-  - "**/*.bat"
-  - "**/*.yml"
-  - "*_test.cc"
-  - ".mvn"
-  - "mvnw"
-  - "NOTICE"
-  - "NOTICE-binary"
-  - "License"
-  - "LICENSE-binary"
-  - "DISCLAIMER"
diff --git a/cpp/.clang-format b/cpp/.clang-format
deleted file mode 100644
index 26651a2cd..000000000
--- a/cpp/.clang-format
+++ /dev/null
@@ -1,226 +0,0 @@
----
-Language:        Cpp
-# BasedOnStyle:  Google
-AccessModifierOffset: -1
-AlignAfterOpenBracket: Align
-AlignArrayOfStructures: None
-AlignConsecutiveMacros: None
-AlignConsecutiveAssignments: None
-AlignConsecutiveBitFields: None
-AlignConsecutiveDeclarations: None
-AlignEscapedNewlines: Left
-AlignOperands:   Align
-AlignTrailingComments: true
-AllowAllArgumentsOnNextLine: true
-AllowAllParametersOfDeclarationOnNextLine: true
-AllowShortEnumsOnASingleLine: true
-AllowShortBlocksOnASingleLine: Never
-AllowShortCaseLabelsOnASingleLine: false
-AllowShortFunctionsOnASingleLine: All
-AllowShortLambdasOnASingleLine: All
-AllowShortIfStatementsOnASingleLine: WithoutElse
-AllowShortLoopsOnASingleLine: true
-AlwaysBreakAfterDefinitionReturnType: None
-AlwaysBreakAfterReturnType: None
-AlwaysBreakBeforeMultilineStrings: true
-AlwaysBreakTemplateDeclarations: Yes
-AttributeMacros:
-  - __capability
-BinPackArguments: true
-BinPackParameters: true
-BraceWrapping:
-  AfterCaseLabel:  false
-  AfterClass:      false
-  AfterControlStatement: Never
-  AfterEnum:       false
-  AfterFunction:   false
-  AfterNamespace:  false
-  AfterObjCDeclaration: false
-  AfterStruct:     false
-  AfterUnion:      false
-  AfterExternBlock: false
-  BeforeCatch:     false
-  BeforeElse:      false
-  BeforeLambdaBody: false
-  BeforeWhile:     false
-  IndentBraces:    false
-  SplitEmptyFunction: true
-  SplitEmptyRecord: true
-  SplitEmptyNamespace: true
-BreakBeforeBinaryOperators: None
-BreakBeforeConceptDeclarations: true
-BreakBeforeBraces: Attach
-BreakBeforeInheritanceComma: false
-BreakInheritanceList: BeforeColon
-BreakBeforeTernaryOperators: true
-BreakConstructorInitializersBeforeComma: false
-BreakConstructorInitializers: BeforeColon
-BreakAfterJavaFieldAnnotations: false
-BreakStringLiterals: true
-ColumnLimit:     80
-CommentPragmas:  '^ IWYU pragma:'
-QualifierAlignment: Leave
-CompactNamespaces: false
-ConstructorInitializerIndentWidth: 4
-ContinuationIndentWidth: 4
-Cpp11BracedListStyle: true
-DeriveLineEnding: true
-DerivePointerAlignment: true
-DisableFormat:   false
-EmptyLineAfterAccessModifier: Never
-EmptyLineBeforeAccessModifier: LogicalBlock
-ExperimentalAutoDetectBinPacking: false
-PackConstructorInitializers: NextLine
-BasedOnStyle:    ''
-ConstructorInitializerAllOnOneLineOrOnePerLine: false
-AllowAllConstructorInitializersOnNextLine: true
-FixNamespaceComments: true
-ForEachMacros:
-  - foreach
-  - Q_FOREACH
-  - BOOST_FOREACH
-IfMacros:
-  - KJ_IF_MAYBE
-IncludeBlocks:   Regroup
-IncludeCategories:
-  - Regex:           '^<ext/.*\.h>'
-    Priority:        2
-    SortPriority:    0
-    CaseSensitive:   false
-  - Regex:           '^<.*\.h>'
-    Priority:        1
-    SortPriority:    0
-    CaseSensitive:   false
-  - Regex:           '^<.*'
-    Priority:        2
-    SortPriority:    0
-    CaseSensitive:   false
-  - Regex:           '.*'
-    Priority:        3
-    SortPriority:    0
-    CaseSensitive:   false
-IncludeIsMainRegex: '([-_](test|unittest))?$'
-IncludeIsMainSourceRegex: ''
-IndentAccessModifiers: false
-IndentCaseLabels: true
-IndentCaseBlocks: false
-IndentGotoLabels: true
-IndentPPDirectives: None
-IndentExternBlock: AfterExternBlock
-IndentRequires:  false
-IndentWidth:     4
-IndentWrappedFunctionNames: false
-InsertTrailingCommas: None
-JavaScriptQuotes: Leave
-JavaScriptWrapImports: true
-KeepEmptyLinesAtTheStartOfBlocks: false
-LambdaBodyIndentation: Signature
-MacroBlockBegin: ''
-MacroBlockEnd:   ''
-MaxEmptyLinesToKeep: 1
-NamespaceIndentation: None
-ObjCBinPackProtocolList: Never
-ObjCBlockIndentWidth: 2
-ObjCBreakBeforeNestedBlockParam: true
-ObjCSpaceAfterProperty: false
-ObjCSpaceBeforeProtocolList: true
-PenaltyBreakAssignment: 2
-PenaltyBreakBeforeFirstCallParameter: 1
-PenaltyBreakComment: 300
-PenaltyBreakFirstLessLess: 120
-PenaltyBreakOpenParenthesis: 0
-PenaltyBreakString: 1000
-PenaltyBreakTemplateDeclaration: 10
-PenaltyExcessCharacter: 1000000
-PenaltyReturnTypeOnItsOwnLine: 200
-PenaltyIndentedWhitespace: 0
-PointerAlignment: Left
-PPIndentWidth:   -1
-RawStringFormats:
-  - Language:        Cpp
-    Delimiters:
-      - cc
-      - CC
-      - cpp
-      - Cpp
-      - CPP
-      - 'c++'
-      - 'C++'
-    CanonicalDelimiter: ''
-    BasedOnStyle:    google
-  - Language:        TextProto
-    Delimiters:
-      - pb
-      - PB
-      - proto
-      - PROTO
-    EnclosingFunctions:
-      - EqualsProto
-      - EquivToProto
-      - PARSE_PARTIAL_TEXT_PROTO
-      - PARSE_TEST_PROTO
-      - PARSE_TEXT_PROTO
-      - ParseTextOrDie
-      - ParseTextProtoOrDie
-      - ParseTestProto
-      - ParsePartialTestProto
-    CanonicalDelimiter: pb
-    BasedOnStyle:    google
-ReferenceAlignment: Pointer
-ReflowComments:  true
-RemoveBracesLLVM: false
-SeparateDefinitionBlocks: Leave
-ShortNamespaceLines: 1
-SortIncludes:    CaseSensitive
-SortJavaStaticImport: Before
-SortUsingDeclarations: true
-SpaceAfterCStyleCast: false
-SpaceAfterLogicalNot: false
-SpaceAfterTemplateKeyword: true
-SpaceBeforeAssignmentOperators: true
-SpaceBeforeCaseColon: false
-SpaceBeforeCpp11BracedList: false
-SpaceBeforeCtorInitializerColon: true
-SpaceBeforeInheritanceColon: true
-SpaceBeforeParens: ControlStatements
-SpaceBeforeParensOptions:
-  AfterControlStatements: true
-  AfterForeachMacros: true
-  AfterFunctionDefinitionName: false
-  AfterFunctionDeclarationName: false
-  AfterIfMacros:   true
-  AfterOverloadedOperator: false
-  BeforeNonEmptyParentheses: false
-SpaceAroundPointerQualifiers: Default
-SpaceBeforeRangeBasedForLoopColon: true
-SpaceInEmptyBlock: false
-SpaceInEmptyParentheses: false
-SpacesBeforeTrailingComments: 2
-SpacesInAngles:  Never
-SpacesInConditionalStatement: false
-SpacesInContainerLiterals: true
-SpacesInCStyleCastParentheses: false
-SpacesInLineCommentPrefix:
-  Minimum:         1
-  Maximum:         -1
-SpacesInParentheses: false
-SpacesInSquareBrackets: false
-SpaceBeforeSquareBrackets: false
-BitFieldColonSpacing: Both
-Standard:        Auto
-StatementAttributeLikeMacros:
-  - Q_EMIT
-StatementMacros:
-  - Q_UNUSED
-  - QT_REQUIRE_VERSION
-TabWidth:        8
-UseCRLF:         false
-UseTab:          Never
-WhitespaceSensitiveMacros:
-  - STRINGIZE
-  - PP_STRINGIZE
-  - BOOST_PP_STRINGIZE
-  - NS_SWIFT_NAME
-  - CF_SWIFT_NAME
-...
-
diff --git a/cpp/.gitignore b/cpp/.gitignore
deleted file mode 100644
index fe3949b96..000000000
--- a/cpp/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-build/
-.idea/
-.cproject
-.project
-.settings/
-.vscode/
-cmake-build-debug/
\ No newline at end of file
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
deleted file mode 100755
index 8f402dd9a..000000000
--- a/cpp/CMakeLists.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-cmake_minimum_required(VERSION 3.11)
-project(TsFile_CPP)
-
-cmake_policy(SET CMP0079 NEW)
-set(TsFile_CPP_VERSION 2.1.0.dev)
-set(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -Wall -Werror")
-if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=maybe-uninitialized")
-endif()
-message("cmake using: USE_CPP11=${USE_CPP11}")
-
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
-
-if(DEFINED ENV{CXX})
-    set(CMAKE_CXX_COMPILER $ENV{CXX})
-    message("cmake using: CXX=${CMAKE_CXX_COMPILER}")
-endif()
-
-if(DEFINED ENV{CC})
-  set(CMAKE_C_COMPILER $ENV{CC})
-  message("cmake using: CC=${CMAKE_C_COMPILER}")
-endif()
-
-message("cmake using: DEBUG_SE=${DEBUG_SE}")
-if (${DEBUG_SE})
-  add_definitions(-DDEBUG_SE=1)
-  message("add_definitions -DDEBUG_SE=1")
-endif()
-
-if (${COV_ENABLED})
-  add_definitions(-DCOV_ENABLED=1)
-  message("add_definitions -DCOV_ENABLED=1")
-endif()
-
-message("build type: ${BUILD_TYPE}")
-if (CMAKE_BUILD_TYPE STREQUAL "Debug")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -g")
-  set(CMAKE_CXX_FLAGS_DEBUG" ${CMAKE_CXX_FLAGS} -O0 -g")
-elseif (CMAKE_BUILD_TYPE STREQUAL "Release")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -g") # disable -g
-  set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS}")
-elseif (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2 -g")
-  set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS}")
-elseif (CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffunction-sections -fdata-sections -Os")
-  set(LDFLAGS "-Wl,--gc-sections")
-  set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS}")
-endif()
-message("CMAKE DEBUG: CMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}")
-
-set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
-set(PROJECT_INCLUDE_DIR ${PROJECT_INCLUDE_DIR}
-                        ${PROJECT_SOURCE_DIR}/src
-                        ${PROJECT_SOURCE_DIR}/third_party/lz4
-                        ${PROJECT_SOURCE_DIR}/third_party/lzokay
-                        ${PROJECT_SOURCE_DIR}/third_party/zlib-1.2.13
-                        ${PROJECT_BINARY_DIR}/third_party/zlib-1.2.13
-)
-
-set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
-include_directories(${PROJECT_INCLUDE_DIR})
-
-include_directories(${PROJECT_SOURCE_DIR}/third_party/antlr4-cpp-runtime-4/runtime/src)
-
-add_subdirectory(third_party)
-
-add_subdirectory(src)
-
-add_subdirectory(test)
-if(TESTS_ENABLED)
-    add_dependencies(TsFile_Test tsfile)
-endif()
-
diff --git a/cpp/README-zh.md b/cpp/README-zh.md
deleted file mode 100644
index 6a26f2b95..000000000
--- a/cpp/README-zh.md
+++ /dev/null
@@ -1,34 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-        http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-
-# TsFile C++ Document
-<pre>
-___________    ___________.__.__          
-\__    ___/____\_   _____/|__|  |   ____  
-  |    | /  ___/|    __)  |  |  | _/ __ \ 
-  |    | \___ \ |     \   |  |  |_\  ___/ 
-  |____|/____  >\___  /   |__|____/\___  >  version 2.1.0
-             \/     \/                 \/  
-</pre>
-
-## 使用
-
-## 开发
\ No newline at end of file
diff --git a/cpp/README.md b/cpp/README.md
deleted file mode 100644
index 5a663b300..000000000
--- a/cpp/README.md
+++ /dev/null
@@ -1,86 +0,0 @@
-<!--
-
-​    Licensed to the Apache Software Foundation (ASF) under one
-​    or more contributor license agreements.  See the NOTICE file
-​    distributed with this work for additional information
-​    regarding copyright ownership.  The ASF licenses this file
-​    to you under the Apache License, Version 2.0 (the
-​    "License"); you may not use this file except in compliance
-​    with the License.  You may obtain a copy of the License at
-
-​        http://www.apache.org/licenses/LICENSE-2.0
-
-​    Unless required by applicable law or agreed to in writing,
-​    software distributed under the License is distributed on an
-​    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-​    KIND, either express or implied.  See the License for the
-​    specific language governing permissions and limitations
-​    under the License.
-
--->
-
-# TsFile C++ Document
-
-<pre>
-___________    ___________.__.__          
-\__    ___/____\_   _____/|__|  |   ____  
-  |    | /  ___/|    __)  |  |  | _/ __ \ 
-  |    | \___ \ |     \   |  |  |_\  ___/ 
-  |____|/____  >\___  /   |__|____/\___  >  version 2.1.0
-             \/     \/                 \/  
-</pre>
-
-
-## Introduction
-
-
-This directory contains the C++ implementation of TsFile. The C++ version currently supports the query and write functions of TsFile, including time filtering queries.
-
-The source code can be found in the `./src` directory. C/C++ examples are located in the `./examples` directory, and a benchmark for TsFile_cpp can be found in the `./bench_mark` directory. Additionally, a C function wrapper is available in the `./src/cwrapper` directory, which the Python tool relies on.
-
-## How to make contributions
-
-We use `clang-format` to ensure that our C++ code adheres to a consistent set of rules defined in `./clang-format`. This is similar to the Google style.
-
-**Feature List**:
-
-- [ ] Add unit tests for the reader, writer, compression, etc.
-- [ ] Add unit tests for the C wrapper.
-- [ ] Support multiple data flushes.
-- [ ] Support aligned timeseries.
-- [ ] Support table description in tsfile.
-- [ ] Retrieve all table schemas/names.
-- [ ] Implement automatic flush.
-- [ ] Support out-of-order data writing.
-- [ ] Support TsFile V4. Note: TsFile CPP does not implement support for the table model, therefore there are differences in file output compared to the Java version.
-
-**Bug List**:
-
-- [ ] Flushing without writing after registering a timeseries will cause a core dump.
-- [ ] Misalignment in memory may lead to a bus error.
-
-We welcome any bug reports. You can open an issue with a title starting with [CPP] to describe the bug, like: https://github.com/apache/tsfile/issues/94
-
-## Build
-
-### Requirements
-
-```bash
-sudo apt-get update
-sudo apt-get install -y cmake make g++ clang-format
-```
-
-To build tsfile, you can run: `bash build.sh`. If you have Maven tools, you can run: `mvn package -P with-cpp clean verify`. Then, you can find the shared object at `./build`.
-
-Before you submit your code to GitHub, please ensure that the `mvn` compilation is correct.
-
-If you compile using MinGW on windows and encounter an error, you can try replacing MinGW with the following version that we have tried without problems:
-
-* GCC 14.2.0 (with **POSIX** threads) + LLVM/Clang/LLD/LLDB 18.1.8 + MinGW-w64 12.0.0 UCRT - release 1
-* GCC 12.2.0 + LLVM/Clang/LLD/LLDB 16.0.0 + MinGW-w64 10.0.0 (UCRT) - release 5
-* GCC 12.2.0 + LLVM/Clang/LLD/LLDB 16.0.0 + MinGW-w64 10.0.0 (MSVCRT) - release 5
-* GCC 11.2.0 + MinGW-w64 10.0.0 (MSVCRT) - release 1
-
-## Use TsFile
-
-You can find examples on how to read and write data in `demo_read.cpp` and `demo_write.cpp` located under `./examples/cpp_examples`. There are also examples under `./examples/c_examples`on how to use a C-style API to read and write data in a C environment. You can run `bash build.sh` under `./examples` to generate an executable output under `./examples/build`.
\ No newline at end of file
diff --git a/cpp/VersionUpdater.groovy b/cpp/VersionUpdater.groovy
deleted file mode 100644
index 49cbc6504..000000000
--- a/cpp/VersionUpdater.groovy
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-// Synchronize the version in CMakeLists.txt and the one used in the maven pom.
-////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-
-def cppProjectFile = new File(project.basedir, "CMakeLists.txt")
-def currentMavenVersion = project.version as String
-def currentCppVersion = currentMavenVersion
-if(currentMavenVersion.contains("-SNAPSHOT")) {
-    currentCppVersion = currentMavenVersion.split("-SNAPSHOT")[0] + ".dev"
-}
-println "Current Project Version in Maven:  " + currentMavenVersion
-
-def match = cppProjectFile.text =~ /set\(TsFile_CPP_VERSION\s+(.+?)\)/
-def cppProjectFileVersion = match[0][1]
-println "Current Project Version in CMake: " + cppProjectFileVersion
-
-if (cppProjectFileVersion != currentCppVersion) {
-    cppProjectFile.text = cppProjectFile.text.replace("set(TsFile_CPP_VERSION " + cppProjectFileVersion + ")", "set(TsFile_CPP_VERSION " + currentCppVersion + ")")
-    println "Version in CMakeLists.txt updated from " + cppProjectFileVersion + " to " + currentCppVersion
-    // TODO: When releasing, we might need to manually add this file to the release preparation commit.
-} else {
-    println "Version in CMakeLists.txt is up to date"
-}
diff --git a/cpp/bench_mark/CMakeLists.txt b/cpp/bench_mark/CMakeLists.txt
deleted file mode 100644
index 6db63999c..000000000
--- a/cpp/bench_mark/CMakeLists.txt
+++ /dev/null
@@ -1,33 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-message("Running in bench_mark directory")
-if(DEFINED ENV{CXX})
-    set(CMAKE_CXX_COMPILER $ENV{CXX})
-endif()
-
-set(CMAKE_CXX_FLAGS "$ENV{CXX_FLAGS} -Wall -Werror")
-
-if (${USE_CPP11})
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
-  set(CMAKE_CXX_STANDARD 11)
-else()
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
-endif()
-
-add_subdirectory(bench_mark_src)
\ No newline at end of file
diff --git a/cpp/bench_mark/bench_mark_src/CMakeLists.txt b/cpp/bench_mark/bench_mark_src/CMakeLists.txt
deleted file mode 100644
index dbad71f91..000000000
--- a/cpp/bench_mark/bench_mark_src/CMakeLists.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-cmake_minimum_required(VERSION 3.1)
-project(libtsfile_bench_mark_project)
-message("Running in bench_mark/bench_mark_src directory")
-if(DEFINED ENV{CXX})
-    set(CMAKE_CXX_COMPILER $ENV{CXX})
-endif()
-
-set(SDK_BENCH_MARK_DIR ${PROJECT_SOURCE_DIR}/)
-message("PROJECT DIR: ${SDK_BENCH_MARK_DIR}")
-set(SDK_INCLUDE_DIR_DEBUG ${SKD_BENCHH_MARK_DIR}../../build/Debug/bin/libtsfile_sdk/include)
-set(SDK_INCLUDE_DIR_RELEASE ${SKD_BENCHH_MARK_DIR}../../build/Release/bin/libtsfile_sdk/include)
-set(SDK_LIB_DIR_DEBUG ${SKD_BENCHH_MARK_DIR}../../build/Debug/bin/libtsfile_sdk/lib)
-set(SDK_LIB_DIR_RELEASE ${SKD_BENCHH_MARK_DIR}../../build/Release/bin/libtsfile_sdk/lib)
-
-if (USE_SDK_DEBUG) 
-    SET(SKD_INCLUDE_DIR ${SDK_INCLUDE_DIR_DEBUG})
-    SET(SDK_LIB_DIR ${SDK_LIB_DIR_DEBUG})
-    SET(CMAKE_CXX_FLAGS "-g -O0")
-else()
-    SET(SKD_INCLUDE_DIR ${SDK_INCLUDE_DIR_RELEASE})
-    SET(SDK_LIB_DIR ${SDK_LIB_DIR_RELEASE})
-    SET(CMAKE_CXX_FLAGS "-O3")
-endif()
-
-include_directories(${SKD_INCLUDE_DIR})
-set(MAKE_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/../../src)
-include_directories(${MAKE_INCLUDE})
-message("MAKE_INCLUDE: ${MAKE_INCLUDE}")
-message("SDK_INCLUDE_DIR: ${SKD_INCLUDE_DIR}")
-message("SDK_LIB_DIR: ${SDK_LIB_DIR}")
-
-link_directories(${SDK_LIB_DIR})
-find_library(my_tsfile_lib NAMES tsfile PATHS ${SDK_LIB_DIR} NO_DEFAULT_PATH REQUIRED)
-add_executable(bench_mark_src bench_mark.cc)
-target_link_libraries(bench_mark_src ${my_tsfile_lib})
-
-
-
-
diff --git a/cpp/bench_mark/bench_mark_src/bench_conf.h b/cpp/bench_mark/bench_mark_src/bench_conf.h
deleted file mode 100644
index 486d0b14f..000000000
--- a/cpp/bench_mark/bench_mark_src/bench_conf.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include <vector>
-
-namespace bench {
-int LOOP_NUM = 100000;
-int THREAD_NUM = 1;
-int TIMESERIES_NUM = 50;
-std::vector<int> TYPE_LIST = {0, 0, 1, 0, 1};
-}  // namespace bench
diff --git a/cpp/bench_mark/bench_mark_src/bench_mark.cc b/cpp/bench_mark/bench_mark_src/bench_mark.cc
deleted file mode 100644
index 09c9eb98f..000000000
--- a/cpp/bench_mark/bench_mark_src/bench_mark.cc
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include <chrono>
-#include <cmath>
-#include <iostream>
-#include <numeric>
-#include <string>
-
-#include "bench_conf.h"
-#include "common/db_common.h"
-#include "common/global.h"
-#include "common/path.h"
-#include "writer/tsfile_writer.h"
-
-std::vector<int> register_timeseries(storage::TsFileWriter& writer,
-                                     int timeseries_num,
-                                     std::vector<int> type_list) {
-    auto start = std::chrono::high_resolution_clock::now();
-    int sum = std::accumulate(type_list.begin(), type_list.end(), 0);
-    std::vector<float> ratio_list;
-    for (int i = 0; i < type_list.size(); i++) {
-        ratio_list.push_back((float)type_list[i] / sum);
-    }
-    std::vector<int> type_num;
-    for (int i = 0; i < common::TSDataType::TEXT - 1; i++) {
-        type_num.push_back((int)std::ceil(timeseries_num * ratio_list[i]));
-    }
-    type_num.push_back(timeseries_num -
-                       std::accumulate(type_num.begin(), type_num.end(), 0));
-    writer.open("/tmp/tsfile_test.tsfile", O_CREAT | O_RDWR, 0644);
-    int ind = 0;
-    int ret = 0;
-    int type = 0;
-    for (auto num : type_num) {
-        for (int i = 0; i < num; i++) {
-            std::string device_name = "root.db001.dev" + std::to_string(ind);
-            std::string measurement_name = "m" + std::to_string(ind);
-            ret = writer.register_timeseries(
-                device_name, measurement_name, (common::TSDataType)type,
-                common::TSEncoding::PLAIN,
-                common::CompressionType::UNCOMPRESSED);
-            ind++;
-        }
-        std::cout << "register finished for TsDataType"
-                  << common::s_data_type_names[type]
-                  << " timeseries num: " << num << std::endl;
-        type++;
-    }
-    auto end = std::chrono::high_resolution_clock::now();
-    std::chrono::duration<double> elapsed = end - start;
-    std::cout << "register " << timeseries_num << "timeseries in file"
-              << "./test_data/tsfile_test.tsfile" << std::endl;
-    std::cout << "register timeseries cost time: " << elapsed.count() << "s"
-              << std::endl;
-    return type_num;
-}
-
-void test_writer_benchmark(storage::TsFileWriter& writer, int loop_num,
-                           std::vector<int> type_num) {
-    std::cout << "start writing data" << std::endl;
-    auto start = std::chrono::high_resolution_clock::now();
-    int type = 0;
-    for (int i = 0; i < loop_num; i++) {
-        int ind = 0;
-        for (auto num : type_num) {
-            for (int j = 0; j < num; j++) {
-                std::string device_name =
-                    "root.db001.dev" + std::to_string(ind);
-                std::string measurement_name = "m" + std::to_string(ind);
-                long long currentTimeStamp = i;
-                storage::TsRecord record(currentTimeStamp, device_name, 1);
-                switch (type) {
-                    case common::INT32: {
-                        storage::DataPoint point(measurement_name, 10000 + i);
-                        record.points_.push_back(point);
-                        break;
-                    }
-                    case common::INT64: {
-                        storage::DataPoint point(measurement_name,
-                                                 int64_t(10000 + i));
-                        record.points_.push_back(point);
-                        break;
-                    }
-                    case common::BOOLEAN: {
-                        storage::DataPoint point(measurement_name, i / 2 == 0);
-                        record.points_.push_back(point);
-                        break;
-                    }
-                    case common::FLOAT: {
-                        storage::DataPoint point(measurement_name, (float)i);
-                        record.points_.push_back(point);
-                        break;
-                    }
-                    case common::DOUBLE: {
-                        storage::DataPoint point(measurement_name, (double)i);
-                        record.points_.push_back(point);
-                        break;
-                    }
-                }
-                int ret = writer.write_record(record);
-                ASSERT(ret == 0);
-                ind++;
-            }
-            type++;
-        }
-    }
-
-    auto end = std::chrono::high_resolution_clock::now();
-    std::chrono::duration<double> elapsed = end - start;
-    int timeseries_num = std::accumulate(type_num.begin(), type_num.end(), 0);
-    std::cout << "writer loop: " << loop_num
-              << " timeseries num: " << timeseries_num << " records in file"
-              << "./test_data/tsfile_test.tsfile" << std::endl;
-    std::cout << "total num of points: " << loop_num * timeseries_num
-              << std::endl;
-    std::cout << "writer data cost time: " << elapsed.count() << "s"
-              << std::endl;
-    std::cout << "writer data speed:"
-              << loop_num * timeseries_num / elapsed.count() << " points/s"
-              << std::endl;
-    writer.flush();
-    writer.close();
-    auto end_flush = std::chrono::high_resolution_clock::now();
-    std::chrono::duration<double> elapsed_flush = end_flush - end;
-    std::cout << "flush data cost time: " << elapsed_flush.count() << "s"
-              << std::endl;
-}
-
-int main() {
-    std::cout << "LibTsFile benchmark" << std::endl;
-    std::cout << "LOOP_NUM:" << bench::LOOP_NUM << std::endl;
-    std::cout << "THREAD_NUM:" << bench::THREAD_NUM << std::endl;
-    std::cout << "TIMESERIES_NUM:" << bench::TIMESERIES_NUM << std::endl;
-    std::cout << "TYPE_LIST: " << bench::TYPE_LIST[0] << ":"
-              << bench::TYPE_LIST[1] << ":" << bench::TYPE_LIST[2] << ":"
-              << bench::TYPE_LIST[3] << ":" << bench::TYPE_LIST[4] << ":"
-              << bench::TYPE_LIST[5] << std::endl;
-    std::cout << "init tsfile config value" << std::endl;
-    common::init_config_value();
-    storage::TsFileWriter writer;
-    auto type_num =
-        register_timeseries(writer, bench::TIMESERIES_NUM, bench::TYPE_LIST);
-    test_writer_benchmark(writer, bench::LOOP_NUM, type_num);
-    return 0;
-}
diff --git a/cpp/bench_mark/bench_mark_src/bench_mark.h b/cpp/bench_mark/bench_mark_src/bench_mark.h
deleted file mode 100644
index e3bbd95d6..000000000
--- a/cpp/bench_mark/bench_mark_src/bench_mark.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
diff --git a/cpp/bench_mark/build.sh b/cpp/bench_mark/build.sh
deleted file mode 100644
index e0e4b0cb6..000000000
--- a/cpp/bench_mark/build.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-build_type=Debug
-env_for_cyber=0
-use_cpp11=1
-
-if [[ ${env_for_cyber} -eq 1 ]]
-then
-  export PATH=$PATH:~/dev/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/bin
-  export CROSS_COMPILE=arm-linux-gnueabi-
-  export ARCH=arm
-  export CC=${CROSS_COMPILE}gcc
-  export CXX=${CROSS_COMPILE}g++
-  echo "set up gcc for cyber"
-fi
-
-
-if [ ${build_type} = "Debug" ]
-then
-  mkdir -p build/Debug
-  cd build/Debug
-  use_sdk_debug=1
-else
-  mkdir -p build/Release
-  cd build/Release
-  use_sdk_debug=0
-fi
-
-echo "use_sdk_debug=${use_sdk_debug}"
-cmake ../../  \
-  -DUSE_SDK_DEBUG=$use_sdk_debug \
-  -DUSE_CPP11=$use_cpp11
-make
diff --git a/cpp/build.sh b/cpp/build.sh
deleted file mode 100644
index e7d4d01f2..000000000
--- a/cpp/build.sh
+++ /dev/null
@@ -1,140 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-
-# build_type=MinSizeRel
-build_type=Release
-build_test=0
-build_bench=0
-use_cpp11=1
-enable_cov=0
-debug_se=0
-run_cov_only=0
-
-shell_dir=$(cd "$(dirname "$0")";pwd)
-
-function print_config()
-{
-  echo "build_type=$build_type"
-  echo "build_test=$build_test"
-  echo "use_cpp11=$use_cpp11"
-  echo "enable_cov=$enable_cov"
-  echo "enable_asan=$enable_asan"
-}
-
-function run_test_for_cov()
-{
-  # sh ${shell_dir}/scripts/regression_unittest.sh
-  sh ${shell_dir}/test/libtsfile_test/run_sdk_tests.sh 
-}
-
-parse_options()
-{
-  while test $# -gt 0
-  do
-    case "$1" in
-    clean)
-      do_clean=1;;
-    run_cov)
-      run_cov_only=1;;
-    -t=*)
-      build_type=`get_key_value "$1"`;;
-    -t)
-      shift
-      build_type=`get_key_value "$1"`;;
-    -a=*)
-      enable_asan=`get_key_value "$1"`;;
-    -a)
-      shift
-      enable_asan=`get_key_value "$1"`;;
-    -c=*)
-      enable_cov=`get_key_value "$1"`;;
-    -c)
-      shift
-      enable_cov=`get_key_value "$1"`;;
-    #-h | --help)
-    #  usage
-    #  exit 0;;
-    #*)
-    #  echo "Unknown option '$1'"
-    #  exit 1;;
-    esac
-    shift
-  done
-}
-
-parse_options $*
-print_config
-
-if [[ ${run_cov_only} -eq 1 ]]
-then
-  do_cov
-  # exit after run coverage test.
-  exit
-fi
-
-if [ ${build_test} -eq 1 ]
-then
-  compile_gtest
-  echo "building status: build gtest success."
-fi
-
-echo "build using: build_type=$build_type"
-if [ ${build_type} == "Debug" ]
-then
-  mkdir -p build/Debug
-  cd build/Debug
-elif [ ${build_type} == "Release" ]
-then
-  mkdir -p build/Release
-  cd build/Release
-elif [ ${build_type} == "RelWithDebInfo" ]
-then
-  mkdir -p build/relwithdebinfo
-  cd build/relwithdebinfo
-elif [ ${build_type} == "MinSizeRel" ]
-then
-  mkdir -p build/minsizerel
-  cd build/minsizerel
-else
-  echo ""
-  echo "unknow build type: ${build_type}, valid build types(case intensive): Debug, Release, RelWithDebInfo, MinSizeRel"
-  echo ""
-  exit 1
-fi
-
-cmake ../../                           \
-  -DGTEST=$gtest_project_dir           \
-  -DZLIB=$zlib_project_dir/install     \
-  -DLZ4LIB=$lz4lib_project_dir         \
-  -DBUILD_TEST=$build_test             \
-  -DCMAKE_BUILD_TYPE=$build_type       \
-  -DUSE_CPP11=$use_cpp11               \
-  -DENABLE_COV=$enable_cov             \
-  -DDEBUG_SE=$debug_se                 \
-  -DBUILD_TSFILE_ONLY=$build_tsfile_only
-
-VERBOSE=1 make
-VERBOSE=1 make install
-
-
-
-
-
-
-
diff --git a/cpp/examples/CMakeLists.txt b/cpp/examples/CMakeLists.txt
deleted file mode 100644
index 4b433c96e..000000000
--- a/cpp/examples/CMakeLists.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-cmake_minimum_required(VERSION 3.10)
-project(examples)
-message("Running in exampes directory")
-
-set(SDK_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/../src/)
-message("SDK_INCLUDE_DIR: ${SDK_INCLUDE_DIR}")
-set(SDK_LIB_DIR_RELEASE ${PROJECT_SOURCE_DIR}/../build/Release/lib)
-message("SDK_LIB_DIR_RELEASE: ${SDK_LIB_DIR_RELEASE}")
-
-include_directories(${SDK_INCLUDE_DIR})
-find_library(my_tsfile_lib NAMES tsfile PATHS ${SDK_LIB_DIR_RELEASE} NO_DEFAULT_PATH REQUIRED)
-
-add_subdirectory(cpp_examples)
-add_subdirectory(c_examples)
-
-add_executable(examples examples.cc)
-target_link_libraries(examples ${my_tsfile_lib} cpp_examples_obj c_examples_obj)
\ No newline at end of file
diff --git a/cpp/examples/build.sh b/cpp/examples/build.sh
deleted file mode 100644
index bf4a3c456..000000000
--- a/cpp/examples/build.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-build_type=Debug
-use_cpp11=1
-if [ ${build_type} = "Debug" ]
-then
-  mkdir -p build/Debug
-  cd build/Debug
-else
-  mkdir -p build/Release
-  cd build/Release
-fi
-
-
-cmake ../../ -DUSE_CPP11=$use_cpp11
-make
\ No newline at end of file
diff --git a/cpp/examples/c_examples/CMakeLists.txt b/cpp/examples/c_examples/CMakeLists.txt
deleted file mode 100644
index a1cf714e2..000000000
--- a/cpp/examples/c_examples/CMakeLists.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-
-message("Running in examples/c_examples directory")
-aux_source_directory(. c_SRC_LIST)
-add_library(c_examples_obj OBJECT ${c_SRC_LIST})
diff --git a/cpp/examples/c_examples/c_examples.c b/cpp/examples/c_examples/c_examples.c
deleted file mode 100644
index 8e5f8d2d4..000000000
--- a/cpp/examples/c_examples/c_examples.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "c_examples.h"
-
-#include <fcntl.h>
-#include <malloc.h>
-#include <stdbool.h>
-#include <stdio.h>
-#include <unistd.h>
-
-#define HANDLE_ERROR(err_no)                  \
-    do {                                      \
-        if (err_no != 0) {                    \
-            printf("get err no: %d", err_no); \
-            return err_no;                    \
-        }                                     \
-    } while (0)
-
-ErrorCode write_tsfile() {
-    ErrorCode err_code;
-    CTsFileWriter writer;
-    if (access("c_rw.tsfile", 0) == 0) {
-        if (remove("test.tsfile") != 0) {
-            printf("Failed to delete test.tsfile file\n");
-            return -1;
-        }
-    }
-    writer = ts_writer_open("c_rw.tsfile", &err_code);
-    if (NULL == writer) {
-        return err_code;
-    }
-    ColumnSchema columnSchema;
-    columnSchema.name = "temperature";
-    columnSchema.column_def = TS_TYPE_INT32;
-    err_code =
-        tsfile_register_table_column(writer, "test_table", &columnSchema);
-    HANDLE_ERROR(err_code);
-    TableSchema tableSchema;
-    tableSchema.column_num = 3;
-    tableSchema.table_name = "test_table";
-    tableSchema.column_schema =
-        (ColumnSchema **)malloc(tableSchema.column_num * sizeof(TableSchema *));
-    tableSchema.column_schema[0] = (ColumnSchema *)malloc(sizeof(ColumnSchema));
-    tableSchema.column_schema[0]->column_def = TS_TYPE_DOUBLE;
-    tableSchema.column_schema[0]->name = "level";
-    tableSchema.column_schema[1] = (ColumnSchema *)malloc(sizeof(ColumnSchema));
-    tableSchema.column_schema[1]->column_def = TS_TYPE_BOOLEAN;
-    tableSchema.column_schema[1]->name = "up";
-    tableSchema.column_schema[2] = (ColumnSchema *)malloc(sizeof(ColumnSchema));
-    tableSchema.column_schema[2]->column_def = TS_TYPE_FLOAT;
-    tableSchema.column_schema[2]->name = "humi";
-    err_code = tsfile_register_table(writer, &tableSchema);
-    free(tableSchema.column_schema[0]);
-    free(tableSchema.column_schema[1]);
-    free(tableSchema.column_schema[2]);
-    free(tableSchema.column_schema);
-    HANDLE_ERROR(err_code);
-    printf("register table success\n");
-    TsFileRowData rowData = create_tsfile_row("test_table", 1, 4);
-    insert_data_into_tsfile_row_double(rowData, "level", 10);
-    insert_data_into_tsfile_row_float(rowData, "humi", 10.0f);
-    insert_data_into_tsfile_row_boolean(rowData, "up", true);
-    insert_data_into_tsfile_row_int32(rowData, "temperature", 10);
-    err_code = tsfile_write_row_data(writer, rowData);
-
-    rowData = create_tsfile_row("test_table", 2, 4);
-    insert_data_into_tsfile_row_double(rowData, "level", 12);
-    err_code = tsfile_write_row_data(writer, rowData);
-
-    for (int ind = 10; ind < 2000; ind++) {
-        rowData = create_tsfile_row("test_table", ind, 4);
-        insert_data_into_tsfile_row_double(rowData, "level", 12 + ind);
-        insert_data_into_tsfile_row_float(rowData, "humi", 12.0f + ind);
-        insert_data_into_tsfile_row_boolean(rowData, "up", true);
-        insert_data_into_tsfile_row_int32(rowData, "temperature", 12 + ind);
-        err_code = tsfile_write_row_data(writer, rowData);
-    }
-    printf("writer row data success\n");
-    HANDLE_ERROR(err_code);
-    HANDLE_ERROR(tsfile_flush_data(writer));
-    printf("flush data success\n");
-    HANDLE_ERROR(ts_writer_close(writer));
-    printf("close writer success\n");
-    return 0;
-}
-
-ErrorCode read_tsfile() {
-    ErrorCode err_code;
-    CTsFileReader reader;
-    reader = ts_reader_open("c_rw.tsfile", &err_code);
-    if (NULL == reader) {
-        return err_code;
-    }
-    const char *columns[] = {"temperature", "level", "up", "humi"};
-    //  TimeFilterExpression* exp = create_andquery_timefilter();
-    //  TimeFilterExpression* time_filter = create_time_filter("test_table",
-    //  "temperature", GT, 11); TimeFilterExpression* time_filter2 =
-    //  create_time_filter("test_table", "humi", GT, 10); TimeFilterExpression*
-    //  time_filter3 = create_time_filter("test_table", "level", LE, 20);
-    //  add_time_filter_to_and_query(exp, time_filter);
-    //  add_time_filter_to_and_query(exp, time_filter2);
-    //  add_time_filter_to_and_query(exp, time_filter3);
-
-    QueryDataRet ret = ts_reader_query(reader, "test_table", columns, 4, NULL);
-    printf("query success\n");
-    DataResult *result = ts_next(ret, 20);
-    if (result == NULL) {
-        printf("get result failed\n");
-        return -1;
-    }
-    print_data_result(result);
-    //  destory_time_filter_query(exp);
-    HANDLE_ERROR(destory_query_dataret(ret));
-    HANDLE_ERROR(destory_tablet(result));
-    return 0;
-}
diff --git a/cpp/examples/c_examples/c_examples.h b/cpp/examples/c_examples/c_examples.h
deleted file mode 100644
index 3f63803f0..000000000
--- a/cpp/examples/c_examples/c_examples.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "cwrapper/TsFile-cwrapper.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-ErrorCode write_tsfile();
-ErrorCode read_tsfile();
-
-#ifdef __cplusplus
-}
-#endif
diff --git a/cpp/examples/cpp_examples/CMakeLists.txt b/cpp/examples/cpp_examples/CMakeLists.txt
deleted file mode 100644
index a2ac8d435..000000000
--- a/cpp/examples/cpp_examples/CMakeLists.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-
-message("Running in examples/cpp_examples directory")
-aux_source_directory(. cpp_SRC_LIST)
-add_library(cpp_examples_obj OBJECT ${cpp_SRC_LIST})
diff --git a/cpp/examples/cpp_examples/cpp_examples.h b/cpp/examples/cpp_examples/cpp_examples.h
deleted file mode 100644
index b2e52aad2..000000000
--- a/cpp/examples/cpp_examples/cpp_examples.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "common/db_common.h"
-#include "common/path.h"
-#include "common/record.h"
-#include "common/row_record.h"
-#include "common/schema.h"
-#include "reader/expression.h"
-#include "reader/filter/filter.h"
-#include "reader/qds_with_timegenerator.h"
-#include "reader/qds_without_timegenerator.h"
-#include "reader/tsfile_reader.h"
-#include "writer/tsfile_writer.h"
-
-int demo_read();
-int demo_write();
diff --git a/cpp/examples/cpp_examples/demo_read.cpp b/cpp/examples/cpp_examples/demo_read.cpp
deleted file mode 100644
index 8fab33f99..000000000
--- a/cpp/examples/cpp_examples/demo_read.cpp
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include <iostream>
-#include <string>
-#include <vector>
-
-#include "cpp_examples.h"
-
-std::string field_to_string(storage::Field *value) {
-    if (value->type_ == common::TEXT) {
-        return std::string(value->value_.sval_);
-    } else {
-        std::stringstream ss;
-        switch (value->type_) {
-            case common::BOOLEAN:
-                ss << (value->value_.bval_ ? "true" : "false");
-                break;
-            case common::INT32:
-                ss << value->value_.ival_;
-                break;
-            case common::INT64:
-                ss << value->value_.lval_;
-                break;
-            case common::FLOAT:
-                ss << value->value_.fval_;
-                break;
-            case common::DOUBLE:
-                ss << value->value_.dval_;
-                break;
-            case common::NULL_TYPE:
-                ss << "NULL";
-                break;
-            default:
-                ASSERT(false);
-                break;
-        }
-        return ss.str();
-    }
-}
-
-int demo_read() {
-    std::cout << "begin to read tsfile from demo_ts.tsfile" << std::endl;
-    std::string device_name = "root.db001.dev001";
-    std::string measurement_name = "m001";
-    storage::Path p1(device_name, measurement_name);
-    std::vector<storage::Path> select_list;
-    select_list.push_back(p1);
-    storage::QueryExpression *query_expr =
-        storage::QueryExpression::create(select_list, nullptr);
-
-    common::init_config_value();
-    storage::TsFileReader reader;
-    int ret = reader.open("cpp_rw.tsfile");
-
-    std::cout << "begin to query expr" << std::endl;
-    ASSERT(ret == 0);
-    storage::ResultSet *qds = nullptr;
-    ret = reader.query(query_expr, qds);
-
-    storage::RowRecord *record;
-    std::cout << "begin to dump data from tsfile ---" << std::endl;
-    int row_cout = 0;
-    do {
-        if (qds->next()) {
-            std::cout << "dump QDS :  " << record->get_timestamp() << ",";
-            record = qds->get_row_record();
-            if (record) {
-                int size = record->get_fields()->size();
-                for (int i = 0; i < size; ++i) {
-                    std::cout << field_to_string(record->get_field(i)) << ",";
-                }
-                std::cout << std::endl;
-                row_cout++;
-            }
-        } else {
-            break;
-        }
-    } while (true);
-
-    return (0);
-}
diff --git a/cpp/examples/cpp_examples/demo_write.cpp b/cpp/examples/cpp_examples/demo_write.cpp
deleted file mode 100644
index 17c5cb6ba..000000000
--- a/cpp/examples/cpp_examples/demo_write.cpp
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include <time.h>
-
-#include <iostream>
-#include <random>
-#include <string>
-
-#include "cpp_examples.h"
-
-using namespace storage;
-
-long getNowTime() { return time(nullptr); }
-
-static std::string generate_random_string(int length) {
-    std::random_device rd;
-    std::mt19937 gen(rd());
-    std::uniform_int_distribution<> dis(0, 61);
-
-    const std::string chars =
-        "0123456789"
-        "abcdefghijklmnopqrstuvwxyz"
-        "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
-
-    std::string random_string;
-
-    for (int i = 0; i < length; ++i) {
-        random_string += chars[dis(gen)];
-    }
-
-    return random_string;
-}
-
-int demo_write() {
-    TsFileWriter* tsfile_writer_ = new TsFileWriter();
-    libtsfile_init();
-    std::string file_name_ = std::string("tsfile_writer_test_") +
-                             generate_random_string(10) +
-                             std::string(".tsfile");
-    int flags = O_WRONLY | O_CREAT | O_TRUNC;
-#ifdef _WIN32
-    flags |= O_BINARY;
-#endif
-    mode_t mode = 0666;
-    tsfile_writer_->open(file_name_, flags, mode);
-    remove(file_name_.c_str());
-    const int device_num = 50;
-    const int measurement_num = 50;
-    std::vector<MeasurementSchema> schema_vec[50];
-    for (int i = 0; i < device_num; i++) {
-        std::string device_name = "test_device" + std::to_string(i);
-        schema_vec[i].reserve(measurement_num);
-        for (int j = 0; j < measurement_num; j++) {
-            std::string measure_name = "measurement" + std::to_string(j);
-            schema_vec[i].emplace_back(
-                MeasurementSchema(measure_name, common::TSDataType::INT32,
-                                  common::TSEncoding::PLAIN,
-                                  common::CompressionType::UNCOMPRESSED));
-            tsfile_writer_->register_timeseries(device_name, schema_vec[i][j]);
-        }
-    }
-
-    std::cout << "input tablet size" << std::endl;
-    int tablet_size;
-    std::cin >> tablet_size;
-
-    int max_rows = 100000;
-    int cur_row = 0;
-    long start = getNowTime();
-    for (; cur_row < max_rows;) {
-        if (cur_row + tablet_size > max_rows) {
-            tablet_size = max_rows - cur_row;
-        }
-        for (int i = 0; i < device_num; i++) {
-            std::string device_name = "test_device" + std::to_string(i);
-            Tablet tablet(device_name, &schema_vec[i], tablet_size);
-            tablet.init();
-            for (int row = 0; row < tablet_size; row++) {
-                tablet.set_timestamp(row, 16225600 + cur_row + row);
-            }
-            for (int j = 0; j < measurement_num; j++) {
-                for (int row = 0; row < tablet_size; row++) {
-                    tablet.set_value(row, j, row + cur_row);
-                }
-            }
-            tsfile_writer_->write_tablet(tablet);
-            tsfile_writer_->flush();
-        }
-        cur_row += tablet_size;
-        std::cout << "finish writing " << cur_row << " rows" << std::endl;
-    }
-
-    tsfile_writer_->close();
-    long end = getNowTime();
-    printf("interval waitForResults is %ld \n", end - start);
-    return 0;
-}
diff --git a/cpp/examples/examples.cc b/cpp/examples/examples.cc
deleted file mode 100644
index 845d3f78a..000000000
--- a/cpp/examples/examples.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "c_examples/c_examples.h"
-#include "cpp_examples/cpp_examples.h"
-
-int main() {
-    // C++ examples
-    demo_write();
-    demo_read();
-    // C examples
-    write_tsfile();
-    read_tsfile();
-    return 0;
-}
\ No newline at end of file
diff --git a/cpp/pom.xml b/cpp/pom.xml
deleted file mode 100644
index 6aeedcaa5..000000000
--- a/cpp/pom.xml
+++ /dev/null
@@ -1,224 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-      https://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
-  -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.apache.tsfile</groupId>
-        <artifactId>tsfile-parent</artifactId>
-        <version>2.1.0-SNAPSHOT</version>
-    </parent>
-    <artifactId>tsfile-cpp</artifactId>
-    <packaging>pom</packaging>
-    <name>TsFile: C++</name>
-    <properties>
-        <!-- Tell Sonar where to find the sources -->
-        <sonar.sources>common,examples,tsfile</sonar.sources>
-        <sonar.cfamily.build-wrapper-output>${project.build.directory}/build-wrapper-output</sonar.cfamily.build-wrapper-output>
-        <cmake.addition.option>-DCOV_ENABLED=OFF</cmake.addition.option>
-    </properties>
-    <build>
-        <sourceDirectory>${project.basedir}</sourceDirectory>
-        <plugins>
-            <!--
-                Do the actual build.
-            -->
-            <plugin>
-                <groupId>com.googlecode.cmake-maven-project</groupId>
-                <artifactId>cmake-maven-plugin</artifactId>
-                <executions>
-                    <!-- Generate the configuration for the main compilation -->
-                    <!--execution>
-                      <id>cmake-generate-compile</id>
-                      <phase>compile</phase>
-                      <goals>
-                        <goal>generate</goal>
-                      </goals>
-                    </execution>
-                    <!- Compile the main code ->
-                    <execution>
-                      <id>cmake-execute-compile</id>
-                      <phase>compile</phase>
-                      <goals>
-                        <goal>compile</goal>
-                      </goals>
-                    </execution-->
-                    <!-- Generate the configuration for the test compilation -->
-                    <execution>
-                        <id>cmake-generate-test-compile</id>
-                        <phase>generate-test-sources</phase>
-                        <goals>
-                            <goal>generate</goal>
-                        </goals>
-                        <configuration>
-                            <options>
-                                <option>-DBUILD_PHASE=test-compile</option>
-                                <option>${cmake.addition.option}</option>
-                            </options>
-                            <sourcePath/>
-                            <targetPath/>
-                        </configuration>
-                    </execution>
-                    <!-- Compile the test code -->
-                    <execution>
-                        <id>cmake-execute-test-compile</id>
-                        <phase>test-compile</phase>
-                        <goals>
-                            <goal>compile</goal>
-                        </goals>
-                    </execution>
-                    <!-- Execute the tests -->
-                    <execution>
-                        <id>cmake-run-tests</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>test</goal>
-                        </goals>
-                        <configuration>
-                            <buildDirectory>${project.build.directory}/build/test</buildDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-                <configuration>
-                    <!--
-                        Actually the path to the CMakeList.txt file which then again
-                        tells to tool where to find the sources.
-                    -->
-                    <sourcePath>${project.basedir}</sourcePath>
-                    <!--
-                        Path to where the build configuration is generated
-                        (This directory is then used in the compile step to actually perform the build)
-                    -->
-                    <targetPath>${project.build.directory}/build</targetPath>
-                    <!--
-                        Name of the generator the compile step will be executing.
-                    -->
-                    <generator>${cmake.generator}</generator>
-                    <!-- The directory where the "generate" step generated the build configuration -->
-                    <projectDirectory>${project.build.directory}/build</projectDirectory>
-                </configuration>
-            </plugin>
-            <!-- Overwrite test config-->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.gmaven</groupId>
-                <artifactId>groovy-maven-plugin</artifactId>
-                <version>2.1.1</version>
-                <executions>
-                    <!-- rename the cmake binary and generate a script that adds the sonar build-wrapper -->
-                    <execution>
-                        <id>sync-project-version</id>
-                        <phase>process-sources</phase>
-                        <goals>
-                            <goal>execute</goal>
-                        </goals>
-                        <configuration>
-                            <source>${project.basedir}/VersionUpdater.groovy</source>
-                        </configuration>
-                    </execution>
-                </executions>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.groovy</groupId>
-                        <artifactId>groovy</artifactId>
-                        <version>${groovy.version}</version>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
-    </build>
-    <profiles>
-        <profile>
-            <id>linux-install-uuid-dev</id>
-            <activation>
-                <os>
-                    <family>unix</family>
-                    <name>Linux</name>
-                </os>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>exec-maven-plugin</artifactId>
-                        <version>1.1.1</version>
-                        <executions>
-                            <execution>
-                                <id>install-uuid-dev</id>
-                                <phase>validate</phase>
-                                <goals>
-                                    <goal>exec</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                        <configuration>
-                            <executable>bash</executable>
-                            <arguments>
-                                <argument>-c</argument>
-                                <argument>sudo apt-get update &amp;&amp; sudo apt-get install -y uuid-dev</argument>
-                            </arguments>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-        <profile>
-            <id>with-code-coverage</id>
-            <properties>
-                <cmake.addition.option>-DCOV_ENABLED=ON</cmake.addition.option>
-            </properties>
-        </profile>
-        <!-- When running on jenkins, download the sonar build-wrapper, so we can do a code analysis -->
-        <profile>
-            <id>jenkins-build</id>
-            <!-- This is needed by the groovy hack script -->
-            <properties>
-                <cmake.root>${project.build.directory}/dependency/cmake/bin</cmake.root>
-            </properties>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>com.googlecode.maven-download-plugin</groupId>
-                        <artifactId>download-maven-plugin</artifactId>
-                        <executions>
-                            <!-- Get the build-wrapper from our sonarcloud server -->
-                            <execution>
-                                <id>get-build-wrapper</id>
-                                <phase>generate-sources</phase>
-                                <goals>
-                                    <goal>wget</goal>
-                                </goals>
-                                <configuration>
-                                    <skipCache>true</skipCache>
-                                    <url>https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip</url>
-                                    <unpack>true</unpack>
-                                    <outputDirectory>${project.build.directory}</outputDirectory>
-                                    <skipCache>true</skipCache>
-                                </configuration>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>
diff --git a/cpp/src/CMakeLists.txt b/cpp/src/CMakeLists.txt
deleted file mode 100644
index ecacad70a..000000000
--- a/cpp/src/CMakeLists.txt
+++ /dev/null
@@ -1,68 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-message("Running in src diectory")
-if (${COV_ENABLED})
-    add_compile_options(-fprofile-arcs -ftest-coverage)
-endif ()
-add_definitions(-DANTLR4CPP_STATIC)
-set(ANTLR4_WITH_STATIC_CRT OFF)
-add_subdirectory(parser)
-add_subdirectory(common)
-add_subdirectory(compress)
-add_subdirectory(cwrapper)
-add_subdirectory(encoding)
-add_subdirectory(file)
-add_subdirectory(reader)
-add_subdirectory(utils)
-add_subdirectory(writer)
-
-set(COMPRESSION_LIBS snappy LZ4 lzokay zlibstatic)
-target_link_libraries(parser_obj antlr4_static)
-target_link_libraries(compress_obj ${COMPRESSION_LIBS})
-target_link_libraries(common_obj ${COMPRESSION_LIBS})
-target_link_libraries(read_obj ${COMPRESSION_LIBS})
-target_link_libraries(write_obj ${COMPRESSION_LIBS})
-
-add_library(tsfile SHARED)
-if (${COV_ENABLED})
-    message("Enable code cov...")
-    target_link_libraries(tsfile common_obj compress_obj cwrapper_obj file_obj read_obj write_obj parser_obj -lgcov)
-else()
-    message("Disable code cov...")
-    target_link_libraries(tsfile common_obj compress_obj cwrapper_obj file_obj read_obj write_obj parser_obj)
-endif()
-
-set(LIBTSFILE_PROJECT_VERSION ${TsFile_CPP_VERSION})
-set(LIBTSFILE_SO_VERSION ${TsFile_CPP_VERSION})
-set_target_properties(tsfile PROPERTIES VERSION ${LIBTSFILE_PROJECT_VERSION})
-set_target_properties(tsfile PROPERTIES SOVERSION ${LIBTSFILE_SO_VERSION})
-
-set(LIBTSFILE_SDK_DIR ${LIBRARY_OUTPUT_PATH})
-install(TARGETS tsfile LIBRARY DESTINATION ${LIBTSFILE_SDK_DIR})
-
-# set(CMAKE_PREFIX_PATH ../../third-party/lz4-dev/lib)
-# set(LZ4_LIB_DIR ../../third-party/lz4-dev/lib)
-# find_library(my_lz4_lib NAMES lz4 PATHS ${LZ4_LIB_DIR} NO_DEFAULT_PATH REQUIRED)
-# link_directories(${LZ4_LIB_DIR})
-# target_link_libraries(tsfile ${my_lz4_lib})
-
-# if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
-#   add_custom_command(TARGET tsfile POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change `otool -L ${LIBRARY_OUTPUT_PATH}/libtsfile.dylib | grep liblz4 | sed 's/dylib.*/dylib/g'` ${my_lz4_lib} ${LIBRARY_OUTPUT_PATH}/libtsfile.dylib)
-#   add_custom_command(TARGET tsfile POST_BUILD COMMAND ${CMAKE_INSTALL_NAME_TOOL} -change `otool -L ${LIBRARY_OUTPUT_PATH}/libtsfile.dylib | grep libz | sed 's/dylib.*/dylib/g'` ${my_z_lib} ${LIBRARY_OUTPUT_PATH}/libtsfile.dylib)
-# endif()
diff --git a/cpp/src/common/CMakeLists.txt b/cpp/src/common/CMakeLists.txt
deleted file mode 100644
index 7087d03dc..000000000
--- a/cpp/src/common/CMakeLists.txt
+++ /dev/null
@@ -1,35 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-message("Running in src/common directory")
-
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} common_SRC_LIST)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/allocator common_allocator_SRC_LIST)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/container common_container_SRC_LIST)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/tsblock common_tsblock_SRC_LIST)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/mutex common_mutex_SRC_LIST)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/datatype common_datatype_SRC_LIST)
-
-set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-add_library(common_obj OBJECT ${common_SRC_LIST} 
-    ${common_allocator_SRC_LIST}
-    ${common_container_SRC_LIST}
-    ${common_tsblock_SRC_LIST} 
-    ${common_mutex_SRC_LIST} 
-    ${common_datatype_SRC_LIST})
-
diff --git a/cpp/src/common/allocator/CMakeLists.txt b/cpp/src/common/allocator/CMakeLists.txt
deleted file mode 100644
index e66bd2129..000000000
--- a/cpp/src/common/allocator/CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-
-message("Running in src/common/allocator directory")
-
-message("CMAKE_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}")
-set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} common_allocator_SRC_LIST)
-add_library(common_allocator OBJECT ${common_allocator_SRC_LIST})
-
diff --git a/cpp/src/common/allocator/alloc_base.h b/cpp/src/common/allocator/alloc_base.h
deleted file mode 100644
index 1ff55e193..000000000
--- a/cpp/src/common/allocator/alloc_base.h
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_ALLOCATOR_ALLOC_BASE_H
-#define COMMON_ALLOCATOR_ALLOC_BASE_H
-
-#include <stddef.h>
-
-#include <cstring>
-
-#include "utils/util_define.h"
-
-namespace common {
-
-enum AllocModID {
-    __FIRST_MOD_ID = 0,
-    // if you are sure you will not consume too much memory, you can use
-    // MOD_DEFAULT.
-    MOD_DEFAULT = 0,
-    MOD_MEMTABLE = 1,
-    MOD_SCHEMA = 2,
-    MOD_SQL = 3,
-    MOD_NET = 4,
-    MOD_NET_DATA = 5,
-    MOD_TVLIST_DATA = 6,
-    MOD_TVLIST_OBJ = 7,
-    MOD_TSBLOCK = 8,
-    MOD_CONTAINER = 9,
-    MOD_TSSTORE_OBJ = 10,
-    MOD_FLUSH_TASK_OBJ = 11,
-    MOD_PAGE_WRITER_OUTPUT_STREAM = 12,
-    MOD_CW_PAGES_DATA = 13,
-    MOD_CHUNK_WRITER_OBJ = 14,
-    MOD_STATISTIC_OBJ = 15,
-    MOD_ENCODER_OBJ = 16,
-    MOD_DECODER_OBJ = 17,
-    MOD_TSFILE_WRITER_META = 18,
-    MOD_TSFILE_WRITE_STREAM = 19,
-    MOD_TIMESERIES_INDEX_OBJ = 20,
-    MOD_BLOOM_FILTER = 21,
-    MOD_OPEN_FILE_OBJ = 22,
-    MOD_TSFILE_READER = 23,
-    MOD_CHUNK_READER = 24,
-    MOD_COMPRESSOR_OBJ = 25,
-    MOD_ARRAY = 26,
-    MOD_HASH_TABLE = 27,
-    MOD_WRITER_INDEX_NODE = 28,
-    MOD_TS2DIFF_OBJ = 29,
-    MOD_BITENCODE_OBJ = 30,
-    MOD_DICENCODE_OBJ = 31,
-    MOD_ZIGZAG_OBJ = 32,
-    __LAST_MOD_ID = 33,  // prev + 1,
-    __MAX_MOD_ID = 127,  // leave 1 bit to detect header size
-};
-
-extern const char *g_mod_names[__LAST_MOD_ID];
-
-/* very basic alloc/free interface in C style */
-void *mem_alloc(uint32_t size, AllocModID mid);
-void mem_free(void *ptr);
-void *mem_realloc(void *ptr, uint32_t size);
-
-class ModStat {
-   public:
-    ModStat() : stat_arr_(NULL) {}
-
-    static ModStat &get_instance() {
-        /*
-         * This is the singleton of Mod Memory Statistic.
-         * gms is short for Global Mod Statistic
-         */
-        static ModStat gms;
-        return gms;
-    }
-    void init();
-    void destroy();
-    INLINE void update_alloc(AllocModID mid, int32_t size) {
-        //    ASSERT(mid < __LAST_MOD_ID);
-        //     ATOMIC_FAA(get_item(mid), size);
-    }
-    void update_free(AllocModID mid, uint32_t size) {
-        //    ASSERT(mid < __LAST_MOD_ID);
-        //    ATOMIC_FAA(get_item(mid), 0 - size);
-    }
-    void print_stat();
-
-#ifdef ENABLE_TEST
-    int32_t TEST_get_stat(int8_t mid) { return ATOMIC_FAA(get_item(mid), 0); }
-#endif
-
-   private:
-    INLINE int32_t *get_item(int8_t mid) {
-        return &(stat_arr_[mid * (ITEM_SIZE / sizeof(int32_t))]);
-    }
-
-   private:
-    static const int32_t ITEM_SIZE = CACHE_LINE_SIZE;
-    static const int32_t ITEM_COUNT = __LAST_MOD_ID;
-    int32_t *stat_arr_;
-
-    STATIC_ASSERT((ITEM_SIZE % sizeof(int32_t) == 0), ModStat_ITEM_SIZE_ERROR);
-};
-
-/* base allocator */
-class BaseAllocator {
-   public:
-    void *alloc(uint32_t size, AllocModID mid) { return mem_alloc(size, mid); }
-    void free(void *ptr) { mem_free(ptr); }
-};
-
-extern BaseAllocator g_base_allocator;
-
-}  // end namespace common
-
-#endif  // COMMON_ALLOCATOR_ALLOC_BASE_H
diff --git a/cpp/src/common/allocator/byte_stream.h b/cpp/src/common/allocator/byte_stream.h
deleted file mode 100644
index bf46d9d7d..000000000
--- a/cpp/src/common/allocator/byte_stream.h
+++ /dev/null
@@ -1,1128 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_ALLOCATOR_BYTE_STREAM_H
-#define COMMON_ALLOCATOR_BYTE_STREAM_H
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#include <iostream>
-#include <string>
-
-#include "common/allocator/alloc_base.h"
-#include "common/allocator/my_string.h"
-#include "utils/errno_define.h"
-
-namespace common {
-
-template <typename T>
-class OptionalAtomic {
-   public:
-    OptionalAtomic(T t, bool enable_atomic = false)
-        : val_(t), enable_atomic_(enable_atomic) {}
-
-    FORCE_INLINE T load() const {
-        if (UNLIKELY(enable_atomic_)) {
-            return ATOMIC_LOAD(&val_);
-        } else {
-            return val_;
-        }
-    }
-
-    FORCE_INLINE void store(const T t) {
-        if (UNLIKELY(enable_atomic_)) {
-            ATOMIC_STORE(&val_, t);
-        } else {
-            val_ = t;
-        }
-    }
-
-    FORCE_INLINE T atomic_faa(const T increament) {
-        if (UNLIKELY(enable_atomic_)) {
-            return ATOMIC_FAA(&val_, increament);
-        } else {
-            T old_val = val_;
-            val_ = val_ + increament;
-            return old_val;
-        }
-    }
-
-    FORCE_INLINE T atomic_aaf(const T increament) {
-        if (UNLIKELY(enable_atomic_)) {
-            return ATOMIC_AAF(&val_, increament);
-        } else {
-            val_ = val_ + increament;
-            return val_;
-        }
-    }
-
-    FORCE_INLINE bool enable_atomic() const { return enable_atomic_; }
-
-   private:
-    T val_;
-    bool enable_atomic_;
-};
-
-FORCE_INLINE int32_t float_to_int(float f) {
-    // return *((int32_t*)(&f));
-    // return *(reinterpret_cast<int32_t*>(&f));
-    union fi {
-        int i_;
-        float f_;
-    };
-
-    fi my_fi;
-    my_fi.f_ = f;
-    return my_fi.i_;  // By mimicking the java jdk's implementation, it's
-                      // essentially the same as line 75.
-}
-
-FORCE_INLINE float int_to_float(int32_t i) {
-    // return *((float *)(&i));
-    union fi {
-        int i_;
-        float f_;
-    };
-
-    fi my_fi;
-    my_fi.i_ = i;
-    return my_fi.f_;
-}
-
-FORCE_INLINE void float_to_bytes(float f, uint8_t bytes[4]) {
-    /*
-     * See:
-     * floatToBytes in BytesUtils.java of IoTDB project and
-     * Java_java_lang_Float_intBitsToFloat in JDK project
-     */
-    if (UNLIKELY(f != f)) {  // this is NaN
-        // IEEE754: 0x7FC00000 for NanN
-        bytes[0] = 0x7F;
-        bytes[1] = 0xC0;
-        bytes[2] = 0x00;
-        bytes[3] = 0x00;
-        return;
-    }
-
-    // follow jdk implementation style.
-    union {
-        int i;
-        float f;
-    } u;
-
-    u.f = f;
-
-    bytes[3] = (uint8_t)(u.i);
-    bytes[2] = (uint8_t)(u.i >> 8);
-    bytes[1] = (uint8_t)(u.i >> 16);
-    bytes[0] = (uint8_t)(u.i >> 24);
-}
-
-FORCE_INLINE float bytes_to_float(uint8_t bytes[4]) {
-    int32_t i = bytes[3];
-    i &= 0xFF;
-    i |= bytes[2] << 8;
-    i &= 0xFFFF;
-    i |= bytes[1] << 16;
-    i &= 0xFFFFFF;
-    i |= bytes[0] << 24;
-
-    union {
-        int i;
-        float f;
-    } u;
-
-    u.i = i;
-    return u.f;
-}
-
-FORCE_INLINE int64_t double_to_long(double d) {
-    // return *((int64_t*)(&d));
-    union dl {
-        double d_;
-        int64_t l_;
-    };
-    dl my_dl;
-    my_dl.d_ = d;
-    return my_dl.l_;
-}
-
-FORCE_INLINE double long_to_double(int64_t l) {
-    // return *((double *)(&l));
-    union dl {
-        double d_;
-        int64_t l_;
-    };
-    dl my_dl;
-    my_dl.l_ = l;
-    return my_dl.d_;
-}
-
-FORCE_INLINE void double_to_bytes(double d, uint8_t bytes[8]) {
-    if (UNLIKELY(d != d)) {
-        // NaN, 0x7FF8000000000000L
-        memset(bytes, 0, 8);
-        bytes[0] = 0x7F;
-        bytes[1] = 0xF8;
-        return;
-    }
-    // follow jdk implementation style.
-    union {
-        long long l;
-        double d;
-    } u;
-
-    u.d = d;
-
-    bytes[7] = (uint8_t)u.l;
-    bytes[6] = (uint8_t)(u.l >> 8);
-    bytes[5] = (uint8_t)(u.l >> 16);
-    bytes[4] = (uint8_t)(u.l >> 24);
-    bytes[3] = (uint8_t)(u.l >> 32);
-    bytes[2] = (uint8_t)(u.l >> 40);
-    bytes[1] = (uint8_t)(u.l >> 48);
-    bytes[0] = (uint8_t)(u.l >> 56);
-}
-
-FORCE_INLINE double bytes_to_double(uint8_t bytes[8]) {
-    int64_t value = bytes[7];
-    value &= 0xFFl;
-    value |= ((int64_t)bytes[6]) << 8;
-    value &= 0xFFFFl;
-    value |= ((int64_t)bytes[5]) << 16;
-    value &= 0xFFFFFFl;
-    value |= ((int64_t)bytes[4]) << 24;
-    value &= 0xFFFFFFFFl;
-    value |= ((int64_t)bytes[3]) << 32;
-    value &= 0xFFFFFFFFFFl;
-    value |= ((int64_t)bytes[2]) << 40;
-    value &= 0xFFFFFFFFFFFFl;
-    value |= ((int64_t)bytes[1]) << 48;
-    value &= 0xFFFFFFFFFFFFFFl;
-    value |= ((int64_t)bytes[0]) << 56;
-
-    // follow jdk implementation style.
-    union {
-        long long l;
-        double d;
-    } u;
-
-    u.l = value;
-    return u.d;
-}
-
-// TODO define a WrappedByteStream class
-
-// auto extend buffer for serialization
-class ByteStream {
-   private:
-    struct Page {
-        OptionalAtomic<Page *> next_;  // 9 bytes
-        uint8_t *buf_;                 // 8 bytes
-
-        explicit Page(bool enable_atomic) : next_(nullptr, enable_atomic) {
-            buf_ = (uint8_t
-                        *)(this +
-                           1);  // I think it should add 17, because the Page
-                                // class is 9+8=17 bytes. No, adding one to a
-                                // pointer is not adding a byte, but adding the
-                                // length of the byte corresponding to the type
-                                // pointed to by the pointer, and adding one
-                                // here is actually adding 17 bytes. No problem.
-        }
-        Page(bool enable_atomic, uint8_t *wrapped_buf)
-            : next_(nullptr, enable_atomic), buf_(wrapped_buf) {}
-    };
-
-   public:
-    ByteStream(uint32_t page_size, AllocModID mid, bool enable_atomic = false,
-               BaseAllocator &allocator = g_base_allocator)
-        : allocator_(allocator),
-          head_(nullptr, enable_atomic),
-          tail_(nullptr, enable_atomic),
-          read_page_(nullptr),
-          total_size_(0, enable_atomic),
-          read_pos_(0),
-          marked_read_pos_(0),
-          page_size_(page_size),
-          mid_(mid),
-          wrapped_page_(false, nullptr) {
-        // assert(page_size >= 16);  // commented out by gxh on 2023.03.09
-    }
-
-    // TODO use a specific construct function to mark it as wrapped use.
-    // for wrap plain buffer to ByteStream
-    ByteStream()
-        : allocator_(g_base_allocator),
-          head_(nullptr, false),
-          tail_(nullptr, false),
-          read_page_(nullptr),
-          total_size_(0, false),
-          read_pos_(0),
-          marked_read_pos_(0),
-          page_size_(0),
-          mid_(MOD_DEFAULT),
-          wrapped_page_(false, nullptr) {}
-
-    ~ByteStream() { destroy(); }
-
-    /* ================ Part 0: wrap from outside buffer ================ */
-    // if you wrap a buffer as a ByteStream, you should
-    // manage the outside buffer yourself.
-    void wrap_from(const char *buf, int32_t buf_len) {
-        wrapped_page_.next_.store(nullptr);
-        wrapped_page_.buf_ = (uint8_t *)buf;
-
-        page_size_ = buf_len;
-        head_.store(&wrapped_page_);
-        tail_.store(&wrapped_page_);
-        total_size_.store(buf_len);
-        marked_read_pos_ = 0;
-        read_pos_ = 0;
-        read_page_ = nullptr;
-    }
-    FORCE_INLINE bool is_wrapped() const {
-        return head_.load() == &wrapped_page_;
-    }
-    char *get_wrapped_buf() { return (char *)wrapped_page_.buf_; }
-    void clear_wrapped_buf() { wrapped_page_.buf_ = nullptr; }
-
-    /* ================ Part 1: basic ================ */
-    FORCE_INLINE uint32_t remaining_size() const {
-        ASSERT(total_size_.load() >= read_pos_);
-        return total_size_.load() - read_pos_;
-    }
-    FORCE_INLINE bool has_remaining() const { return remaining_size() > 0; }
-
-    FORCE_INLINE void mark_read_pos() { marked_read_pos_ = read_pos_; }
-    FORCE_INLINE uint32_t get_mark_len() const {
-        ASSERT(marked_read_pos_ <= read_pos_);
-        return read_pos_ - marked_read_pos_;
-    }
-
-    void destroy() { reset(); }
-    void reset() {
-        // if this ByteStream is wrapped from a plain buffer
-        // do not free the outside buffer.
-        if (!is_wrapped()) {
-            Page *p = head_.load();
-            while (p) {
-                p = head_.load()->next_.load();
-                allocator_.free(head_.load());
-                head_.store(p);
-            }
-        }
-        head_.store(nullptr);
-        tail_.store(nullptr);
-        read_page_ = nullptr;
-        total_size_.store(0);
-        read_pos_ = 0;
-    }
-
-    // never used TODO
-    void shallow_clone_from(ByteStream &other) {
-        this->page_size_ = other.page_size_;
-        this->mid_ = other.mid_;
-        this->head_.store(other.head_.load());
-        this->tail_.store(other.tail_.load());
-        this->total_size_.store(other.total_size_.load());
-    }
-
-    FORCE_INLINE uint32_t total_size() const { return total_size_.load(); }
-    FORCE_INLINE uint32_t read_pos() const { return read_pos_; };
-    FORCE_INLINE void wrapped_buf_advance_read_pos(uint32_t size) {
-        if (size + read_pos_ > total_size_.load()) {
-            read_pos_ = total_size_.load();
-        } else {
-            read_pos_ += size;
-        }
-    }
-
-    /* ================ Part 2: write_xxx and read_xxx ================ */
-    // writer @buf with length @len into this bytestream
-    int write_buf(const uint8_t *buf, const uint32_t len) {
-        int ret = common::E_OK;
-        uint32_t write_len = 0;
-        while (write_len < len) {
-            if (RET_FAIL(prepare_space())) {
-                std::cout << "write_buf error " << ret << std::endl;
-                return ret;
-            }
-            uint32_t remainder = page_size_ - (total_size_.load() % page_size_);
-            uint32_t copy_len =
-                remainder < (len - write_len) ? remainder : (len - write_len);
-            memcpy(tail_.load()->buf_ + total_size_.load() % page_size_,
-                   buf + write_len, copy_len);
-            total_size_.atomic_aaf(copy_len);
-            write_len += copy_len;
-        }
-        return ret;
-    }
-
-    // reader @want_len bytes to @buf, @read_len indicates real len we reader.
-    // if ByteStream do not have so many bytes, it will return E_PARTIAL_READ if
-    // no other error occure.
-    int read_buf(uint8_t *buf, const uint32_t want_len, uint32_t &read_len) {
-        int ret = common::E_OK;
-        bool partial_read = (read_pos_ + want_len > total_size_.load());
-        uint32_t want_len_limited =
-            partial_read ? (total_size_.load() - read_pos_) : want_len;
-        read_len = 0;
-        while (read_len < want_len_limited) {
-            if (RET_FAIL(check_space())) {
-                return ret;
-            }
-            uint32_t remainder = page_size_ - (read_pos_ % page_size_);
-            uint32_t copy_len = remainder < want_len_limited - read_len
-                                    ? remainder
-                                    : want_len_limited - read_len;
-            memcpy(buf + read_len, read_page_->buf_ + (read_pos_ % page_size_),
-                   copy_len);
-            read_len += copy_len;
-            read_pos_ += copy_len;
-        }
-        return partial_read ? common::E_PARTIAL_READ : common::E_OK;
-    }
-
-    FORCE_INLINE int write_buf(const char *buf, const uint32_t len) {
-        return write_buf((const uint8_t *)buf, len);
-    }
-    FORCE_INLINE int read_buf(char *buf, const uint32_t want_len,
-                              uint32_t &read_len) {
-        return read_buf((uint8_t *)buf, want_len, read_len);
-    }
-    FORCE_INLINE int read_buf(char *buf, const int32_t want_len,
-                              int32_t &read_len) {
-        return read_buf((uint8_t *)buf, (uint32_t &)want_len,
-                        (uint32_t &)read_len);
-    }
-
-    void purge_prev_pages(int purge_page_count = INT32_MAX) {
-        Page *cur = head_.load();
-        while (cur != tail_.load() && purge_page_count-- > 0) {
-            Page *next = cur->next_.load();
-            allocator_.free(cur);
-            cur = next;
-        }
-        head_.store(cur);
-    }
-
-    /* ================ Part 3: writing internal buffers ================ */
-    /*
-     * use @acquire_buf function to get a buf, caller will fill the buf, and
-     * after filling, caller use @buffer_used to notice ByteStream to update
-     * internal variables.
-     *
-     * Note: it should be used in single thread.
-     */
-    struct Buffer {
-        char *buf_;
-        uint32_t len_;
-
-        Buffer() : buf_(nullptr), len_(0) {}
-    };
-
-    Buffer acquire_buf() {
-        Buffer b;
-        if (common::E_OK != prepare_space()) {
-            return b;
-        }
-        b.buf_ =
-            (char *)(tail_.load()->buf_ + (total_size_.load() % page_size_));
-        b.len_ = page_size_ - (total_size_.load() % page_size_);
-        return b;
-    }
-
-    void buffer_used(uint32_t used_bytes) {
-        ASSERT(used_bytes >= 1);
-        // would not span page
-        ASSERT((total_size_.load() / page_size_) ==
-               ((total_size_.load() + used_bytes - 1) / page_size_));
-        total_size_.atomic_aaf(used_bytes);
-    }
-
-    /* ================ Part 4: reading internal buffers ================ */
-    /*
-     * one-shot reader iterator
-     * Do not use it if the host_ is still writing
-     */
-    struct BufferIterator {
-        const ByteStream &host_;
-        Page *cur_;
-        Page *end_;
-        int64_t total_size_;
-        BufferIterator(const ByteStream &bs) : host_(bs) {
-            cur_ = bs.head_.load();
-            end_ = bs.tail_.load();
-            total_size_ = bs.total_size_.load();
-        }
-
-        Buffer get_next_buf() {
-            Buffer b;
-            if (cur_ != nullptr) {
-                b.buf_ = (char *)cur_->buf_;
-                if (cur_ == end_ &&
-                    host_.total_size_.load() % host_.page_size_ != 0) {
-                    b.len_ = host_.total_size_.load() % host_.page_size_;
-                } else {
-                    b.len_ = host_.page_size_;
-                }
-                ASSERT(b.len_ > 0);
-                cur_ = cur_->next_.load();
-            }
-            return b;
-        }
-    };
-    BufferIterator init_buffer_iterator() const {
-        return BufferIterator(*this);
-    }
-
-    /*
-     * producer-consumer mode reader iterator
-     * Note:
-     * the host ByteStream should be configured as atomically.
-     */
-    struct Consumer {
-        const ByteStream &host_;
-        Page *cur_;
-        uint32_t read_offset_within_cur_page_;
-        int64_t total_end_offset_;  // for DEBUG
-
-        Consumer(const ByteStream &bs) : host_(bs) {
-            ASSERT(bs.head_.enable_atomic());
-            cur_ = nullptr;
-            read_offset_within_cur_page_ = 0;
-            total_end_offset_ = 0;
-        }
-
-        Buffer get_next_buf(ByteStream &host) {
-            Buffer b;
-            if (UNLIKELY(host.head_.load() == nullptr)) {
-                // host is empty, return empty buffer.
-                return b;
-            }
-            if (UNLIKELY(cur_ == nullptr)) {
-                // this consumer did not initialiazed.
-                cur_ = host_.head_.load();
-                read_offset_within_cur_page_ = 0;
-            }
-
-            // get tail position <tail_, total_size_> atomically
-            Page *host_end = nullptr;
-            uint32_t host_total_size = 0;
-            while (true) {
-                host_end = host_.tail_.load();
-                host_total_size = host_.total_size_.load();
-                if (host_end == host_.tail_.load()) {
-                    break;
-                }
-            }
-
-            while (true) {
-                if (cur_ == host_end) {
-                    if (host_total_size % host_.page_size_ == 0) {
-                        if (read_offset_within_cur_page_ == host_.page_size_) {
-                            return b;
-                        } else {
-                            b.buf_ = ((char *)(cur_->buf_)) +
-                                     read_offset_within_cur_page_;
-                            b.len_ =
-                                host_.page_size_ - read_offset_within_cur_page_;
-                            read_offset_within_cur_page_ = host_.page_size_;
-                            total_end_offset_ += b.len_;
-                            return b;
-                        }
-                    } else {
-                        if (read_offset_within_cur_page_ ==
-                            (host_total_size % host_.page_size_)) {
-                            return b;
-                        } else {
-                            b.buf_ = ((char *)(cur_->buf_)) +
-                                     read_offset_within_cur_page_;
-                            b.len_ = (host_total_size % host_.page_size_) -
-                                     read_offset_within_cur_page_;
-                            read_offset_within_cur_page_ =
-                                (host_total_size % host_.page_size_);
-                            total_end_offset_ += b.len_;
-                            return b;
-                        }
-                    }
-                } else {
-                    if (read_offset_within_cur_page_ == host_.page_size_) {
-                        cur_ = cur_->next_.load();
-                        read_offset_within_cur_page_ = 0;
-                    } else {
-                        b.buf_ = ((char *)(cur_->buf_)) +
-                                 read_offset_within_cur_page_;
-                        b.len_ =
-                            host_.page_size_ - read_offset_within_cur_page_;
-                        cur_ = cur_->next_.load();
-                        read_offset_within_cur_page_ = 0;
-                        total_end_offset_ += b.len_;
-                        return b;
-                    }
-                }
-            }
-            ASSERT(b.len_ < (1 << 30));
-            return b;
-        }
-    };
-
-   private:
-    FORCE_INLINE int prepare_space() {
-        int ret = common::E_OK;
-        if (UNLIKELY(tail_.load() == nullptr ||
-                     total_size_.load() % page_size_ == 0)) {
-            Page *p = nullptr;
-            if (RET_FAIL(alloc_page(p))) {
-                return ret;
-            }
-        } else {
-            // do nothing
-        }
-        return ret;
-    }
-
-    FORCE_INLINE int check_space() {
-        if (UNLIKELY(read_pos_ >= total_size_.load())) {
-            return common::E_OUT_OF_RANGE;
-        }
-        if (UNLIKELY(read_page_ == nullptr)) {
-            read_page_ = head_.load();
-        } else if (UNLIKELY(read_pos_ % page_size_ == 0)) {
-            read_page_ = read_page_->next_.load();
-        }
-        if (UNLIKELY(read_page_ == nullptr)) {
-            return common::E_OUT_OF_RANGE;
-        }
-        return common::E_OK;
-    }
-
-    FORCE_INLINE int alloc_page(Page *&p) {
-        int ret = common::E_OK;
-        char *buf = (char *)allocator_.alloc(page_size_ + sizeof(Page), mid_);
-        if (UNLIKELY(buf == nullptr)) {
-            ret = common::E_OOM;
-        } else {
-            p = new (buf) Page(head_.enable_atomic());
-            p->next_.store(nullptr);
-            if (head_.load()) {
-                tail_.load()->next_.store(p);
-                tail_.store(p);
-            } else {
-                head_.store(p);
-                tail_.store(p);
-            }
-        }
-        // printf("\nByteStream alloc_page, this=%p, new_page=%p\n", this, p);
-        return ret;
-    }
-
-    DISALLOW_COPY_AND_ASSIGN(ByteStream);
-
-   private:
-    BaseAllocator &allocator_;
-    OptionalAtomic<Page *> head_;
-    OptionalAtomic<Page *> tail_;
-    Page *read_page_;  // only one thread is allow to reader this ByteStream
-    OptionalAtomic<uint32_t> total_size_;  // total size in byte
-    uint32_t read_pos_;                    // current reader position
-    uint32_t marked_read_pos_;             // current reader position
-    uint32_t page_size_;
-    AllocModID mid_;
-    Page wrapped_page_;
-};
-
-FORCE_INLINE int merge_byte_stream(ByteStream &sea, ByteStream &river,
-                                   bool purge_river = false) {
-    int ret = common::E_OK;
-    ByteStream::BufferIterator buf_iter = river.init_buffer_iterator();
-    while (true) {
-        ByteStream::Buffer buf = buf_iter.get_next_buf();
-        if (buf.buf_ == nullptr) {
-            break;
-        } else {
-            if (RET_FAIL(sea.write_buf(buf.buf_, buf.len_))) {
-                break;
-            }
-        }
-        if (purge_river) {
-            river.purge_prev_pages(1);
-        }
-    }
-    return ret;
-}
-
-FORCE_INLINE int copy_bs_to_buf(ByteStream &bs, char *src_buf,
-                                uint32_t src_buf_len) {
-    ByteStream::BufferIterator buf_iter = bs.init_buffer_iterator();
-    uint32_t copyed_len = 0;
-    while (true) {
-        ByteStream::Buffer buf = buf_iter.get_next_buf();
-        if (buf.buf_ == nullptr) {
-            break;
-        } else {
-            if (src_buf_len - copyed_len < buf.len_) {
-                return E_BUF_NOT_ENOUGH;
-            }
-            memcpy(src_buf + copyed_len, buf.buf_, buf.len_);
-            copyed_len += buf.len_;
-        }
-    }
-    return E_OK;
-}
-
-FORCE_INLINE uint32_t get_var_uint_size(
-    uint32_t
-        ui32)  // return: the length of usigned number after varint encoding.
-{
-    uint32_t bytes = 0;
-    while ((ui32 & 0xFFFFFF80) != 0) {
-        bytes++;
-        ui32 = ui32 >> 7;
-    }
-    return ++bytes;
-}
-
-#if DEBUG_SE
-FORCE_INLINE void DEBUG_print_byte_stream(const char *print_tag,
-                                          ByteStream &b) {
-    const int32_t WRAP_COUNT = 16;
-    int32_t print_char_count = 0;
-    ByteStream::BufferIterator buf_iter = b.init_buffer_iterator();
-    while (true) {
-        ByteStream::Buffer buf = buf_iter.get_next_buf();
-        if (buf.buf_ == nullptr) {
-            break;
-        } else {
-            // print_hex(buf.buf_, buf.len_);
-            printf("\n %s: buf.buf_=%p, buf.len_=%u\n", print_tag, buf.buf_,
-                   buf.len_);
-            for (uint32_t i = 0; i < buf.len_; i++) {
-                if (print_char_count++ % WRAP_COUNT == 0) {
-                    printf("\n %s offset=0x%05x :  ", print_tag,
-                           print_char_count - 1);
-                }
-                printf("%02x ", (uint8_t)buf.buf_[i]);
-            }
-        }
-    }
-    printf("\n\n");
-}
-
-FORCE_INLINE void DEBUG_hex_dump_buf(const char *print_tag, const char *buf,
-                                     int32_t len) {
-    const int32_t WRAP_COUNT = 16;
-    for (int i = 0; i < len; i++) {
-        if (i % WRAP_COUNT == 0) {
-            printf("\n%s", print_tag);
-        }
-        printf("%02x ", (uint8_t)(buf[i]));
-    }
-    printf("\n");
-}
-#endif  // ifndef NDEBUG
-
-class SerializationUtil {
-   public:
-    FORCE_INLINE static int write_ui8(uint8_t ui8, ByteStream &out) {
-        return out.write_buf(&ui8, 1);
-    }
-    FORCE_INLINE static int write_ui16(uint16_t ui16, ByteStream &out) {
-        uint8_t buf[2];
-        buf[0] = (uint8_t)((ui16 >> 8) & 0xFF);
-        buf[1] = (uint8_t)((ui16)&0xFF);
-        return out.write_buf(buf, 2);
-    }
-    FORCE_INLINE static int write_ui32(uint32_t ui32, ByteStream &out) {
-        uint8_t buf[4];
-        buf[0] = (uint8_t)((ui32 >> 24) & 0xFF);
-        buf[1] = (uint8_t)((ui32 >> 16) & 0xFF);
-        buf[2] = (uint8_t)((ui32 >> 8) & 0xFF);
-        buf[3] = (uint8_t)((ui32)&0xFF);
-        return out.write_buf(buf, 4);
-    }
-    FORCE_INLINE static int write_ui64(uint64_t ui64, ByteStream &out) {
-        // big-endian: most signification byte at smaller address
-        // refer to tsfile.utils.BytesUtil
-        uint8_t buf[8];
-        buf[0] = (uint8_t)((ui64 >> 56) & 0xFF);
-        buf[1] = (uint8_t)((ui64 >> 48) & 0xFF);
-        buf[2] = (uint8_t)((ui64 >> 40) & 0xFF);
-        buf[3] = (uint8_t)((ui64 >> 32) & 0xFF);
-        buf[4] = (uint8_t)((ui64 >> 24) & 0xFF);
-        buf[5] = (uint8_t)((ui64 >> 16) & 0xFF);
-        buf[6] = (uint8_t)((ui64 >> 8) & 0xFF);
-        buf[7] = (uint8_t)((ui64)&0xFF);
-        return out.write_buf(buf, 8);
-    }
-
-    FORCE_INLINE static int read_ui8(uint8_t &ui8, ByteStream &in) {
-        int ret = common::E_OK;
-        char buf[1];
-        uint32_t read_len = 0;
-        ret = in.read_buf(buf, 1, read_len);
-        ui8 = (uint8_t)buf[0];
-        return ret;
-    }
-    FORCE_INLINE static int read_ui16(uint16_t &ui16, ByteStream &in) {
-        int ret = common::E_OK;
-        uint8_t buf[2];
-        uint32_t read_len = 0;
-        if (RET_FAIL(in.read_buf(buf, 2, read_len))) {
-            return ret;
-        }
-        ui16 = buf[0];
-        ui16 = (ui16 << 8) | buf[1];
-        return ret;
-    }
-    FORCE_INLINE static int read_ui32(uint32_t &ui32, ByteStream &in) {
-        int ret = common::E_OK;
-        uint8_t buf[4];
-        uint32_t read_len = 0;
-        if (RET_FAIL(in.read_buf(buf, 4, read_len))) {
-            return ret;
-        }
-        ui32 = buf[0];
-        ui32 = (ui32 << 8) | (buf[1] & 0xFF);
-        ui32 = (ui32 << 8) | (buf[2] & 0xFF);
-        ui32 = (ui32 << 8) | (buf[3] & 0xFF);
-        return ret;
-    }
-    FORCE_INLINE static int read_ui64(uint64_t &ui64, ByteStream &in) {
-        int ret = common::E_OK;
-        uint8_t buf[8];
-        uint32_t read_len = 0;
-        if (RET_FAIL(in.read_buf(buf, 8, read_len))) {
-            return ret;
-        }
-        ui64 = buf[0];
-        ui64 = (ui64 << 8) | (buf[1] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[2] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[3] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[4] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[5] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[6] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[7] & 0xFF);
-        return ret;
-    }
-    // caller guarantee buffer has at least 1 byte
-    FORCE_INLINE static uint8_t read_ui8(char *buffer) {
-        return *(uint8_t *)buffer;
-    }
-
-    // caller guarantee buffer has at least 2 bytes
-    FORCE_INLINE static uint16_t read_ui16(char *buffer) {
-        uint8_t *buf = (uint8_t *)buffer;
-        uint16_t ui16 = buf[0];
-        ui16 = (ui16 << 8) | (buf[1] & 0xFF);
-        return ui16;
-    }
-    // caller guarantee buffer has at least 4 bytes
-    FORCE_INLINE static uint32_t read_ui32(char *buffer) {
-        uint8_t *buf = (uint8_t *)buffer;
-        uint32_t ui32 = buf[0];
-        ui32 = (ui32 << 8) | (buf[1] & 0xFF);
-        ui32 = (ui32 << 8) | (buf[2] & 0xFF);
-        ui32 = (ui32 << 8) | (buf[3] & 0xFF);
-        return ui32;
-    }
-    // caller guarantee buffer has at least 8 bytes
-    FORCE_INLINE static uint64_t read_ui64(char *buffer) {
-        uint8_t *buf = (uint8_t *)buffer;
-        uint64_t ui64 = buf[0];
-        ui64 = (ui64 << 8) | (buf[1] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[2] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[3] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[4] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[5] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[6] & 0xFF);
-        ui64 = (ui64 << 8) | (buf[7] & 0xFF);
-        return ui64;
-    }
-
-    FORCE_INLINE static int write_float(float f, ByteStream &out) {
-        uint8_t bytes[4];
-        float_to_bytes(f, bytes);
-        return out.write_buf(bytes, 4);
-    }
-    FORCE_INLINE static int read_float(float &f, ByteStream &in) {
-        int ret = common::E_OK;
-        uint8_t bytes[4];
-        uint32_t read_len = 0;
-        if (RET_FAIL(in.read_buf(bytes, 4, read_len))) {
-        } else if (read_len != 4) {
-            ret = common::E_BUF_NOT_ENOUGH;
-        } else {
-            f = bytes_to_float(bytes);
-        }
-        return ret;
-    }
-    FORCE_INLINE static float read_float(char *buffer) {
-        uint8_t *buf = (uint8_t *)buffer;
-        return bytes_to_float(buf);
-    }
-    FORCE_INLINE static int write_double(double d, ByteStream &out) {
-        uint8_t bytes[8];
-        double_to_bytes(d, bytes);
-        return out.write_buf(bytes, 8);
-    }
-    FORCE_INLINE static int read_double(double &d, ByteStream &in) {
-        int ret = common::E_OK;
-        uint32_t read_len = 0;
-        uint8_t bytes[8];
-        if (RET_FAIL(in.read_buf(bytes, 8, read_len))) {
-        } else if (read_len != 8) {
-            ret = common::E_BUF_NOT_ENOUGH;
-        } else {
-            d = bytes_to_double(bytes);
-        }
-        return ret;
-    }
-    FORCE_INLINE static double read_double(char *buffer) {
-        uint8_t *buf = (uint8_t *)buffer;
-        return bytes_to_double(buf);
-    }
-
-    FORCE_INLINE static int write_i8(int8_t i8, ByteStream &out) {
-        return write_ui8((uint8_t)i8, out);
-    }
-    FORCE_INLINE static int write_i16(int16_t i16, ByteStream &out) {
-        return write_ui16((uint16_t)i16, out);
-    }
-    FORCE_INLINE static int write_i32(int32_t i32, ByteStream &out) {
-        return write_ui32((uint32_t)i32, out);
-    }
-    FORCE_INLINE static int write_i64(int64_t i64, ByteStream &out) {
-        return write_ui64((uint64_t)i64, out);
-    }
-
-    FORCE_INLINE static int read_i8(int8_t &i8, ByteStream &in) {
-        return read_ui8((uint8_t &)i8, in);
-    }
-    FORCE_INLINE static int read_i16(int16_t &i16, ByteStream &in) {
-        return read_ui16((uint16_t &)i16, in);
-    }
-    FORCE_INLINE static int read_i32(int32_t &i32, ByteStream &in) {
-        return read_ui32((uint32_t &)i32, in);
-    }
-    FORCE_INLINE static int read_i64(int64_t &i64, ByteStream &in) {
-        return read_ui64((uint64_t &)i64, in);
-    }
-
-    // TODO more test on var_xxx
-    FORCE_INLINE static int do_write_var_uint(uint32_t ui32, ByteStream &out) {
-        int ret = common::E_OK;
-        while ((ui32 & 0xFFFFFF80) != 0) {
-            if (RET_FAIL(write_ui8((ui32 & 0x7F) | 0x80, out))) {
-                return ret;
-            }
-            ui32 = ui32 >> 7;
-        }
-        return write_ui8(ui32 & 0x7F, out);
-    }
-    FORCE_INLINE static int do_write_var_uint(uint32_t ui32, char *out_buf,
-                                              const uint32_t out_buf_len) {
-        uint32_t offset = 0;
-        while ((ui32 & 0xFFFFFF80) != 0) {
-            if (offset >= out_buf_len) {
-                return common::E_BUF_NOT_ENOUGH;
-            }
-            *(out_buf + offset) = (ui32 & 0x7F) | 0x80;
-            ui32 = ui32 >> 7;
-            offset++;
-        }
-        if (offset >= out_buf_len) {
-            return common::E_BUF_NOT_ENOUGH;
-        }
-        *(out_buf + offset) = (ui32 & 0x7F);
-        return common::E_OK;
-    }
-    FORCE_INLINE static int do_read_var_uint(uint32_t &ui32, ByteStream &in) {
-        // Follow readUnsignedVarInt in ReadWriteForEncodingUtils.java
-        int ret = common::E_OK;
-        ui32 = 0;
-        int i = 0;
-        uint8_t ui8 = 0;
-        if (RET_FAIL(read_ui8(ui8, in))) {
-            return ret;
-        }
-        while (ui8 != 0xF && (ui8 & 0x80) != 0) {
-            ui32 = ui32 | ((ui8 & 0x7F) << i);
-            i = i + 7;
-            if (RET_FAIL(read_ui8(ui8, in))) {
-                return ret;
-            }
-        }
-        ui32 = ui32 | (ui8 << i);
-        return ret;
-    }
-    FORCE_INLINE static int do_read_var_uint(uint32_t &ui32, char *in_buf,
-                                             int in_buf_len, int *ret_offset) {
-        ui32 = 0;
-        int i = 0;
-        uint8_t ui8 = 0;
-        int offset = 0;
-        if (offset < in_buf_len) {
-            ui8 = *(uint8_t *)(in_buf + offset);
-            offset++;
-        } else {
-            return common::E_BUF_NOT_ENOUGH;
-        }
-        while (ui8 != 0xF && (ui8 & 0x80) != 0) {
-            ui32 = ui32 | ((ui8 & 0x7F) << i);
-            i = i + 7;
-            if (offset < in_buf_len) {
-                ui8 = *(uint8_t *)(in_buf + offset);
-                offset++;
-            } else {
-                return common::E_BUF_NOT_ENOUGH;
-            }
-        }
-        ui32 = ui32 | (ui8 << i);
-        if (ret_offset != nullptr) {
-            *ret_offset = offset;
-        }
-        return common::E_OK;
-    }
-    FORCE_INLINE static int write_var_int(int32_t i32, ByteStream &out) {
-        // TODO 8byte to 4byte.
-        // but in IoTDB java, it has only write_var_uint(i32)
-        i32 = i32 << 1;
-        return do_write_var_uint((uint32_t)i32, out);
-    }
-    FORCE_INLINE static int read_var_int(int32_t &i32, ByteStream &in) {
-        int ret = common::E_OK;
-        uint32_t ui32;
-        if (RET_FAIL(do_read_var_uint(ui32, in))) {
-        } else {
-            i32 = (int32_t)(ui32 >> 1);
-        }
-        return ret;
-    }
-    FORCE_INLINE static int write_var_uint(uint32_t ui32, ByteStream &out) {
-        return do_write_var_uint(ui32, out);
-    }
-    FORCE_INLINE static int write_var_uint(uint32_t ui32, char *out_buf,
-                                           const uint32_t out_buf_len) {
-        return do_write_var_uint(ui32, out_buf, out_buf_len);
-    }
-    FORCE_INLINE static int read_var_uint(uint32_t &ui32, ByteStream &in) {
-        return do_read_var_uint(ui32, in);
-    }
-    FORCE_INLINE static int read_var_uint(uint32_t &ui32, char *in_buf,
-                                          int in_buf_len,
-                                          int *ret_offset = nullptr) {
-        return do_read_var_uint(ui32, in_buf, in_buf_len, ret_offset);
-    }
-
-    FORCE_INLINE static int write_str(const std::string &str, ByteStream &out) {
-        int ret = common::E_OK;
-        if (RET_FAIL(write_var_int(((int32_t)str.size()), out))) {
-        } else if (RET_FAIL(out.write_buf(str.c_str(), str.size()))) {
-        }
-        return ret;
-    }
-    FORCE_INLINE static int read_str(std::string &str, ByteStream &in) {
-        int ret = common::E_OK;
-        int32_t len = 0;
-        int32_t read_len = 0;
-        if (RET_FAIL(read_var_int(len, in))) {
-        } else {
-            char *tmp_buf = (char *)malloc(len + 1);
-            tmp_buf[len] = '\0';
-            if (RET_FAIL(in.read_buf(tmp_buf, len, read_len))) {
-            } else if (len != read_len) {
-                ret = E_BUF_NOT_ENOUGH;
-            } else {
-                str = std::string(tmp_buf);
-            }
-            free(tmp_buf);
-        }
-        return ret;
-    }
-    FORCE_INLINE static int write_mystring(const String &str, ByteStream &out) {
-        int ret = common::E_OK;
-        if (RET_FAIL(write_var_int(str.len_, out))) {
-        } else if (RET_FAIL(out.write_buf(str.buf_, str.len_))) {
-        }
-        return ret;
-    }
-    FORCE_INLINE static int read_mystring(String &str, common::PageArena *pa,
-                                          ByteStream &in) {
-        int ret = common::E_OK;
-        int32_t len = 0;
-        int32_t read_len = 0;
-        if (RET_FAIL(read_var_int(len, in))) {
-        } else {
-            char *buf = (char *)pa->alloc(len);
-            if (IS_NULL(buf)) {
-                ret = common::E_OOM;
-            } else {
-                if (RET_FAIL(in.read_buf(buf, len, read_len))) {
-                } else if (len != read_len) {
-                    ret = E_BUF_NOT_ENOUGH;
-                } else {
-                    str.buf_ = buf;
-                    str.len_ = len;
-                }
-            }
-        }
-        return ret;
-    }
-    FORCE_INLINE static int write_char(char ch, ByteStream &out) {
-        return write_ui8(ch, out);
-    }
-    FORCE_INLINE static int read_char(char &ch, ByteStream &in) {
-        return read_ui8((uint8_t &)ch, in);
-    }
-};
-
-FORCE_INLINE bool deserialize_buf_not_enough(int ret) {
-    return ret == E_OUT_OF_RANGE || ret == E_PARTIAL_READ;
-}
-FORCE_INLINE char *get_bytes_from_bytestream(ByteStream &bs) {
-    if (bs.total_size() == 0) {
-        return nullptr;
-    }
-    uint32_t size = bs.total_size();
-    char *ret_buf = (char *)malloc(size);
-    if (ret_buf == nullptr) {
-        return nullptr;
-    }
-
-    ByteStream::BufferIterator buf_iter = bs.init_buffer_iterator();
-    uint32_t offset = 0;
-    while (true) {
-        ByteStream::Buffer buf = buf_iter.get_next_buf();
-        if (buf.buf_ == nullptr) {
-            break;
-        } else {
-            assert(offset + buf.len_ <= size);
-            memcpy(ret_buf + offset, buf.buf_, buf.len_);
-            offset += buf.len_;
-        }
-    }
-    assert(offset == size);
-    return ret_buf;
-}
-
-}  // end namespace common
-#endif  // COMMON_ALLOCATOR_BYTE_STREAM_H
diff --git a/cpp/src/common/allocator/mem_alloc.cc b/cpp/src/common/allocator/mem_alloc.cc
deleted file mode 100644
index a1e16d9bd..000000000
--- a/cpp/src/common/allocator/mem_alloc.cc
+++ /dev/null
@@ -1,257 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef _WIN32
-#include <execinfo.h>
-#endif
-#include <string.h>
-
-#include <iostream>
-
-#include "alloc_base.h"
-#include "common/logger/elog.h"
-#include "stdio.h"
-#include "stdlib.h"
-#include "utils/util_define.h"
-
-namespace common {
-
-const char *g_mod_names[__LAST_MOD_ID] = {
-    /*  0 */ "DEFAULT",
-    /*  1 */ "MEMTABLE",
-    /*  2 */ "SCHEMA",
-    /*  3 */ "SQL",
-    /*  4 */ "NET",
-    /*  5 */ "NET_DATA",
-    /*  6 */ "TVLIST_DATA",
-    /*  7 */ "TVLIST_OBJ",
-    /*  8 */ "TSBLOCK",
-    /*  9 */ "CONTAINER",
-    /* 10 */ "TSSTORE_OBJ",
-    /* 11 */ "FLUSH_TASK_OBJ",
-    /* 12 */ "PAGE_WRITER_OUTPUT_STREAM",
-    /* 13 */ "CW_PAGES_DATA",
-    /* 14 */ "CHUNK_WRITER_OBJ",
-    /* 15 */ "STATISTIC_OBJ",
-    /* 16 */ "ENCODER_OBJ",
-    /* 17 */ "DECODER_OBJ",
-    /* 18 */ "TSFILE_WRITER_META",
-    /* 19 */ "TSFILE_WRITE_STREAM",
-    /* 20 */ "TIMESERIES_INDEX_OBJ",
-    /* 21 */ "BLOOM_FILTER",
-    /* 22 */ "OPEN_FILE_OBJ",
-    /* 23 */ "TSFILE_READER",
-    /* 24 */ "CHUNK_READER",
-    /* 25 */ "COMPRESSOR_OBJ",
-    /* 26 */ "ARRAY",
-    /* 27 */ "HASH_TABLE",
-};
-
-const uint32_t HEADER_SIZE_4B = 4;
-const uint32_t HEADER_SIZE_8B = 8;
-
-void *mem_alloc(uint32_t size, AllocModID mid) {
-    // use 7bit at most
-    ASSERT(mid <= 127);
-
-    if (size <= 0xFFFFFF) {
-        // use 3B size + 1B mod
-        char *p = (char *)malloc(size + HEADER_SIZE_4B);
-        if (UNLIKELY(p == nullptr)) {
-            return nullptr;
-        } else {
-            uint32_t header = (size << 8) | ((uint32_t)mid);
-            *((uint32_t *)p) = header;
-            ModStat::get_instance().update_alloc(mid, size);
-            // cppcheck-suppress memleak
-            // cppcheck-suppress unmatchedSuppression
-            return p + HEADER_SIZE_4B;
-        }
-    } else {
-        char *p = (char *)malloc(size + HEADER_SIZE_8B);
-        if (UNLIKELY(p == nullptr)) {
-            std::cout << "alloc big filed for size " << size + HEADER_SIZE_4B
-                      << std::endl;
-            return nullptr;
-        } else {
-            uint64_t large_size = size;
-            uint64_t header = ((large_size) << 8) | (((uint32_t)mid) | (0x80));
-            uint32_t low4b = (uint32_t)(header & 0xFFFFFFFF);
-            uint32_t high4b = (uint32_t)(header >> 32);
-            *(uint32_t *)p = high4b;
-            *(uint32_t *)(p + 4) = low4b;
-            ModStat::get_instance().update_alloc(mid, size);
-            // cppcheck-suppress unmatchedSuppression
-            // cppcheck-suppress memleak
-            return p + HEADER_SIZE_8B;
-        }
-    }
-}
-
-#ifndef _WIN32
-void printCallers() {
-    int layers = 0, i = 0;
-    char **symbols = NULL;
-
-    const int64_t MAX_FRAMES = 32;
-
-    void *frames[MAX_FRAMES];
-    memset(frames, 0, sizeof(frames));
-    layers = backtrace(frames, MAX_FRAMES);
-    for (i = 0; i < layers; i++) {
-        printf("Layer %d: %p\n", i, frames[i]);
-    }
-    printf("------------------\n");
-
-    symbols = backtrace_symbols(frames, layers);
-    if (symbols) {
-        for (i = 0; i < layers; i++) {
-            printf("SYMBOL layer %d: %s\n", i, symbols[i]);
-        }
-        free(symbols);
-    } else {
-        printf("Failed to parse function names\n");
-    }
-}
-#endif
-
-void mem_free(void *ptr) {
-    // try as 4Byte header
-    char *p = (char *)ptr;
-    uint32_t header = *(uint32_t *)(p - HEADER_SIZE_4B);
-    if ((header & 0x80) == 0) {
-        // 4Byte header
-        uint32_t size = header >> 8;
-        AllocModID mid = (AllocModID)(header & 0x7F);
-        ModStat::get_instance().update_free(mid, size);
-        ::free(p - HEADER_SIZE_4B);
-    } else {
-        // 8Byte header
-        uint64_t header8b = ((uint64_t)(*(uint32_t *)(p - 4))) |
-                            ((uint64_t)(*(uint32_t *)(p - 8)) << 32);
-        AllocModID mid = (AllocModID)(header8b & 0x7F);
-        uint32_t size = (uint32_t)(header8b >> 8);
-        ModStat::get_instance().update_free(mid, size);
-        ::free(p - HEADER_SIZE_8B);
-    }
-}
-
-void *mem_realloc(void *ptr, uint32_t size) {
-    AllocModID mid_org;
-    uint32_t size_org;
-    char *p = (char *)ptr;
-    uint32_t header_org =
-        *(uint32_t *)(p - HEADER_SIZE_4B);  // try as 4Byte header
-    if ((header_org & 0x80) == 0) {
-        // header_org is 4byte
-        size_org = header_org >> 8;
-        mid_org = (AllocModID)(header_org & 0x7F);
-        if (size <= 0xFFFFFF) {
-            p = (char *)realloc(p - HEADER_SIZE_4B, size + HEADER_SIZE_4B);
-            if (UNLIKELY(p == nullptr)) {
-                return nullptr;
-            } else {
-                uint32_t header =
-                    (size << 8) | ((uint32_t)mid_org);  // size changed
-                *((uint32_t *)p) = header;
-                ModStat::get_instance().update_alloc(
-                    mid_org, int32_t(size) - int32_t(size_org));
-                return p + HEADER_SIZE_4B;
-            }
-        } else {  // size > 0xFFFFFF, realloc(os_p, size + header_len)
-            p = (char *)realloc(p - HEADER_SIZE_4B, size + HEADER_SIZE_8B);
-            if (UNLIKELY(p == nullptr)) {
-                return nullptr;
-            } else {
-                std::memmove(p + HEADER_SIZE_8B, p + HEADER_SIZE_4B, size_org);
-                // reconstruct 8-byte header
-                uint64_t large_size = size;
-                uint64_t header =
-                    ((large_size) << 8) | (((uint32_t)mid_org) | (0x80));
-                uint32_t low4b = (uint32_t)(header & 0xFFFFFFFF);
-                uint32_t high4b = (uint32_t)(header >> 32);
-                *(uint32_t *)p = high4b;
-                *(uint32_t *)(p + 4) = low4b;
-                ModStat::get_instance().update_alloc(
-                    mid_org, int32_t(size) - int32_t(size_org));
-                return p + HEADER_SIZE_8B;
-            }
-        }
-    } else {  // header_org is 8byte
-        uint64_t header =
-            ((uint64_t)(*(uint32_t *)(p - 4))) |
-            ((uint64_t)(*(uint32_t *)(p - 8)) << 32);  // 8Byte header
-        mid_org = (AllocModID)(header & 0x7F);
-        size_org = (uint32_t)(header >> 8);
-        if (size <= 0xFFFFFF) {
-            uint32_t save_data =
-                *(uint32_t *)(p - HEADER_SIZE_8B + HEADER_SIZE_4B + size);
-            p = (char *)realloc(p - HEADER_SIZE_8B, size + HEADER_SIZE_4B);
-            if (UNLIKELY(p == nullptr)) {
-                return nullptr;
-            } else {
-                std::memmove(p + HEADER_SIZE_4B, p + HEADER_SIZE_8B,
-                             size - HEADER_SIZE_4B);
-                // reconstruct 4-byte header
-                uint32_t header4b = (size << 8) | (((uint32_t)mid_org));
-                *((uint32_t *)p) = header4b;
-                // reconstruct data
-                *(uint32_t *)((char *)p + size - 4) = save_data;
-                ModStat::get_instance().update_alloc(
-                    mid_org, int32_t(size) - int32_t(size_org));
-                return p + HEADER_SIZE_4B;
-            }
-        } else {
-            p = (char *)realloc(p - HEADER_SIZE_8B, size + HEADER_SIZE_8B);
-            if (UNLIKELY(p == nullptr)) {
-                return nullptr;
-            } else {
-                uint64_t large_size = size;
-                uint64_t header8b =
-                    ((large_size) << 8) | (((uint32_t)mid_org) | (0x80));
-                uint32_t low4b = (uint32_t)(header8b & 0xFFFFFFFF);
-                uint32_t high4b = (uint32_t)(header8b >> 32);
-                *(uint32_t *)p = high4b;
-                *(uint32_t *)(p + 4) = low4b;
-                ModStat::get_instance().update_alloc(
-                    mid_org, int32_t(size) - int32_t(size_org));
-                return p + HEADER_SIZE_8B;
-            }
-        }
-    }
-}
-
-void ModStat::init() {
-    stat_arr_ = (int32_t *)(::malloc(ITEM_SIZE * ITEM_COUNT));
-    for (int8_t i = 0; i < __LAST_MOD_ID; i++) {
-        int32_t *item = get_item(i);
-        *item = 0;
-    }
-}
-
-void ModStat::destroy() { ::free(stat_arr_); }
-
-// TODO return to SQL
-void ModStat::print_stat() {
-    //
-}
-
-BaseAllocator g_base_allocator;
-
-}  // end namespace common
\ No newline at end of file
diff --git a/cpp/src/common/allocator/my_string.h b/cpp/src/common/allocator/my_string.h
deleted file mode 100644
index ad8bee710..000000000
--- a/cpp/src/common/allocator/my_string.h
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_ALLOCATOR_MY_STRING_H
-#define COMMON_ALLOCATOR_MY_STRING_H
-
-#include <string.h>
-
-#include <iostream>
-
-#include "common/allocator/page_arena.h"
-#include "utils/errno_define.h"
-
-namespace common {
-
-// String that use PageArena
-struct String {
-    char *buf_;
-    uint32_t len_;
-
-    String() : buf_(nullptr), len_(0) {}
-    String(char *buf, uint32_t len) : buf_(buf), len_(len) {}
-    FORCE_INLINE bool is_null() const { return buf_ == nullptr && len_ == 0; }
-    FORCE_INLINE void reset() {
-        len_ = 0;
-        buf_ = nullptr;
-    }
-    FORCE_INLINE int dup_from(const std::string &str, common::PageArena &pa) {
-        len_ = str.size();
-        if (UNLIKELY(len_ == 0)) {
-            return common::E_OK;
-        }
-        buf_ = pa.alloc(len_);
-        if (IS_NULL(buf_)) {
-            return common::E_OOM;
-        }
-        memcpy(buf_, str.c_str(), len_);
-        return common::E_OK;
-    }
-
-    FORCE_INLINE bool operator==(const String &other) const {
-        return equal_to(other);
-    }
-
-    FORCE_INLINE int dup_from(const String &str, common::PageArena &pa) {
-        len_ = str.len_;
-        if (UNLIKELY(len_ == 0)) {
-            return common::E_OK;
-        }
-        buf_ = pa.alloc(len_);
-        if (IS_NULL(buf_)) {
-            return common::E_OOM;
-        }
-        memcpy(buf_, str.buf_, len_);
-        return common::E_OK;
-    }
-    FORCE_INLINE int build_from(const String &s1, const String &s2,
-                                common::PageArena &pa) {
-        len_ = s1.len_ + s2.len_;
-        buf_ = pa.alloc(len_);
-        if (IS_NULL(buf_)) {
-            return common::E_OOM;
-        }
-        memcpy(buf_, s1.buf_, s1.len_);
-        memcpy(buf_ + s1.len_, s2.buf_, s2.len_);
-        return common::E_OK;
-    }
-    FORCE_INLINE void shallow_copy_from(const String &src) {
-        buf_ = src.buf_;
-        len_ = src.len_;
-    }
-    FORCE_INLINE bool equal_to(const String &that) const {
-        return (len_ == 0 && that.len_ == 0) ||
-               ((len_ == that.len_) && (0 == memcmp(buf_, that.buf_, len_)));
-    }
-
-    // FORCE_INLINE bool equal_to(const std::string &that)
-    // {
-    //   return (len_ == 0 && that.size() == 0)
-    //          || ((len_ == that.len_) && (0 == memcmp(buf_, that.c_str(),
-    //          len_)));
-    // }
-
-    // strict less than. If @this equals to @that, return false.
-    FORCE_INLINE bool less_than(const String &that) const {
-        if (len_ == 0 || that.len_ == 0) {
-            return false;
-        }
-        uint32_t min_len = std::min(len_, that.len_);
-        int cmp_res = memcmp(buf_, that.buf_, min_len);
-        if (cmp_res < 0) {
-            return true;
-        } else if (cmp_res > 0) {
-            return false;
-        } else {
-            return len_ < that.len_;
-        }
-    }
-
-    // return = 0, if this = that
-    // return < 0, if this < that
-    // return > 0, if this > that
-    FORCE_INLINE int compare(const String &that) const {
-        if (len_ == 0 || that.len_ == 0) {
-            return 0;
-        }
-        uint32_t min_len = std::min(len_, that.len_);
-        int cmp_res = memcmp(buf_, that.buf_, min_len);
-        if (cmp_res == 0) {
-            return len_ - that.len_;
-        } else {
-            return cmp_res;
-        }
-    }
-
-    FORCE_INLINE void max(const String &that, common::PageArena &pa) {
-        if (compare(that) < 0) {
-            this->dup_from(that, pa);
-        }
-    }
-
-    FORCE_INLINE void min(const String &that, common::PageArena &pa) {
-        if (compare(that) > 0) {
-            this->dup_from(that, pa);
-        }
-    }
-
-    bool operator<(const String &other) const {
-        if (this->is_null() && other.is_null()) {
-            return false;
-        }
-        if (this->is_null()) {
-            return true;
-        }
-        if (other.is_null()) {
-            return false;
-        }
-
-        int min_len = std::min(this->len_, other.len_);
-        int cmp = std::memcmp(this->buf_, other.buf_, min_len);
-        if (cmp != 0) {
-            return cmp < 0;
-        }
-
-        return this->len_ < other.len_;
-    }
-    std::string to_std_string() const { return std::string(buf_, len_); }
-
-#ifndef NDEBUG
-    friend std::ostream &operator<<(std::ostream &os, const String &s) {
-        os << s.len_ << "@";
-        for (uint32_t i = 0; i < s.len_; i++) {
-            os << s.buf_[i];
-        }
-        return os;
-    }
-#endif  // ifndef NDEBUG
-};
-
-struct StringLessThan {
-    FORCE_INLINE bool operator()(const String &s1, const String &s2) const {
-        return s1.less_than(s2);
-    }
-};
-
-}  // end namespace common
-#endif  // COMMON_ALLOCATOR_MY_STRING_H
diff --git a/cpp/src/common/allocator/object_pool.h b/cpp/src/common/allocator/object_pool.h
deleted file mode 100644
index 721823a21..000000000
--- a/cpp/src/common/allocator/object_pool.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_ALLOCTOR_OBJECT_POOL_H
-#define COMMON_ALLOCTOR_OBJECT_POOL_H
-
-#include "common/allocator/alloc_base.h"
-#include "common/mutex/mutex.h"
-
-namespace common {
-
-template <class T>
-class ObjectPool {
-   private:
-    struct ObjectPoolNode {
-        T data_;
-        ObjectPoolNode *next_;
-
-        ObjectPoolNode() : data_(), next_(nullptr) {}
-    };
-
-   public:
-    /*
-     * max_cache_count is a soft limitation:
-     */
-    ObjectPool(const uint32_t max_cache_count, const AllocModID mid,
-               BaseAllocator &allocator = g_base_allocator)
-        : max_cache_count_(max_cache_count),
-          cur_alloc_count_(0),
-          mid_(mid),
-          allocator_(allocator),
-          mutex_(),
-          head_(nullptr) {
-        assert(max_cache_count > 1);
-    }
-
-    ~ObjectPool() { destroy(); }
-
-    void destroy() {
-        ObjectPoolNode *cur = head_;
-        while (cur) {
-            head_ = cur->next_;
-            allocator_.free(cur);
-            cur = head_;
-            cur_alloc_count_--;
-        }
-        ASSERT(cur_alloc_count_ == 0);
-    }
-
-    T *alloc() {
-        T *ret_obj = nullptr;
-        common::MutexGuard g(mutex_);
-        if (head_) {
-            ret_obj = &(head_->data_);
-            head_ = head_->next_;
-            return ret_obj;
-        } else {
-            void *buf = allocator_.alloc(sizeof(ObjectPoolNode), mid_);
-            if (UNLIKELY(buf == nullptr)) {
-                return nullptr;
-            }
-            cur_alloc_count_++;
-            ret_obj = &(new (buf) ObjectPoolNode)->data_;
-            return ret_obj;
-        }
-    }
-
-    void free(T *obj) {
-        ASSERT(obj != nullptr);
-        common::MutexGuard g(mutex_);
-        if (cur_alloc_count_ > max_cache_count_) {
-            allocator_.free(obj);
-            cur_alloc_count_--;
-            ASSERT(cur_alloc_count_ >= 0);
-        } else {
-            ObjectPoolNode *n = (ObjectPoolNode *)obj;
-            n->next_ = head_;
-            head_ = n;
-        }
-    }
-
-    uint32_t get_cur_alloc_count() const { return cur_alloc_count_; }
-
-   private:
-    uint32_t max_cache_count_;
-    uint32_t cur_alloc_count_;
-    AllocModID mid_;
-    BaseAllocator allocator_;
-    common::Mutex mutex_;
-    ObjectPoolNode *head_;  // freelist head
-};
-
-}  // namespace common
-#endif  // COMMON_ALLOCTOR_OBJECT_POOL_H
diff --git a/cpp/src/common/allocator/page_arena.cc b/cpp/src/common/allocator/page_arena.cc
deleted file mode 100644
index 731b0b0ba..000000000
--- a/cpp/src/common/allocator/page_arena.cc
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "page_arena.h"
-
-#include <stdio.h>
-
-#include <new>
-
-namespace common {
-
-char *PageArena::alloc(uint32_t size) {
-    if (LIKELY(size <= page_size_)) {
-        Page *cur_page = dummy_head_.next_;
-        if (LIKELY(cur_page != nullptr)) {
-            char *ret_ptr = cur_page->alloc(size);
-            if (LIKELY(ret_ptr != nullptr)) {
-                return ret_ptr;
-            }
-        }
-
-        /*
-         * cur_page is null OR can not alloc @size from cur_page,
-         * then alloc new page
-         */
-        void *ptr = base_allocator_.alloc(page_size_ + sizeof(Page), mid_);
-        if (UNLIKELY(ptr == nullptr)) {
-            return nullptr;
-        }
-        Page *new_page = new (ptr) Page(page_size_, cur_page);
-        dummy_head_.next_ = new_page;
-        return new_page->alloc(size);
-    } else {
-        void *ptr = base_allocator_.alloc(size + sizeof(Page), mid_);
-        Page *new_page = new (ptr) Page(dummy_head_.next_);
-        dummy_head_.next_ = new_page;
-        return reinterpret_cast<char *>(new_page) + sizeof(Page);
-    }
-}
-
-void PageArena::reset() {
-    Page *p = dummy_head_.next_;
-    while (p) {
-        dummy_head_.next_ = p->next_;
-        base_allocator_.free(p);
-        p = dummy_head_.next_;
-    }
-}
-
-}  // end namespace common
\ No newline at end of file
diff --git a/cpp/src/common/allocator/page_arena.h b/cpp/src/common/allocator/page_arena.h
deleted file mode 100644
index b8053cfb6..000000000
--- a/cpp/src/common/allocator/page_arena.h
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_ALLOCATOR_PAGE_ARENA_H
-#define COMMON_ALLOCATOR_PAGE_ARENA_H
-
-#include "alloc_base.h"
-
-namespace common {
-
-/*
- * Not Thread Safe
- */
-class PageArena {
-   public:
-    explicit PageArena(BaseAllocator &base_allocator = g_base_allocator)
-        : page_size_(0),
-          mid_(__FIRST_MOD_ID),
-          base_allocator_(base_allocator),
-          dummy_head_() {}
-    ~PageArena() { destroy(); }
-    void init(uint32_t page_size, AllocModID mid) {
-        page_size_ = page_size;
-        mid_ = mid;
-    }
-
-    char *alloc(uint32_t size);
-    FORCE_INLINE void destroy() { reset(); }
-    void reset();
-
-#ifdef ENABLE_TEST
-    int TEST_get_page_count() const {
-        int count = 0;
-        Page *p = dummy_head_.next_;
-        while (p) {
-            p = p->next_;
-            count++;
-        }
-        return count;
-    }
-#endif
-
-   private:
-    class Page {
-       public:
-        Page() : next_(nullptr), page_end_(nullptr), cur_alloc_(nullptr) {}
-        explicit Page(Page *next_page)
-            : next_(next_page), page_end_(nullptr), cur_alloc_(nullptr) {}
-        Page(uint32_t page_size, Page *next_page) {
-            next_ = next_page;
-            cur_alloc_ =
-                (char *)this + sizeof(Page);  // equals to (char*)(this+1)
-            page_end_ = cur_alloc_ + page_size;
-        }
-        INLINE char *alloc(uint32_t size) {
-            if (cur_alloc_ + size > page_end_) {
-                return nullptr;
-            } else {
-                char *ret = cur_alloc_;
-                cur_alloc_ += size;
-                return ret;
-                //        char *ret = cur_alloc_;
-                //        cur_alloc_ += size;
-                //        int address = reinterpret_cast<uintptr_t>(cur_alloc_);
-                //        int new_addr = (address + 3) & (~3);
-                //        cur_alloc_ = reinterpret_cast<char *>(new_addr);
-                //        return ret;
-            }
-        }
-
-       public:
-        Page *next_;
-        char *page_end_;
-        char *cur_alloc_;  // buf_'s current offset
-    };
-
-   private:
-    uint32_t page_size_;
-    AllocModID mid_;
-    BaseAllocator &base_allocator_;
-    Page dummy_head_;
-};
-
-}  // end namespace common
-#endif  // COMMON_ALLOCATOR_PAGE_ARENA_H
diff --git a/cpp/src/common/allocator/stl_allocator.h b/cpp/src/common/allocator/stl_allocator.h
deleted file mode 100644
index e85839850..000000000
--- a/cpp/src/common/allocator/stl_allocator.h
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_ALLOCATOR_STL_ALLOCATOR_H
-#define COMMON_ALLOCATOR_STL_ALLOCATOR_H
-
-#include "alloc_base.h"
-
-namespace common {
-
-template <class T, AllocModID Mid, class TAllocator = BaseAllocator>
-class StlAllocator {
-   public:
-    typedef size_t size_type;
-    typedef ptrdiff_t difference_type;
-    typedef T *pointer;
-    typedef const T *const_pointer;
-    typedef T &reference;
-    typedef const T &const_reference;
-    typedef T value_type;
-
-    /*
-     * rebind provides a way to obtain an allocator for a different type.
-     * For example, std::list will alloc object Node<T> beside alloc object T.
-     */
-    template <class U>
-    struct rebind {
-        typedef StlAllocator<U, Mid, TAllocator> other;
-    };
-
-    StlAllocator() {}
-    StlAllocator(const StlAllocator &) {}
-
-    template <class T2, AllocModID Mid2>
-    StlAllocator(const StlAllocator<T2, Mid2, TAllocator> &) {}
-
-    StlAllocator(TAllocator base_allocator) : base_allocator_(base_allocator) {}
-
-    pointer address(reference x) const { return &x; }
-    const_pointer address(const_reference x) { return &x; }
-
-    pointer allocate(size_type n, const void *hint = 0) {
-        return (pointer)base_allocator_.alloc(n * sizeof(T), Mid);
-    };
-    void deallocate(void *p, size_type) { base_allocator_.free(p); }
-    size_type max_size() const { return uint32_t(-1); }
-
-    void construct(pointer p, const T &val) { new ((T *)p) T(val); }
-    void destroy(pointer p) { p->~T(); }
-
-   private:
-    TAllocator base_allocator_;
-};
-
-/*
- * According to the manual, allocator is stateless.
- * Although we define a base_allocator_ here, but base_allocator_ is also
- * stateless. so '==' is always true and '!=' is always false. refer to
- * https://en.cppreference.com/w/cpp/memory/allocator/operator_cmp.
- */
-template <class T1, AllocModID Mid1, class T2, AllocModID Mid2>
-bool operator==(const StlAllocator<T1, Mid1> &a1,
-                const StlAllocator<T2, Mid2> &a2) {
-    return true;
-}
-
-template <class T1, AllocModID Mid1, class T2, AllocModID Mid2>
-bool operator!=(const StlAllocator<T1, Mid1> &a1,
-                const StlAllocator<T2, Mid2> &a2) {
-    return false;
-}
-
-}  // end namespace common
-#endif  // COMMON_ALLOCATOR_STL_ALLOCATOR_H
diff --git a/cpp/src/common/allocator/util_define.h b/cpp/src/common/allocator/util_define.h
deleted file mode 100644
index 0526c08b0..000000000
--- a/cpp/src/common/allocator/util_define.h
+++ /dev/null
@@ -1,152 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/*
- * This file defines some basic macros
- */
-
-#ifndef COMMON_UTIL_DEFINE_H
-#define COMMON_UTIL_DEFINE_H
-
-#include <assert.h>
-#include <stdint.h>
-#include <stdlib.h>
-
-/* ======== cmake config define ======== */
-
-/* ======== unsued ======== */
-#define UNUSED(v) ((void)(v))
-
-/* ======== inline ======== */
-#ifdef __GNUC__
-#define FORCE_INLINE inline __attribute__((always_inline))
-#else
-#define FORCE_INLINE inline
-#endif  // __GNUC__
-
-#ifdef BUILD_FOR_SMALL_BINARY
-#define INLINE FORCE_INLINE
-#else
-#define INLINE
-#endif  // BUILD_FOR_SMALL_BINARY
-
-/* ======== likely ======== */
-#if defined(__GNUC__) && __GNUC__ >= 4
-#define LIKELY(x) (__builtin_expect((x), 1))
-#define UNLIKELY(x) (__builtin_expect((x), 0))
-#else
-#define LIKELY(x) (x)
-#define UNLIKELY(x) (x)
-#endif  // __GNUC__ >= 4
-
-/* ======== nullptr ======== */
-#if __cplusplus < 201103L
-#ifndef nullptr
-#define nullptr NULL
-#endif
-#define OVERRIDE
-#else
-#define OVERRIDE override
-#endif  // __cplusplus < 201103L
-
-/* ======== cache line ======== */
-#ifndef CACHE_LINE_SIZE
-#define CACHE_LINE_SIZE 64
-#endif  // CACHE_LINE_SIZE
-
-/* ======== assert ======== */
-#ifdef NDEBUG
-#define ASSERT(condition) ((void)0)
-#else
-#define ASSERT(condition) assert((condition))
-#endif  // NDEBUG
-
-/* ======== statis assert ======== */
-/*
- * To be compatible with C++ before C++11,
- * @msg should be a single word (use -/_ to concat)
- * such as This_should_be_TRUE
- */
-#if __cplusplus < 201103L
-// TODO only define this when DEBUG
-#define STATIC_ASSERT(cond, msg) \
-    typedef char static_assertion_##msg[(cond) ? 1 : -1] __attribute__((unused))
-#else
-#define STATIC_ASSERT(cond, msg) static_assert((cond), #msg)
-#endif  // __cplusplus < 201103L
-
-/* ======== atomic operation ======== */
-#define ATOMIC_FAA(val_addr, addv) \
-    __atomic_fetch_add((val_addr), (addv), __ATOMIC_SEQ_CST)
-#define ATOMIC_AAF(val_addr, addv) \
-    __atomic_add_fetch((val_addr), (addv), __ATOMIC_SEQ_CST)
-/*
- * It implements an atomic compare and exchange operation.
- * This compares the contents of *ptr with the contents of *expected.
- * - If equal, the operation is a reader-modify-writer operation that writes
- * desired into *ptr.
- * - If they are not equal, the operation is a reader and the current contents
- * of *ptr are written into *expected
- */
-#define ATOMIC_CAS(val_addr, expected, desired)                            \
-    __atomic_compare_exchange_n((val_addr), (expected), (desired),         \
-                                /* weak = */ false,                        \
-                                /* success_memorder = */ __ATOMIC_SEQ_CST, \
-                                /* failure_memorder = */ __ATOMIC_SEQ_CST)
-#define ATOMIC_LOAD(val_addr) __atomic_load_n((val_addr), __ATOMIC_SEQ_CST)
-#define ATOMIC_STORE(val_addr, val) \
-    __atomic_store_n((val_addr), (val), __ATOMIC_SEQ_CST)
-
-/* ======== align ======== */
-#define ALIGNED(a) __attribute__((aligned(a)))
-#define ALIGNED_4 ALIGNED(4)
-#define ALIGNED_8 ALIGNED(8)
-
-/* ======== disallow copy and assign ======== */
-#if __cplusplus < 201103L
-#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
-    TypeName(const TypeName&);             \
-    void operator=(const TypeName&)
-#else
-#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
-    TypeName(const TypeName&) = delete;    \
-    TypeName& operator=(const TypeName&) = delete;
-#endif
-
-/* ======== return value check ======== */
-#define RET_FAIL(expr) UNLIKELY(common::E_OK != (ret = (expr)))
-#define RFAIL(expr) UNLIKELY(common::E_OK != (ret = (expr)))
-#define RET_SUCC(expr) LIKELY(common::E_OK != (ret = (exprt)))
-#define RSUCC(expr) LIKELY(common::E_OK != (ret = (exprt)))
-#define IS_SUCC(ret) LIKELY(common::E_OK == (ret))
-#define IS_FAIL(ret) UNLIKELY(common::E_OK != (ret))
-
-#define IS_NULL(ptr) UNLIKELY((ptr) == nullptr)
-
-/* ======== min/max ======== */
-#define UTIL_MAX(a, b) ((a) > (b) ? (a) : (b))
-#define UTIL_MIN(a, b) ((a) > (b) ? (b) : (a))
-
-/*
- * int64_max < 10^20
- * consider +/- and the '\0' tail. 24 is enough
- */
-#define INT64_TO_BASE10_MAX_LEN 24
-
-#endif  // COMMON_UTIL_DEFINE_H
diff --git a/cpp/src/common/config/CMakeLists.txt b/cpp/src/common/config/CMakeLists.txt
deleted file mode 100644
index e7ef66faa..000000000
--- a/cpp/src/common/config/CMakeLists.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-
-
diff --git a/cpp/src/common/config/config.h b/cpp/src/common/config/config.h
deleted file mode 100644
index 258165b3f..000000000
--- a/cpp/src/common/config/config.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONFIG_CONFIG_H
-#define COMMON_CONFIG_CONFIG_H
-
-#include <cstdint>
-
-#include "common/mutex/mutex.h"
-#include "utils/db_utils.h"
-#include "utils/util_define.h"
-
-namespace common {
-enum ConfigLevel {
-    INIT,     // Unchangeable, initialized during database init
-    RESTART,  // Can be changed, but the database must be restarted to take
-              // effect
-    USERSET   // Session level update
-};
-
-typedef struct ConfigValue {
-    uint32_t
-        tsblock_mem_inc_step_size_;  // tsblock memory self-increment step size
-    uint32_t tsblock_max_memory_;    // the maximum memory of a single tsblock
-    uint32_t page_writer_max_point_num_;
-    uint32_t page_writer_max_memory_bytes_;
-    uint32_t max_degree_of_index_node_;
-    double tsfile_index_bloom_filter_error_percent_;
-    TSEncoding time_encoding_type_;
-    TSDataType time_data_type_;
-    CompressionType time_compress_type_;
-    int32_t chunk_group_size_threshold_;
-    int32_t record_count_for_next_mem_check_;
-    bool encrypt_flag_ = false;
-} ConfigValue;
-
-extern void init_config_value();
-extern TSEncoding get_value_encoder(TSDataType data_type);
-extern CompressionType get_default_compressor();
-// In the future, configuration items need to be dynamically adjusted according
-// to the level
-extern void set_config_value();
-extern void config_set_page_max_point_count(uint32_t page_max_ponint_count);
-extern void config_set_max_degree_of_index_node(
-    uint32_t max_degree_of_index_node);
-
-// FORCE_INLINE bool wal_cfg_enabled() { return
-// g_config_value_.wal_flush_policy_ != WAL_DISABLED; } FORCE_INLINE bool
-// wal_cfg_should_wait_persisted() { return g_config_value_.wal_flush_policy_ >=
-// WAL_FLUSH; }
-
-}  // namespace common
-
-#endif  // COMMON_CONFIG_CONFIG_H
diff --git a/cpp/src/common/constant/CMakeLists.txt b/cpp/src/common/constant/CMakeLists.txt
deleted file mode 100644
index 5860be1f2..000000000
--- a/cpp/src/common/constant/CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
\ No newline at end of file
diff --git a/cpp/src/common/constant/tsfile_constant.h b/cpp/src/common/constant/tsfile_constant.h
deleted file mode 100644
index af5d70f79..000000000
--- a/cpp/src/common/constant/tsfile_constant.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include <string>
-#include <regex>
-
-namespace storage
-{
-    static const std::string TSFILE_SUFFIX = ".tsfile";
-    static const std::string TSFILE_HOME = "TSFILE_HOME";
-    static const std::string TSFILE_CONF = "TSFILE_CONF";
-    static const std::string PATH_ROOT = "root";
-    static const std::string TMP_SUFFIX = "tmp";
-    static const std::string PATH_SEPARATOR = ".";
-    static const char PATH_SEPARATOR_CHAR = '.';
-    static const std::string PATH_SEPARATER_NO_REGEX = "\\.";
-    static const char DOUBLE_QUOTE = '"';
-    static const char BACK_QUOTE = '`';
-    static const std::string BACK_QUOTE_STRING = "`";
-    static const std::string DOUBLE_BACK_QUOTE_STRING = "``";
- 
-    static const unsigned char TIME_COLUMN_MASK = 0x80;
-    static const unsigned char VALUE_COLUMN_MASK = 0x40;
-
-    static const std::string TIME_COLUMN_ID = "";
- 
-    static const std::regex IDENTIFIER_PATTERN("([a-zA-Z0-9_\\u2E80-\\u9FFF]+)");
-    static const std::regex NODE_NAME_PATTERN("(\\*{0,2}[a-zA-Z0-9_\\u2E80-\\u9FFF]+\\*{0,2})");
-    static const int DEFAULT_SEGMENT_NUM_FOR_TABLE_NAME = 3;
-} // namespace storage
diff --git a/cpp/src/common/container/CMakeLists.txt b/cpp/src/common/container/CMakeLists.txt
deleted file mode 100644
index f92dd5ba1..000000000
--- a/cpp/src/common/container/CMakeLists.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-#[[
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-    https://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
-]]
-message("Running in src/common/container directory")
-
-aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} common_container_SRC_LIST)
-add_library(common_container OBJECT ${common_container_SRC_LIST})
diff --git a/cpp/src/common/container/array.h b/cpp/src/common/container/array.h
deleted file mode 100644
index 96bc34643..000000000
--- a/cpp/src/common/container/array.h
+++ /dev/null
@@ -1,305 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_ARRAY_H
-#define COMMON_CONTAINER_ARRAY_H
-
-#include <stdint.h>
-
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-#include <iostream>
-
-#include "common/allocator/alloc_base.h"
-#include "common/logger/elog.h"
-#include "utils/errno_define.h"
-#include "utils/util_define.h"
-
-#define ARRAY_INIT_CAPACITY 1000   // TODO: configurable mode
-#define ARRAY_GROWTH_THRESHOLD 50  // TODO: configurable mode
-#define ARRAY_SHRINK_THRESHOLD 50  // TODO: configurable mode
-
-namespace common {
-
-template <class ValueType>
-class Array {
-   public:
-#ifndef NDEBUG
-    friend std::ostream &operator<<(std::ostream &out, Array<ValueType> &sa) {
-        for (size_t idx = 0; idx < sa.size(); idx++) {
-            if (idx > 0) {
-                out << ' ';
-            }
-            out << sa[idx];
-        }
-        out << std::endl;
-        return out;
-    }
-#endif  // NDEBUG
-
-    Array() {
-        capacity_ = ARRAY_INIT_CAPACITY;
-        size_ = 0;
-        is_inited_ = false;
-        array_ = nullptr;
-    }
-
-    Array(size_t capacity) {
-        capacity_ = capacity;
-        size_ = 0;
-        is_inited_ = false;
-        array_ = nullptr;
-    }
-
-    ~Array() {
-        if (is_inited_) {
-            destroy();
-        }
-        capacity_ = 0;
-        size_ = 0;
-    }
-
-    // int deep_copy(const Array &other)
-    // {
-    //   this->capacity_ = other.capacity_;
-    //   this->size_ = other.size_;
-    //   if (init() == E_OK) {
-    //     memcpy(this->array_, other.array_, this->capacity_ *
-    //     sizeof(*(this->array_))); return E_OK;
-    //   }
-    //   return E_OOM;
-    // }
-
-    int init() {
-        if (is_inited_) {
-            // log_err("init repeated.");
-            ASSERT(!is_inited_);
-        }
-        array_ =
-            (ValueType *)mem_alloc(capacity_ * sizeof(*(array_)), MOD_ARRAY);
-        if (UNLIKELY(nullptr == array_)) {
-            is_inited_ = false;
-            // log_err("malloc failed.");
-            return E_OOM;
-        }
-        is_inited_ = true;
-        return E_OK;
-    }
-
-    void destroy() {
-        capacity_ = 0;
-        size_ = 0;
-        if (is_inited_) {
-            mem_free(array_);
-            array_ = nullptr;
-        }
-        is_inited_ = false;
-    }
-
-   private:
-    static size_t linear_calc(size_t input) {
-        if (input < ARRAY_GROWTH_THRESHOLD) {
-            return input;
-        }
-        size_t res = 1;
-        input /= 10;
-        while (input) {
-            input /= 10;
-            res *= 10;
-        }
-        return res;
-    }
-
-   public:
-    int extend() {
-        // Check for a potential overflow
-        uint64_t tmp = (uint64_t)(linear_calc(capacity_) + capacity_);
-        if (tmp > SIZE_MAX) {
-            // log_err("size overflow.");
-            return E_OVERFLOW;
-        }
-
-        size_t new_capacity = (size_t)tmp;
-        array_ =
-            (ValueType *)mem_realloc(array_, new_capacity * sizeof(*(array_)));
-        if (UNLIKELY(nullptr == array_)) {
-            // log_err("realloc failed.");
-            return E_OOM;
-        }
-        capacity_ = new_capacity;
-        return E_OK;
-    }
-
-    int shrink() {
-        size_t new_capacity = (size_t)(capacity_ / 2);
-        // if the size passed to realloc is smaller than before, OS will
-        // automatically release the rest memory
-        array_ =
-            (ValueType *)mem_realloc(array_, new_capacity * sizeof(*(array_)));
-        if (UNLIKELY(nullptr == array_)) {
-            // log_err("malloc failed.");
-            return E_OOM;
-        }
-        capacity_ = new_capacity;
-        return E_OK;
-    }
-
-    int insert(size_t idx, const ValueType &value) {
-        if (idx > size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            return E_OUT_OF_RANGE;
-        }
-        if (size_ >= capacity_) {
-            int ret = extend();
-            if (ret != E_OK) {
-                return ret;
-            }
-        }
-        ASSERT(idx <= size_);
-        ASSERT(size_ < capacity_);
-        if (idx == size_) {
-            array_[idx] = value;
-            size_++;
-            return E_OK;
-        }
-
-        memmove(array_ + (idx + 1), array_ + idx,
-                (size_ - idx) * sizeof(*(array_)));
-        array_[idx] = value;
-        size_++;
-        return E_OK;
-    }
-
-    // int update(size_t idx, const ValueType &value)
-    // {
-    //   if (idx >= size_) {
-    //     //log_err("index %lu is out of range, because size is %lu.", idx,
-    //     size_); return E_OUT_OF_RANGE;
-    //   }
-    //   array_[idx] = value;
-    //   return E_OK;
-    // }
-
-    int append(const ValueType &value) {
-        if (size_ >= capacity_) {
-            int ret = extend();
-            if (ret != E_OK) {
-                return ret;
-            }
-        }
-        array_[size_] = value;
-        size_++;
-        return E_OK;
-    }
-
-    FORCE_INLINE ValueType &at(size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-            return dummy_;
-        }
-        return array_[idx];
-    }
-
-    FORCE_INLINE ValueType &operator[](size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-            return dummy_;
-        }
-        return array_[idx];
-    }
-
-    bool contain(const ValueType &value) {
-        for (size_t i = 0; i < size_; i++) {
-            if (array_[i] == value) {
-                return true;
-            }
-        }
-        return false;
-    }
-
-    /*
-     * if the value is not found, then set 'found' is false.
-     */
-    size_t find(const ValueType &target_val, bool &found) {
-        for (size_t i = 0; i < size_; i++) {
-            if (array_[i] == target_val) {
-                found = true;
-                return i;
-            }
-        }
-        found = false;
-        return 0;
-    }
-
-    ValueType remove(size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-            return dummy_;
-        }
-        if (capacity_ > ARRAY_SHRINK_THRESHOLD && size_ <= capacity_ / 4) {
-            shrink();
-        }
-        ValueType ret = array_[idx];
-        memmove(array_ + idx, array_ + idx + 1,
-                (size_ - idx - 1) * sizeof(*(array_)));
-        size_--;
-
-        return ret;
-    }
-
-    int remove_value(const ValueType &value) {
-        bool found = false;
-        size_t pos = find(value, found);
-        if (!found) {
-            // log_warn("the value is not exist in the array.");
-            return E_NOT_EXIST;
-        }
-        while (found) {
-            remove(pos);
-            pos = find(value, found);
-        }
-
-        return E_OK;
-    }
-
-    FORCE_INLINE void clear() { size_ = 0; }
-
-    FORCE_INLINE bool empty() const { return ATOMIC_LOAD(&size_) == 0; }
-
-    FORCE_INLINE size_t size() const { return ATOMIC_LOAD(&size_); }
-
-    FORCE_INLINE size_t capacity() const { return ATOMIC_LOAD(&capacity_); }
-
-   private:
-    size_t capacity_;
-    size_t size_;
-    ValueType *array_;
-    ValueType dummy_;
-    bool is_inited_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_ARRAY_H
diff --git a/cpp/src/common/container/bit_map.cc b/cpp/src/common/container/bit_map.cc
deleted file mode 100644
index 407605e56..000000000
--- a/cpp/src/common/container/bit_map.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "bit_map.h"
-
-#include "common/allocator/alloc_base.h"
-
-namespace common {
-
-BitMap::~BitMap() {
-    if (bitmap_ && (size_ > 0)) {
-        mem_free(bitmap_);
-        bitmap_ = nullptr;
-        size_ = 0;
-    }
-}
-
-int BitMap::init(uint32_t item_size, bool init_as_zero) {
-    uint32_t size = (item_size + 7) / 8;
-    bitmap_ = static_cast<char*>(mem_alloc(size, MOD_TSBLOCK));
-    // need set to 0, otherwise there will be wrong data
-    const char initial_char = init_as_zero ? 0x00 : 0xFF;
-    memset(bitmap_, initial_char, size);
-    size_ = size;
-    init_as_zero_ = init_as_zero;
-    return common::E_OK;
-}
-
-}  // namespace common
diff --git a/cpp/src/common/container/bit_map.h b/cpp/src/common/container/bit_map.h
deleted file mode 100644
index 9d0367449..000000000
--- a/cpp/src/common/container/bit_map.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_BIT_MAP_H
-#define COMMON_CONTAINER_BIT_MAP_H
-
-#include <string.h>
-
-#include "utils/errno_define.h"
-#include "utils/util_define.h"
-
-namespace common {
-
-class BitMap {
-   public:
-    BitMap() : bitmap_(nullptr), size_(0), init_as_zero_(true) {}
-    ~BitMap();
-    int init(uint32_t item_size, bool init_as_zero = true);
-
-    FORCE_INLINE void reset() {
-        const char initial_char = init_as_zero_ ? 0x00 : 0xFF;
-        memset(bitmap_, initial_char, size_);
-    }
-
-    FORCE_INLINE void set(uint32_t index) {
-        uint32_t offset = index >> 3;
-        ASSERT(offset < size_);
-
-        char *start_addr = bitmap_ + offset;
-        uint8_t bit_mask = get_bit_mask(index);
-        *start_addr = (*start_addr) | (bit_mask);
-    }
-
-    FORCE_INLINE void clear(uint32_t index) {
-        uint32_t offset = index >> 3;
-        ASSERT(offset < size_);
-
-        char *start_addr = bitmap_ + offset;
-        uint8_t bit_mask = get_bit_mask(index);
-        *start_addr = (*start_addr) & (~bit_mask);
-    }
-
-    FORCE_INLINE bool test(uint32_t index) {
-        uint32_t offset = index >> 3;
-        ASSERT(offset < size_);
-
-        char *start_addr = bitmap_ + offset;
-        uint8_t bit_mask = get_bit_mask(index);
-        return (*start_addr & bit_mask);
-    }
-
-    FORCE_INLINE uint32_t get_size() { return size_; }
-
-    FORCE_INLINE char *get_bitmap() { return bitmap_; }  // for debug
-
-   private:
-    FORCE_INLINE uint8_t get_bit_mask(uint32_t index) {
-        return 1 << (index & 7);
-    }
-
-   private:
-    char *bitmap_;
-    uint32_t size_;
-    bool init_as_zero_;
-};
-}  // namespace common
-
-#endif  // COMMON_CONTAINER_BIT_MAP_H
diff --git a/cpp/src/common/container/blocking_queue.cc b/cpp/src/common/container/blocking_queue.cc
deleted file mode 100644
index f5123d323..000000000
--- a/cpp/src/common/container/blocking_queue.cc
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#include "blocking_queue.h"
-
-namespace common {
-
-BlockingQueue::BlockingQueue() : queue_(), mutex_(), cond_() {
-    pthread_mutex_init(&mutex_, NULL);
-    pthread_cond_init(&cond_, NULL);
-}
-
-BlockingQueue::~BlockingQueue() {
-    pthread_mutex_destroy(&mutex_);
-    pthread_cond_destroy(&cond_);
-}
-
-void BlockingQueue::push(void *data) {
-    pthread_mutex_lock(&mutex_);
-    queue_.push(data);
-    pthread_mutex_unlock(&mutex_);
-    /*
-     * it is safe to signal after unlock.
-     * since pthread_cond_wait is guarantee to unlock and sleep atomically.
-     */
-    pthread_cond_signal(&cond_);
-}
-
-void *BlockingQueue::pop() {
-    void *ret_data = NULL;
-    pthread_mutex_lock(&mutex_);
-    while (queue_.empty()) {
-        pthread_cond_wait(&cond_, &mutex_);
-    }
-    ret_data = queue_.front();
-    queue_.pop();
-    pthread_mutex_unlock(&mutex_);
-    return ret_data;
-}
-
-}  // end namespace common
\ No newline at end of file
diff --git a/cpp/src/common/container/blocking_queue.h b/cpp/src/common/container/blocking_queue.h
deleted file mode 100644
index e03ea3a46..000000000
--- a/cpp/src/common/container/blocking_queue.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_BLOCKING_QUEUE_H
-#define COMMON_CONTAINER_BLOCKING_QUEUE_H
-
-#include <pthread.h>
-
-#include <queue>
-
-namespace common {
-
-class BlockingQueue {
-   public:
-    BlockingQueue();
-    ~BlockingQueue();
-
-    void push(void* data);
-    // if empty, blocking
-    void* pop();
-
-   private:
-    std::queue<void*> queue_;
-    pthread_mutex_t mutex_;
-    pthread_cond_t cond_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_BLOCKING_QUEUE_H
diff --git a/cpp/src/common/container/byte_buffer.h b/cpp/src/common/container/byte_buffer.h
deleted file mode 100644
index 967d36408..000000000
--- a/cpp/src/common/container/byte_buffer.h
+++ /dev/null
@@ -1,127 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_BYTE_BUFFER_H
-#define COMMON_CONTAINER_BYTE_BUFFER_H
-
-#include <stdint.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "common/allocator/alloc_base.h"
-#include "common/global.h"
-#include "utils/util_define.h"
-
-namespace common {
-class ByteBuffer {
-   public:
-    ByteBuffer()
-        : data_(nullptr),
-          variable_type_len_(sizeof(uint32_t)),
-          real_data_size_(0),
-          reserved_size_(0) {}
-
-    ~ByteBuffer() {
-        if (data_ && (reserved_size_ > 0)) {
-            mem_free(data_);
-            data_ = nullptr;
-            real_data_size_ = 0;
-            reserved_size_ = 0;
-        }
-    }
-
-    FORCE_INLINE void init(uint32_t size) {
-        data_ = static_cast<char *>(mem_alloc(size, MOD_TSBLOCK));
-        reserved_size_ = size;
-    }
-
-    FORCE_INLINE void reset() { real_data_size_ = 0; }
-
-    FORCE_INLINE void extend_memory(uint32_t new_size) {
-        ASSERT(new_size > reserved_size_);
-        data_ = static_cast<char *>(mem_realloc(data_, new_size));
-        reserved_size_ = new_size;
-    }
-
-    FORCE_INLINE void append_variable_value(const char *value, uint32_t len) {
-        // dynamic growth
-        if (UNLIKELY((real_data_size_ + len + variable_type_len_) >
-                     reserved_size_)) {
-            // extreme scenarios, when encountering very long string
-            uint32_t growth_size =
-                g_config_value_.tsblock_mem_inc_step_size_ > len
-                    ? g_config_value_.tsblock_mem_inc_step_size_
-                    : (len + 1);
-            extend_memory(reserved_size_ + growth_size);
-        }
-
-        ASSERT(data_);
-        // append len
-        memcpy(&data_[real_data_size_], reinterpret_cast<char *>(&len),
-               variable_type_len_);
-        real_data_size_ += variable_type_len_;
-        if (len > 0) {
-            // append data
-            memcpy(&data_[real_data_size_], value, len);
-            real_data_size_ += len;
-        }
-    }
-
-    FORCE_INLINE void append_fixed_value(const char *value, uint32_t len) {
-        // dynamic growth
-        if (UNLIKELY(real_data_size_ + len > reserved_size_)) {
-            // extreme scenarios, when encountering very long string
-            uint32_t growth_size =
-                g_config_value_.tsblock_mem_inc_step_size_ > len
-                    ? g_config_value_.tsblock_mem_inc_step_size_
-                    : (len + 1);
-            extend_memory(reserved_size_ + growth_size);
-        }
-
-        ASSERT(data_);
-        memcpy(&data_[real_data_size_], value, len);
-        real_data_size_ += len;
-    }
-
-    // for fixed len value
-    FORCE_INLINE char *read(uint32_t offset, uint32_t len) {
-        ASSERT((offset + len) <= real_data_size_);
-        char *p = &data_[offset];
-        return p;
-    }
-
-    // for variable len value
-    FORCE_INLINE char *read(uint32_t offset, uint32_t *len) {
-        // get len
-        *len = *reinterpret_cast<uint32_t *>(&data_[offset]);
-        // get value
-        char *p = &data_[offset + variable_type_len_];
-        return p;
-    }
-
-    FORCE_INLINE char *get_data() { return data_; }
-
-   private:
-    char *data_;
-    uint8_t variable_type_len_;
-    uint32_t real_data_size_;
-    uint32_t reserved_size_;  // malloc memory size from system
-};
-
-}  // namespace common
-#endif  // COMMON_CONTAINER_BYTE_BUFFER_H
\ No newline at end of file
diff --git a/cpp/src/common/container/hash_func.h b/cpp/src/common/container/hash_func.h
deleted file mode 100644
index 8bac3170c..000000000
--- a/cpp/src/common/container/hash_func.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_HASH_FUNC_H
-#define COMMON_CONTAINER_HASH_FUNC_H
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include "common/container/hash_table.h"
-#include "common/container/murmur_hash3.h"
-#include "common/container/slice.h"
-#include "utils/db_utils.h"
-
-#define TSID_MAX_LEN 20
-
-namespace common {
-
-/*
- * using djb2 hash algorithm
- */
-struct StringHashFunc {
-    uint32_t hash_fmix32(uint32_t h) {
-        h ^= h >> 16;
-        h *= 0x3243f6a9U;
-        h ^= h >> 16;
-        return h;
-    }
-
-    uint32_t operator()(const void *data) {
-        uint32_t hash_ = (const uint32_t)5381;
-        const char *str = (const char *)data;
-        char c;
-        while ((c = *str++)) {
-            hash_ = ((hash_ << 5) + hash_) + c;
-        }
-        return hash_fmix32(hash_);
-    }
-};
-
-/*
- * using djb2 hash algorithm
- */
-struct SliceHashFunc {
-    uint32_t hash_fmix32(uint32_t h) {
-        h ^= h >> 16;
-        h *= 0x3243f6a9U;
-        h ^= h >> 16;
-        return h;
-    }
-
-    uint32_t operator()(const Slice &slice) {
-        uint32_t hash_ = (const uint32_t)5381;
-        const char *str = (const char *)slice.data();
-        char c;
-        while ((c = *str++)) {
-            hash_ = ((hash_ << 5) + hash_) + c;
-        }
-        return hash_fmix32(hash_);
-    }
-};
-
-/*
- * using murmur_hash hash algorithm
- */
-struct TsIDHashFunc {
-    uint32_t hash_fmix32(uint32_t h) {
-        h ^= h >> 16;
-        h *= 0x3243f6a9U;
-        h ^= h >> 16;
-        return h;
-    }
-
-    uint32_t operator()(const TsID &data) {
-        int32_t tmp = data.db_nid_ * 10000 + data.device_nid_ * 100 +
-                      data.measurement_nid_;
-        return Murmur128Hash::hash(tmp, 0);
-    }
-};
-
-/*
- * using murmur_hash hash algorithm
- */
-struct NodeIDHashFunc {
-    uint32_t operator()(const NodeID &data) {
-        return Murmur128Hash::hash(static_cast<int32_t>(data), 0);
-    }
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_HASH_FUNC_H
diff --git a/cpp/src/common/container/hash_node.h b/cpp/src/common/container/hash_node.h
deleted file mode 100644
index b51d01137..000000000
--- a/cpp/src/common/container/hash_node.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_HASH_NODE_H
-#define COMMON_CONTAINER_HASH_NODE_H
-
-#include "utils/util_define.h"
-
-namespace common {
-
-template <class KeyType, class ValueType>
-class HashNode {
-   public:
-    HashNode() {
-        is_valid_ = false;
-        rehash_ = 0;
-        next_ = nullptr;
-    }
-
-    HashNode(const KeyType &key, const ValueType &value)
-        : key_(key),
-          value_(value),
-          is_valid_(true),
-          rehash_(0),
-          next_(nullptr) {}
-
-    ~HashNode() { is_valid_ = false; }
-
-    FORCE_INLINE KeyType get_key() const { return key_; }
-
-    FORCE_INLINE ValueType get_value() const { return value_; }
-
-    FORCE_INLINE void set_key(const KeyType &key) { key_ = key; }
-
-    FORCE_INLINE void set_value(const ValueType &value) { value_ = value; }
-
-    FORCE_INLINE HashNode *get_next() const { return next_; }
-
-    FORCE_INLINE void set_next(HashNode *next) { next_ = next; }
-
-    FORCE_INLINE bool get_valid() const { return is_valid_; }
-
-    FORCE_INLINE void set_valid(bool vd) { is_valid_ = vd; }
-
-    FORCE_INLINE uint64_t get_rehashid() const { return rehash_; }
-
-    FORCE_INLINE void set_rehashid(uint64_t id) { rehash_ = id; }
-
-   public:
-    bool is_valid_;
-    uint64_t rehash_;
-    KeyType key_;
-    ValueType value_;
-    HashNode *next_;  // pointer to the next node (same bucket)
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_HASH_NODE_H
\ No newline at end of file
diff --git a/cpp/src/common/container/hash_segm.h b/cpp/src/common/container/hash_segm.h
deleted file mode 100644
index df0e53966..000000000
--- a/cpp/src/common/container/hash_segm.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_HASH_SEGM_H
-#define COMMON_CONTAINER_HASH_SEGM_H
-
-#include <stddef.h>
-
-#include "common/container/hash_node.h"
-#include "common/mutex/mutex.h"
-#include "utils/errno_define.h"
-#include "utils/util_define.h"
-
-#define SEGMENT_CAPACITY 100
-
-namespace common {
-
-template <class KeyType, class ValueType>
-class HashSegm {
-   public:
-    HashSegm() {}
-    ~HashSegm() {}
-
-    FORCE_INLINE HashNode<KeyType, ValueType>& operator[](size_t idx) {
-        if (idx >= SEGMENT_CAPACITY) {
-            // log_err("index %lu is out of range.", idx);
-            ASSERT(idx < SEGMENT_CAPACITY);
-        }
-        return segm_pointer_[idx];
-    }
-
-   public:
-    Mutex mutexes_[SEGMENT_CAPACITY];
-    HashNode<KeyType, ValueType> segm_pointer_[SEGMENT_CAPACITY];
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_HASH_SEGM_H
\ No newline at end of file
diff --git a/cpp/src/common/container/hash_table.h b/cpp/src/common/container/hash_table.h
deleted file mode 100644
index 896289eb6..000000000
--- a/cpp/src/common/container/hash_table.h
+++ /dev/null
@@ -1,792 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_HASH_TABLE_H
-#define COMMON_CONTAINER_HASH_TABLE_H
-
-#include "common/allocator/alloc_base.h"
-#include "common/container/array.h"
-#include "common/container/hash_func.h"
-#include "common/container/hash_node.h"
-#include "common/container/hash_segm.h"
-
-#define TABLE_CAPACITY 100
-#define TABLE_GROWTH 2
-
-namespace common {
-
-template <typename KeyType, typename ValueType, typename F>
-class HashTable {
-   public:
-    HashTable() : table_(TABLE_CAPACITY) {
-        new_table_capacity_ = TABLE_CAPACITY;
-        old_table_capacity_ = TABLE_CAPACITY;
-        size_ = 0;
-        is_inited_ = false;
-        hash_version_ = 0;
-        is_extending_ = 0;
-    }
-
-    HashTable(size_t total_capacity)
-        : table_(total_capacity / SEGMENT_CAPACITY) {
-        new_table_capacity_ = total_capacity / SEGMENT_CAPACITY;
-        old_table_capacity_ = new_table_capacity_;
-        size_ = 0;
-        is_inited_ = false;
-        hash_version_ = 0;
-        is_extending_ = 0;
-    }
-    ~HashTable() {
-        new_table_capacity_ = 0;
-        size_ = 0;
-        is_inited_ = false;
-        hash_version_ = 0;
-        is_extending_ = 0;
-    }
-
-    int init() {
-        if (is_inited_) {
-            // log_err("init repeated.");
-            ASSERT(!is_inited_);
-        }
-
-        int ret = E_OK;
-        ret = table_.init();
-        if (ret != E_OK) {
-            return E_OOM;
-        }
-        for (size_t i = 0; i < new_table_capacity_; i++) {
-            void* buf =
-                mem_alloc(sizeof(HashSegm<KeyType, ValueType>), MOD_HASH_TABLE);
-            if (UNLIKELY(nullptr == buf)) {
-                // log_err("malloc() failed.");
-                return E_OOM;
-            }
-            HashSegm<KeyType, ValueType>* tmp_segm =
-                new (buf) HashSegm<KeyType, ValueType>;
-            table_.append(tmp_segm);
-        }
-        is_inited_ = true;
-        return E_OK;
-    }
-
-    void destroy() {
-        if (is_inited_) {
-            for (size_t i = 0; i < new_table_capacity_; i++) {
-                for (size_t j = 0; j < SEGMENT_CAPACITY; j++) {
-                    if ((*table_[i])[j].get_valid()) {
-                        HashNode<KeyType, ValueType>* prev = nullptr;
-                        HashNode<KeyType, ValueType>* entry =
-                            (*table_[i])[j].get_next();
-                        while (entry != nullptr) {
-                            prev = entry;
-                            entry = entry->get_next();
-                            prev->~HashNode();
-                            mem_free(prev);
-                            prev = nullptr;
-                        }
-                        (*table_[i])[j].set_valid(false);
-                    }
-                }
-                table_[i]->~HashSegm();
-                mem_free(table_[i]);
-                table_[i] = nullptr;
-            }
-            table_.destroy();
-        }
-        is_inited_ = false;
-    }
-
-    int table_extend() {
-        int ret = table_.extend();
-        if (ret != E_OK) {
-            return ret;
-        }
-        for (size_t i = ATOMIC_LOAD(&new_table_capacity_);
-             i < table_.capacity(); i++) {
-            void* buf =
-                mem_alloc(sizeof(HashSegm<KeyType, ValueType>), MOD_HASH_TABLE);
-            if (UNLIKELY(nullptr == buf)) {
-                // log_err("malloc() failed.");
-                return E_OOM;
-            }
-            HashSegm<KeyType, ValueType>* tmp_segm =
-                new (buf) HashSegm<KeyType, ValueType>;
-            table_.append(tmp_segm);
-        }
-        return E_OK;
-    }
-
-    int move_bucket_head(size_t from_segment_idx, size_t from_bucket_idx) {
-        HashNode<KeyType, ValueType>* prev =
-            &((*table_[from_segment_idx])[from_bucket_idx]);
-        HashNode<KeyType, ValueType>* entry =
-            ((*table_[from_segment_idx])[from_bucket_idx]).get_next();
-
-        while (
-            (*table_[from_segment_idx])[from_bucket_idx].get_rehashid() !=
-            ATOMIC_LOAD(&hash_version_)) {  // if the hashnode hasn't rehashed
-            uint32_t hash_value = hashfunc_(
-                (*table_[from_segment_idx])[from_bucket_idx].get_key());
-            size_t to_segment_idx =
-                hash_value % ATOMIC_LOAD(&new_table_capacity_);
-            size_t to_bucket_idx = hash_value % SEGMENT_CAPACITY;
-            if (from_segment_idx == to_segment_idx &&
-                from_bucket_idx == to_bucket_idx) {
-                ((*table_[to_segment_idx])[to_bucket_idx])
-                    .set_rehashid(
-                        ATOMIC_LOAD(&hash_version_));  // only update rehashid
-            } else {
-                // put
-                table_[to_segment_idx]->mutexes_[to_bucket_idx].lock();
-                int ret = put_nolock(
-                    (*table_[from_segment_idx])[from_bucket_idx].get_key(),
-                    (*table_[from_segment_idx])[from_bucket_idx].get_value(),
-                    to_segment_idx, to_bucket_idx);
-                table_[to_segment_idx]->mutexes_[to_bucket_idx].unlock();
-                if (ret != E_OK) {
-                    return ret;
-                }
-                // remove
-                if (entry != nullptr) {
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_key(entry->get_key());
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_value(entry->get_value());
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_next(entry->get_next());
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_valid(true);
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_rehashid(entry->get_rehashid());
-                    ATOMIC_AAF(&size_, -1);
-                    entry->~HashNode();
-                    mem_free(entry);
-                    entry = prev->get_next();
-                } else {
-                    ((*table_[from_segment_idx])[from_bucket_idx])
-                        .set_valid(false);
-                    ATOMIC_AAF(&size_, -1);
-                    break;
-                }
-            }
-        }
-
-        return E_OK;
-    }
-
-    int move_bucket_chain(size_t from_segment_idx, size_t from_bucket_idx) {
-        HashNode<KeyType, ValueType>* prev =
-            &((*table_[from_segment_idx])[from_bucket_idx]);
-        HashNode<KeyType, ValueType>* entry =
-            ((*table_[from_segment_idx])[from_bucket_idx]).get_next();
-
-        while (entry != nullptr) {
-            if (entry->get_rehashid() != ATOMIC_LOAD(&hash_version_)) {
-                uint32_t hash_value = hashfunc_(entry->get_key());
-                size_t to_segment_idx =
-                    hash_value % ATOMIC_LOAD(&new_table_capacity_);
-                size_t to_bucket_idx = hash_value % SEGMENT_CAPACITY;
-                if (from_segment_idx == to_segment_idx &&
-                    from_bucket_idx == to_bucket_idx) {
-                    entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-                    prev = entry;
-                    entry = entry->get_next();
-                } else {
-                    table_[to_segment_idx]->mutexes_[to_bucket_idx].lock();
-                    if ((*table_[to_segment_idx])[to_bucket_idx].get_valid() ==
-                        false) {
-                        ((*table_[to_segment_idx])[to_bucket_idx])
-                            .set_key(entry->get_key());
-                        ((*table_[to_segment_idx])[to_bucket_idx])
-                            .set_value(entry->get_value());
-                        ((*table_[to_segment_idx])[to_bucket_idx])
-                            .set_next(nullptr);
-                        ((*table_[to_segment_idx])[to_bucket_idx])
-                            .set_valid(true);
-                        ((*table_[to_segment_idx])[to_bucket_idx])
-                            .set_rehashid(ATOMIC_LOAD(&hash_version_));
-                        prev->set_next(entry->get_next());
-                        entry->~HashNode();
-                        mem_free(entry);
-                        entry = prev->get_next();
-                        // entry = entry->get_next();
-                    } else {
-                        entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-                        prev->set_next(entry->get_next());
-                        entry->set_next((*table_[to_segment_idx])[to_bucket_idx]
-                                            .get_next());
-                        (*table_[to_segment_idx])[to_bucket_idx].set_next(
-                            entry);
-                        entry = prev->get_next();
-                    }
-                    table_[to_segment_idx]->mutexes_[to_bucket_idx].unlock();
-                }
-            } else {
-                prev = prev->get_next();
-                entry = entry->get_next();
-            }
-        }
-        return E_OK;
-    }
-
-    int extend() {
-        int ret = table_extend();
-        if (ret != E_OK) {
-            return ret;
-        }
-        ATOMIC_STORE(&old_table_capacity_, ATOMIC_LOAD(&new_table_capacity_));
-        ATOMIC_STORE(&new_table_capacity_, table_.capacity());
-        // ATOMIC_STORE(&hash_total_capacity_, table_.capacity() *
-        // SEGMENT_CAPACITY);
-
-        int64_t next_hash_version =
-            ATOMIC_LOAD(&hash_version_) +
-            1;  // the highest position of next_hash_version is 0
-        ATOMIC_STORE(&hash_version_,
-                     next_hash_version |
-                         (1UL << 63));  // set the highest position to 1
-                                        // which means 'extend' is beginning.
-
-        // rehash
-        for (size_t from_segment_idx = 0;
-             from_segment_idx < ATOMIC_LOAD(&old_table_capacity_);
-             from_segment_idx++) {
-            for (size_t from_bucket_idx = 0; from_bucket_idx < SEGMENT_CAPACITY;
-                 from_bucket_idx++) {
-                table_[from_segment_idx]->mutexes_[from_bucket_idx].lock();
-                if ((*table_[from_segment_idx])[from_bucket_idx].get_valid()) {
-                    ret = move_bucket_head(from_segment_idx, from_bucket_idx);
-                    if (ret != E_OK) {
-                        table_[from_segment_idx]
-                            ->mutexes_[from_bucket_idx]
-                            .unlock();
-                        return ret;
-                    }
-                    ret = move_bucket_chain(from_segment_idx, from_bucket_idx);
-                    if (ret != E_OK) {
-                        table_[from_segment_idx]
-                            ->mutexes_[from_bucket_idx]
-                            .unlock();
-                        return ret;
-                    }
-                }
-                table_[from_segment_idx]->mutexes_[from_bucket_idx].unlock();
-            }
-        }
-
-        ATOMIC_STORE(
-            &hash_version_,
-            next_hash_version & (~(1UL << 63)));  // set extending flag is false
-
-        return E_OK;
-    }
-
-    /*
-     * when the key already exists, just update old value to new value;
-     */
-    int put(const KeyType& key, const ValueType& value) {
-        int ret;
-        uint32_t hash_value = hashfunc_(key);
-
-        while (true) {
-            uint8_t cur_table_capacity = ATOMIC_LOAD(&new_table_capacity_);
-            size_t segment_idx = hash_value % cur_table_capacity;
-            size_t bucket_idx = hash_value % SEGMENT_CAPACITY;
-
-            table_[segment_idx]->mutexes_[bucket_idx].lock();
-            ret = put_nolock(key, value, segment_idx, bucket_idx);
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            if (ret != E_OK) {
-                return ret;
-            }
-
-            if (UNLIKELY(
-                    cur_table_capacity !=
-                    ATOMIC_LOAD(
-                        &new_table_capacity_))) {  // resolve the problem of
-                                                   // insert into old position
-                ret = remove_from_wrong_bucket(key, segment_idx, bucket_idx);
-                // if (ret != E_OK) {
-                //   return ret;
-                // }
-                continue;
-            } else {
-                break;
-            }
-        }
-
-        if (ATOMIC_LOAD(&size_) > ATOMIC_LOAD(&new_table_capacity_) *
-                                      SEGMENT_CAPACITY * TABLE_GROWTH) {
-            uint8_t tmp = 0;
-            if (ATOMIC_CAS(&is_extending_, &tmp, 1)) {
-                ret = extend();
-                if (ret != E_OK) {
-                    ATOMIC_AAF(&is_extending_, -1);
-                    return ret;
-                }
-                ATOMIC_AAF(&is_extending_, -1);
-            }
-        }
-
-        return ret;
-    }
-
-    /*
-     * when the key already exists, just update old value to new value;
-     */
-    int put_nolock(const KeyType& key, const ValueType& value,
-                   size_t segment_idx, size_t bucket_idx) {
-        if (((*table_[segment_idx])[bucket_idx]).get_valid() ==
-            false) {  // if current segment has no valid node
-            ((*table_[segment_idx])[bucket_idx]).set_key(key);
-            ((*table_[segment_idx])[bucket_idx]).set_value(value);
-            ((*table_[segment_idx])[bucket_idx]).set_next(nullptr);
-            ((*table_[segment_idx])[bucket_idx]).set_valid(true);
-            ((*table_[segment_idx])[bucket_idx])
-                .set_rehashid(ATOMIC_LOAD(&hash_version_));
-            ATOMIC_AAF(&size_, 1);
-        } else if (((*table_[segment_idx])[bucket_idx]).get_key() ==
-                   key) {  // if current segment's first node's key is same as
-                           // the target key
-            ((*table_[segment_idx])[bucket_idx])
-                .set_value(value);  // update value of existing node
-            ((*table_[segment_idx])[bucket_idx])
-                .set_rehashid(ATOMIC_LOAD(&hash_version_));
-        } else {  // follow the link list
-            HashNode<KeyType, ValueType>* prev =
-                &((*table_[segment_idx])[bucket_idx]);
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            while (entry != nullptr && entry->get_key() != key) {
-                prev = entry;
-                entry = entry->get_next();
-            }
-            if (LIKELY(entry == nullptr)) {
-                void* buf = mem_alloc(sizeof(HashNode<KeyType, ValueType>),
-                                      MOD_HASH_TABLE);
-                if (UNLIKELY(nullptr == buf)) {
-                    // log_err("malloc() failed.");
-                    return E_OOM;
-                }
-                entry = new (buf) HashNode<KeyType, ValueType>;
-                entry->set_key(key);
-                entry->set_value(value);
-                entry->set_valid(true);
-                entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-                prev->set_next(entry);
-                ATOMIC_AAF(&size_, 1);
-            } else {
-                entry->set_value(value);  // update value of existing node
-                entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-            }
-        }
-        return E_OK;
-    }
-
-    /*
-     * when the key already exists, then remain the old value and return the old
-     * value and set 'exist' to true
-     */
-    int put_no_update(const KeyType& key, ValueType& value, bool& exist) {
-        int ret;
-        uint32_t hash_value = hashfunc_(key);
-
-        while (true) {
-            uint8_t cur_table_capacity = ATOMIC_LOAD(&new_table_capacity_);
-            size_t segment_idx = hash_value % cur_table_capacity;
-            size_t bucket_idx = hash_value % SEGMENT_CAPACITY;
-
-            table_[segment_idx]->mutexes_[bucket_idx].lock();
-            ret = put_nolock_no_update(key, value, segment_idx, bucket_idx,
-                                       exist);
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            if (ret != E_OK) {
-                return ret;
-            }
-
-            if (UNLIKELY(
-                    cur_table_capacity !=
-                    ATOMIC_LOAD(
-                        &new_table_capacity_))) {  // resolve the problem of
-                                                   // insert into old position
-                ret = remove_from_wrong_bucket(key, segment_idx, bucket_idx);
-                // if (ret != E_OK) {
-                //   return ret;
-                // }
-                continue;
-            } else {
-                break;
-            }
-        }
-
-        if (ATOMIC_LOAD(&size_) > ATOMIC_LOAD(&new_table_capacity_) *
-                                      SEGMENT_CAPACITY * TABLE_GROWTH) {
-            uint8_t tmp = 0;
-            if (ATOMIC_CAS(&is_extending_, &tmp, 1)) {
-                ret = extend();
-                if (ret != E_OK) {
-                    return ret;
-                }
-                ATOMIC_AAF(&is_extending_, -1);
-            }
-        }
-
-        return ret;
-    }
-
-    /*
-     * when the key already exists, then remain the old value and return the old
-     * value and set 'exist' to true
-     */
-    int put_nolock_no_update(const KeyType& key, ValueType& value,
-                             size_t segment_idx, size_t bucket_idx,
-                             bool& exist) {
-        if (((*table_[segment_idx])[bucket_idx]).get_valid() ==
-            false) {  // if current segment has no valid node
-            ((*table_[segment_idx])[bucket_idx]).set_key(key);
-            ((*table_[segment_idx])[bucket_idx]).set_value(value);
-            ((*table_[segment_idx])[bucket_idx]).set_next(nullptr);
-            ((*table_[segment_idx])[bucket_idx]).set_valid(true);
-            ((*table_[segment_idx])[bucket_idx])
-                .set_rehashid(ATOMIC_LOAD(&hash_version_));
-            ATOMIC_AAF(&size_, 1);
-        } else if (((*table_[segment_idx])[bucket_idx]).get_key() ==
-                   key) {  // if current segment's first node's key is same as
-                           // the target key
-            exist = true;
-            value = ((*table_[segment_idx])[bucket_idx]).get_value();
-            ((*table_[segment_idx])[bucket_idx])
-                .set_rehashid(ATOMIC_LOAD(&hash_version_));
-        } else {  // follow the link list
-            HashNode<KeyType, ValueType>* prev =
-                &((*table_[segment_idx])[bucket_idx]);
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            while (entry != nullptr && entry->get_key() != key) {
-                prev = entry;
-                entry = entry->get_next();
-            }
-            if (LIKELY(entry == nullptr)) {
-                void* buf = mem_alloc(sizeof(HashNode<KeyType, ValueType>),
-                                      MOD_HASH_TABLE);
-                if (UNLIKELY(nullptr == buf)) {
-                    // log_err("malloc() failed.");
-                    return E_OOM;
-                }
-                entry = new (buf) HashNode<KeyType, ValueType>;
-                entry->set_key(key);
-                entry->set_value(value);
-                entry->set_valid(true);
-                entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-                prev->set_next(entry);
-                ATOMIC_AAF(&size_, 1);
-            } else {
-                exist = true;
-                value = entry->get_value();
-                entry->set_rehashid(ATOMIC_LOAD(&hash_version_));
-            }
-        }
-        return E_OK;
-    }
-
-    int get(const KeyType& key, ValueType& result_value) {
-        if (!ATOMIC_LOAD(&size_)) {
-            return E_NOT_EXIST;
-        }
-        int ret;
-        ValueType result1;
-        ValueType result2;
-        ValueType result3;
-        while (true) {
-            uint64_t hv1 = ATOMIC_LOAD(&hash_version_);
-
-            if ((hv1 & (1UL << 63))) {
-                ret = get_by_bucket(key, result1,
-                                    ATOMIC_LOAD(&old_table_capacity_));
-                if (ret == E_OK) {
-                    result_value = result1;
-                    return ret;
-                }
-                ret = get_by_bucket(key, result2,
-                                    ATOMIC_LOAD(&new_table_capacity_));
-                if (ret == E_OK) {
-                    result_value = result2;
-                    return ret;
-                }
-            } else {  //
-                ret = get_by_bucket(key, result3,
-                                    ATOMIC_LOAD(&new_table_capacity_));
-                if (ret == E_OK) {
-                    result_value = result3;
-                    return ret;
-                }
-            }
-
-            uint64_t hv2 = ATOMIC_LOAD(&hash_version_);
-            if ((hv1 & (~(1UL << 63))) != (hv2 & (~(1UL << 63)))) {
-                continue;
-            } else if (ATOMIC_LOAD(&is_extending_)) {
-                continue;
-            } else {
-                return E_NOT_EXIST;
-            }
-        }
-    }
-
-    int get_by_bucket(const KeyType& key, ValueType& result_value,
-                      size_t table_capacity) {
-        uint32_t hash_value = hashfunc_(key);
-        size_t segment_idx = hash_value % table_capacity;
-        size_t bucket_idx = hash_value % SEGMENT_CAPACITY;
-
-        table_[segment_idx]->mutexes_[bucket_idx].lock();
-
-        if (!((*table_[segment_idx])[bucket_idx])
-                 .get_valid()) {  // if current segment has no node
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        } else if (((*table_[segment_idx])[bucket_idx]).get_key() == key) {
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            result_value = ((*table_[segment_idx])[bucket_idx]).get_value();
-            return E_OK;
-        } else {
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            while (entry != nullptr) {
-                if (entry->get_key() == key) {
-                    table_[segment_idx]->mutexes_[bucket_idx].unlock();
-                    result_value = entry->get_value();
-                    return E_OK;
-                }
-                entry = entry->get_next();
-            }
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        }
-    }
-
-    int remove(const KeyType& key) {
-        if (!ATOMIC_LOAD(&size_)) {
-            return E_NOT_EXIST;
-        }
-        int ret;
-        while (true) {
-            uint64_t hv1 = ATOMIC_LOAD(&hash_version_);
-
-            if ((hv1 & (1UL << 63))) {
-                ret = remove_by_bucket(key, ATOMIC_LOAD(&old_table_capacity_));
-                if (ret == E_OK) {
-                    return ret;
-                }
-                ret = remove_by_bucket(key, ATOMIC_LOAD(&new_table_capacity_));
-                if (ret == E_OK) {
-                    return ret;
-                }
-            } else {
-                ret = remove_by_bucket(key, ATOMIC_LOAD(&new_table_capacity_));
-                if (ret == E_OK) {
-                    return ret;
-                }
-            }
-
-            uint64_t hv2 = ATOMIC_LOAD(&hash_version_);
-            if ((hv1 & (~(1UL << 63))) != (hv2 & (~(1UL << 63)))) {
-                continue;
-            } else if (ATOMIC_LOAD(&is_extending_)) {
-                continue;
-            } else {
-                return E_NOT_EXIST;
-            }
-        }
-    }
-
-    int remove_by_bucket(const KeyType& key, size_t table_capacity) {
-        uint32_t hash_value = hashfunc_(key);
-        size_t segment_idx = hash_value % table_capacity;
-        size_t bucket_idx = hash_value % SEGMENT_CAPACITY;
-
-        table_[segment_idx]->mutexes_[bucket_idx].lock();
-
-        if (!((*table_[segment_idx])[bucket_idx])
-                 .get_valid()) {  // if current segment has no node
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        } else if (((*table_[segment_idx])[bucket_idx]).get_key() == key) {
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            if (entry != nullptr) {
-                ((*table_[segment_idx])[bucket_idx]).set_key(entry->get_key());
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_value(entry->get_value());
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_next(entry->get_next());
-                ((*table_[segment_idx])[bucket_idx]).set_valid(true);
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_rehashid(entry->get_rehashid());
-                entry->~HashNode();
-                mem_free(entry);
-                entry = nullptr;
-            } else {
-                ((*table_[segment_idx])[bucket_idx]).set_valid(false);
-            }
-            ATOMIC_AAF(&size_, -1);
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_OK;
-        } else {
-            HashNode<KeyType, ValueType>* prev =
-                &((*table_[segment_idx])[bucket_idx]);
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            while (entry != nullptr) {
-                if (entry->get_key() == key) {
-                    prev->set_next(
-                        entry->get_next());  // remove node and reconnect
-                    entry->~HashNode();
-                    mem_free(entry);
-                    entry = nullptr;
-                    ATOMIC_AAF(&size_, -1);
-                    table_[segment_idx]->mutexes_[bucket_idx].unlock();
-                    return E_OK;
-                }
-                prev = entry;
-                entry = entry->get_next();
-            }
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        }
-    }
-
-    int remove_from_wrong_bucket(const KeyType& key, size_t segment_idx,
-                                 size_t bucket_idx) {
-        if (!ATOMIC_LOAD(&size_)) {
-            return E_NO_MORE_DATA;
-        }
-
-        table_[segment_idx]->mutexes_[bucket_idx].lock();
-
-        if (!((*table_[segment_idx])[bucket_idx])
-                 .get_valid()) {  // if current segment has no node
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        } else if (((*table_[segment_idx])[bucket_idx]).get_key() == key) {
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            if (entry != nullptr) {
-                ((*table_[segment_idx])[bucket_idx]).set_key(entry->get_key());
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_value(entry->get_value());
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_next(entry->get_next());
-                ((*table_[segment_idx])[bucket_idx]).set_valid(true);
-                ((*table_[segment_idx])[bucket_idx])
-                    .set_rehashid(entry->get_rehashid());
-                entry->~HashNode();
-                mem_free(entry);
-                entry = nullptr;
-            } else {
-                ((*table_[segment_idx])[bucket_idx]).set_valid(false);
-            }
-            ATOMIC_AAF(&size_, -1);
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_OK;
-        } else {
-            HashNode<KeyType, ValueType>* prev =
-                &((*table_[segment_idx])[bucket_idx]);
-            HashNode<KeyType, ValueType>* entry =
-                ((*table_[segment_idx])[bucket_idx]).get_next();
-            while (entry != nullptr) {
-                if (entry->get_key() == key) {
-                    prev->set_next(
-                        entry->get_next());  // remove node and reconnect
-                    entry->~HashNode();
-                    mem_free(entry);
-                    entry = nullptr;
-                    ATOMIC_AAF(&size_, -1);
-                    table_[segment_idx]->mutexes_[bucket_idx].unlock();
-                    return E_OK;
-                }
-                prev = entry;
-                entry = entry->get_next();
-            }
-            table_[segment_idx]->mutexes_[bucket_idx].unlock();
-            return E_NOT_EXIST;
-        }
-    }
-
-#ifndef NDEBUG
-    void print() {
-        printf("<< The Hash Table >>\n");
-        if (!ATOMIC_AAF(&size_, 0)) {
-            printf("  Empty now!\n");
-            return;
-        }
-        size_t bucket_num = 0;
-        for (size_t i = 0; i < ATOMIC_AAF(&new_table_capacity_, 0); i++) {
-            for (size_t j = 0; j < SEGMENT_CAPACITY; j++) {
-                // printf("----(%ld)segment id is %ld, bucket id is %ld----\n",
-                // bucket_num++, i, j);
-                if ((*table_[i])[j].get_valid()) {
-                    printf("----(%ld)segment id is %ld, bucket id is %ld----\n",
-                           bucket_num++, i, j);
-                    std::cout << "|      "
-                              << "key is " << (*table_[i])[j].get_key()
-                              << ", value is " << (*table_[i])[j].get_value()
-                              << ", rehashid is "
-                              << (int)(*table_[i])[j].get_rehashid()
-                              << std::endl;
-                    HashNode<KeyType, ValueType>* entry =
-                        ((*table_[i])[j]).get_next();
-                    while (entry != nullptr) {
-                        std::cout << "|      "
-                                  << "key is " << entry->get_key()
-                                  << ", value is " << entry->get_value()
-                                  << ", rehashid is "
-                                  << (int)entry->get_rehashid() << std::endl;
-                        entry = entry->get_next();
-                    }
-                } else {
-                    bucket_num++;
-                }
-            }
-        }
-    }
-#endif  // #ifndef NDEBUG
-
-    FORCE_INLINE bool empty() const { return ATOMIC_LOAD(&size_) == 0; }
-
-    FORCE_INLINE size_t size() { return ATOMIC_LOAD(&size_); }
-
-    FORCE_INLINE size_t total_capacity() {
-        return ATOMIC_LOAD(&new_table_capacity_) * SEGMENT_CAPACITY;
-    }
-
-   private:
-    size_t new_table_capacity_;
-    size_t old_table_capacity_;
-    size_t size_;
-    uint64_t hash_version_;
-    Array<HashSegm<KeyType, ValueType>*>
-        table_;  // the element in Array is pointer.
-    bool is_inited_;
-    uint8_t is_extending_;
-    F hashfunc_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_HASH_TABLE_H
diff --git a/cpp/src/common/container/list.h b/cpp/src/common/container/list.h
deleted file mode 100644
index 88a733798..000000000
--- a/cpp/src/common/container/list.h
+++ /dev/null
@@ -1,150 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-#ifndef COMMON_CONTAINER_LIST_H
-#define COMMON_CONTAINER_LIST_H
-
-#include "common/allocator/page_arena.h"
-#include "utils/errno_define.h"
-
-namespace common {
-
-#define INVALID_NODE_PTR ((SimpleListNode *)0xABCDEF)
-
-/*
- * A very simple list.
- * There are such scenarios:
- *   We prepare all data in the list, and pass the list as immutable
- *   parameters to other module or caller. We never do delete or complex
- *   push operations.
- *   for example:
- *     SchemaMgr::get_timeseries_by_tsid(TsID, list<ColumnDesc>&)
- *     SchemaMgr::create_aligned_timeseries(..., const list<char*>
- * &measurement_list, ...)
- *
- * Note: not thread safe!
- */
-template <class T>
-class SimpleList {
-   private:
-    struct SimpleListNode {
-        T data_;
-        SimpleListNode *next_;
-
-        SimpleListNode() : next_(nullptr) {}
-        SimpleListNode(const T &data) : data_(data), next_(nullptr) {}
-    };
-
-   public:
-    class Iterator {
-       public:
-        Iterator(SimpleListNode *node) : cur_(node) {}
-        Iterator() : cur_(INVALID_NODE_PTR) {}
-        T &get() { return cur_->data_; }
-        FORCE_INLINE bool is_inited() const { return cur_ != INVALID_NODE_PTR; }
-        FORCE_INLINE Iterator &operator++(int n) {
-            if (LIKELY(cur_ != nullptr)) {
-                cur_ = cur_->next_;
-            }
-            return *this;
-        }
-        FORCE_INLINE bool operator!=(const Iterator &other) const {
-            return this->cur_ != other.cur_;
-        }
-        FORCE_INLINE bool operator==(const Iterator &other) const {
-            return this->cur_ == other.cur_;
-        }
-
-       private:
-        SimpleListNode *cur_;
-    };
-
-   public:
-    SimpleList(const uint32_t page_size, AllocModID mid)
-        : head_(nullptr), tail_(nullptr), size_(0) {
-        own_page_arena_.init(page_size, mid);
-        page_arena_ = &own_page_arena_;
-    }
-
-    SimpleList(PageArena *page_arena)
-        : page_arena_(page_arena), head_(nullptr), tail_(nullptr), size_(0) {
-        // page_arena_ should be destroy outside by caller
-    }
-
-    int push_back(const T &data) {
-        void *buf = page_arena_->alloc(sizeof(SimpleListNode));
-        if (UNLIKELY(buf == nullptr)) {
-            return common::E_OOM;
-        }
-        SimpleListNode *node = new (buf) SimpleListNode(data);
-        if (head_ == nullptr) {
-            head_ = node;
-            tail_ = node;
-        } else {
-            assert(tail_ != nullptr);
-            tail_->next_ = node;
-            tail_ = node;
-        }
-        size_++;
-        return common::E_OK;
-    }
-
-    FORCE_INLINE T &front() {
-        ASSERT(size_ > 0 && head_ != nullptr);
-        return head_->data_;
-    }
-
-    int remove(T target) {
-        if (head_ == nullptr) {
-            return common::E_NOT_EXIST;
-        }
-        SimpleListNode *prev = head_;
-        SimpleListNode *cur = head_->next_;
-        while (cur && cur->data_ != target) {
-            cur = cur->next_;
-        }
-        if (!cur) {
-            return common::E_NOT_EXIST;
-        }
-        prev->next_ = cur->next_;
-        size_--;
-        // cur is allocated from PageArena, it should not reclaim now
-        return common::E_OK;
-    }
-
-    FORCE_INLINE Iterator begin() const { return Iterator(head_); }
-    FORCE_INLINE Iterator end() const { return Iterator(nullptr); }
-    FORCE_INLINE uint32_t size() const { return size_; }
-    FORCE_INLINE void clear() {
-        head_ = nullptr;
-        tail_ = nullptr;
-        size_ = 0;
-        own_page_arena_.destroy();
-    }
-
-   private:
-    PageArena *page_arena_;
-    PageArena own_page_arena_;
-    SimpleListNode *head_;
-    SimpleListNode *tail_;
-    uint32_t size_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_LIST_H
diff --git a/cpp/src/common/container/murmur_hash3.cc b/cpp/src/common/container/murmur_hash3.cc
deleted file mode 100644
index 14a060228..000000000
--- a/cpp/src/common/container/murmur_hash3.cc
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#include "murmur_hash3.h"
-
-namespace common {
-
-/* ================ Murmur128Hash ================ */
-// follow Java IoTDB exactly.
-int64_t Murmur128Hash::inner_hash(const char *buf, int32_t len, int64_t seed) {
-    const int block_count = len >> 4;  // as 128-bit blocks
-    int64_t h1 = seed;
-    int64_t h2 = seed;
-    int64_t c1 = 0x87c37b91114253d5L;
-    int64_t c2 = 0x4cf5ad432745937fL;
-
-    for (int i = 0; i < block_count; i++) {
-        int64_t k1 = get_block(buf, i * 2);
-        int64_t k2 = get_block(buf, i * 2 + 1);
-        k1 *= c1;
-        k1 = rotl64(k1, 31);
-        k1 *= c2;
-        h1 ^= k1;
-        h1 = rotl64(h1, 27);
-        h1 += h2;
-        h1 = h1 * 5 + 0x52dce729;
-        k2 *= c2;
-        k2 = rotl64(k2, 33);
-        k2 *= c1;
-        h2 ^= k2;
-        h2 = rotl64(h2, 31);
-        h2 += h1;
-        h2 = h2 * 5 + 0x38495ab5;
-    }
-
-    int offset = block_count * 16;
-    int64_t k1 = 0;
-    int64_t k2 = 0;
-    switch (len & 15) {
-        case 15:
-            k2 ^= ((int64_t)(buf[offset + 14])) << 48;
-            // fallthrough
-        case 14:
-            k2 ^= ((int64_t)(buf[offset + 13])) << 40;
-            // fallthrough
-        case 13:
-            k2 ^= ((int64_t)(buf[offset + 12])) << 32;
-            // fallthrough
-        case 12:
-            k2 ^= ((int64_t)(buf[offset + 11])) << 24;
-            // fallthrough
-        case 11:
-            k2 ^= ((int64_t)(buf[offset + 10])) << 16;
-            // fallthrough
-        case 10:
-            k2 ^= ((int64_t)(buf[offset + 9])) << 8;
-            // fallthrough
-        case 9:
-            k2 ^= buf[offset + 8];
-            k2 *= c2;
-            k2 = rotl64(k2, 33);
-            k2 *= c1;
-            h2 ^= k2;
-            // fallthrough
-        case 8:
-            k1 ^= ((int64_t)buf[offset + 7]) << 56;
-            // fallthrough
-        case 7:
-            k1 ^= ((int64_t)buf[offset + 6]) << 48;
-            // fallthrough
-        case 6:
-            k1 ^= ((int64_t)buf[offset + 5]) << 40;
-            // fallthrough
-        case 5:
-            k1 ^= ((int64_t)buf[offset + 4]) << 32;
-            // fallthrough
-        case 4:
-            k1 ^= ((int64_t)buf[offset + 3]) << 24;
-            // fallthrough
-        case 3:
-            k1 ^= ((int64_t)buf[offset + 2]) << 16;
-            // fallthrough
-        case 2:
-            k1 ^= ((int64_t)buf[offset + 1]) << 8;
-            // fallthrough
-        case 1:
-            k1 ^= buf[offset];
-            k1 *= c1;
-            k1 = rotl64(k1, 31);
-            k1 *= c2;
-            h1 ^= k1;
-            break;
-        default:  // 0
-            // do nothing
-            break;
-    }
-
-    h1 ^= len;
-    h2 ^= len;
-    h1 += h2;
-    h2 += h1;
-    h1 = fmix(h1);
-    h2 = fmix(h2);
-    h1 += h2;
-    h2 += h1;
-    return h1 + h2;
-}
-
-int64_t Murmur128Hash::get_block(const char *buf, int32_t index) {
-    int block_offset = index << 3;
-    int64_t res = 0;
-    res += ((int64_t)(buf[block_offset + 0] & 0xFF));
-    res += (((int64_t)(buf[block_offset + 1] & 0xFF)) << 8);
-    res += (((int64_t)(buf[block_offset + 2] & 0xFF)) << 16);
-    res += (((int64_t)(buf[block_offset + 3] & 0xFF)) << 24);
-    res += (((int64_t)(buf[block_offset + 4] & 0xFF)) << 32);
-    res += (((int64_t)(buf[block_offset + 5] & 0xFF)) << 40);
-    res += (((int64_t)(buf[block_offset + 6] & 0xFF)) << 48);
-    res += (((int64_t)(buf[block_offset + 7] & 0xFF)) << 56);
-    return res;
-}
-
-}  // end namespace common
\ No newline at end of file
diff --git a/cpp/src/common/container/murmur_hash3.h b/cpp/src/common/container/murmur_hash3.h
deleted file mode 100644
index 1e2bf44ba..000000000
--- a/cpp/src/common/container/murmur_hash3.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_MURMUR3_MURMUR_HASH3_H
-#define COMMON_CONTAINER_MURMUR3_MURMUR_HASH3_H
-
-#include <string>
-
-#include "common/allocator/my_string.h"
-#include "utils/db_utils.h"
-
-namespace common {
-
-/*
- * Murmur128Hash has to follow the logic in Java IoTDB,
- * since the bitmap buffer will be serialized to tsfile.
- */
-class Murmur128Hash {
-   public:
-    FORCE_INLINE static int32_t hash(int32_t value, uint32_t seed) {
-        return inner_hash(reinterpret_cast<const char *>(&value), 4, seed);
-    }
-
-    FORCE_INLINE static int32_t hash(int64_t value, uint32_t seed) {
-        return inner_hash(reinterpret_cast<const char *>(&value), 8, seed);
-    }
-
-    FORCE_INLINE static int32_t hash(double value, uint32_t seed) {
-        return inner_hash(reinterpret_cast<const char *>(&value), 8, seed);
-    }
-
-    FORCE_INLINE static int32_t hash(std::string &value, uint32_t seed) {
-        return inner_hash(value.data(), static_cast<uint32_t>(value.size()),
-                          seed);
-    }
-
-    FORCE_INLINE static int32_t hash(const common::String &buf, int32_t seed) {
-        return inner_hash(buf.buf_, buf.len_ - 1, seed);
-    }
-
-   private:
-    FORCE_INLINE static int64_t rotl64(int64_t v, int n) {
-        uint64_t uv = (uint64_t)v;
-        return ((uv << n) | (uv >> (64 - n)));
-    }
-    FORCE_INLINE static int64_t fmix(int64_t k) {
-        uint64_t uk = (uint64_t)k;
-        uk ^= uk >> 33;
-        uk *= 0xff51afd7ed558ccdL;
-        uk ^= uk >> 33;
-        uk *= 0xc4ceb9fe1a85ec53L;
-        uk ^= uk >> 33;
-        return (int64_t)uk;
-    }
-    static int64_t get_block(const char *buf, int32_t index);
-    static int64_t inner_hash(const char *buf, int32_t len, int64_t seed);
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_MURMUR3_MURMUR_HASH3_H
diff --git a/cpp/src/common/container/simple_vector.h b/cpp/src/common/container/simple_vector.h
deleted file mode 100644
index 77b2d9516..000000000
--- a/cpp/src/common/container/simple_vector.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_VECTOR_H
-#define COMMON_CONTAINER_VECTOR_H
-
-#include <vector>
-
-#include "utils/util_define.h"
-
-namespace common {
-
-template <typename T>
-class SimpleVector {
-   public:
-    SimpleVector() : std_vec_(), size_(0) {}
-    void push_back(T t) {
-        if (LIKELY(size_ < STACKED_ITEM_COUNT)) {
-            stacked_items_[size_] = t;
-        } else {
-            std_vec_.push_back(t);
-        }
-        size_++;
-    }
-    size_t size() { return size_; }
-    T operator[](int index) {
-        if (UNLIKELY((size_t)index > size_)) {
-            abort();
-        }
-        if (index < STACKED_ITEM_COUNT) {
-            return stacked_items_[index];
-        } else {
-            return std_vec_[index - STACKED_ITEM_COUNT];
-        }
-    }
-
-   private:
-    static const int STACKED_ITEM_COUNT = 16;
-    T stacked_items_[STACKED_ITEM_COUNT];
-    std::vector<T> std_vec_;
-    size_t size_;
-};
-
-}  // end namespace common
-#endif
diff --git a/cpp/src/common/container/slice.h b/cpp/src/common/container/slice.h
deleted file mode 100644
index 4f678d782..000000000
--- a/cpp/src/common/container/slice.h
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-#ifndef COMMON_CONTAINER_SLICE_H
-#define COMMON_CONTAINER_SLICE_H
-
-#include <cassert>
-#include <cstddef>
-#include <cstring>
-#include <string>
-
-#include "common/allocator/alloc_base.h"
-#include "common/logger/elog.h"
-#include "utils/errno_define.h"
-#include "utils/util_define.h"
-
-namespace common {
-
-class Slice {
-   public:
-    // Create an empty slice.
-    // Slice() : data_(""), size_(0) {}
-    Slice() {
-        data_ = nullptr;
-        size_ = 0;
-    }
-
-    // Create a slice that refers to the contents of "s"
-    // Slice(const std::string& s) : data_(s.data()), size_(s.size()) {}
-    Slice(const std::string &s) {
-        int len = s.size();
-        data_ = (char *)malloc(len + 1);  // TODO: user ourself's mem_alloc()
-        if (UNLIKELY(nullptr == data_)) {
-            // log_err("malloc() failed.");
-        }
-        strcpy(data_, s.c_str());
-        size_ = len;
-    }
-
-    // Create a slice that refers to s[0,strlen(s)-1]
-    // Slice(const char* s) : data_(s), size_(strlen(s)) {}
-    Slice(const char *s) {
-        int len = strlen(s);
-        data_ = (char *)malloc(len + 1);  // TODO: user ourself's mem_alloc()
-        if (UNLIKELY(nullptr == data_)) {
-            // log_err("malloc() failed.");
-        }
-        strcpy(data_, s);
-        size_ = len;
-    }
-
-    ~Slice() {
-        free(data_);  // TODO: user ourself's mem_free()
-        data_ = nullptr;
-        size_ = 0;
-    }
-
-    // Intentionally copyable.
-    // Slice(const Slice&) = default;
-    // Slice& operator=(const Slice&) = default;
-    Slice(const Slice &other) {
-        int len = other.size_;
-        data_ = (char *)malloc(len + 1);  // TODO: user ourself's mem_alloc()
-        if (UNLIKELY(nullptr == data_)) {
-            // log_err("malloc() failed.");
-        }
-        strcpy(data_, other.data_);
-        size_ = len;
-    }
-    Slice &operator=(const Slice &other) {
-        if (this->data_ != nullptr) {
-            free(data_);  // TODO: user ourself's mem_free()
-            data_ = nullptr;
-        }
-        int len = other.size_;
-        this->data_ =
-            (char *)malloc(len + 1);  // TODO: user ourself's mem_alloc()
-        if (UNLIKELY(nullptr == data_)) {
-            // log_err("malloc() failed.");
-        }
-        strcpy(this->data_, other.data_);
-        this->size_ = len;
-        return *this;
-    }
-
-    // Return a pointer to the beginning of the referenced data
-    char *data() const { return data_; }
-
-    // Return the length (in bytes) of the referenced data
-    size_t size() const { return size_; }
-
-    // Return true iff the length of the referenced data is zero
-    bool empty() const { return size_ == 0; }
-
-    // Return the ith byte in the referenced data.
-    char operator[](size_t n) const {
-        ASSERT(n < size());
-        return data_[n];
-    }
-
-    // Return a string that contains the copy of the referenced data.
-    std::string to_string() const { return std::string(data_, size_); }
-
-    friend bool operator==(const Slice &x, const Slice &y) {
-        return ((x.size() == y.size()) &&
-                (memcmp(x.data(), y.data(), x.size()) == 0));
-    }
-
-    friend bool operator!=(const Slice &x, const Slice &y) { return !(x == y); }
-
-    // Three-way comparison.  Returns value:
-    //   <  0 iff "*this" <  "b",
-    //   == 0 iff "*this" == "b",
-    //   >  0 iff "*this" >  "b"
-    int compare(const Slice &b) const {
-        const size_t min_len = (size_ < b.size_) ? size_ : b.size_;
-        int r = memcmp(data_, b.data_, min_len);
-        if (r == 0) {
-            if (size_ < b.size_)
-                r = -1;
-            else if (size_ > b.size_)
-                r = +1;
-        }
-        return r;
-    }
-
-   private:
-    char *data_;
-    size_t size_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_SLICE_H
diff --git a/cpp/src/common/container/sorted_array.h b/cpp/src/common/container/sorted_array.h
deleted file mode 100644
index 175f96374..000000000
--- a/cpp/src/common/container/sorted_array.h
+++ /dev/null
@@ -1,329 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * License); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-/*
- * no duplicated elements
- */
-#ifndef COMMON_CONTAINER_SORTEDARRAY_H
-#define COMMON_CONTAINER_SORTEDARRAY_H
-
-#include <stdint.h>
-
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-#include <iostream>
-
-#include "common/allocator/alloc_base.h"
-#include "common/logger/elog.h"
-#include "utils/errno_define.h"
-#include "utils/util_define.h"
-
-#define SORTED_ARRAY_INIT_CAPACITY 1000   // TODO: configurable mode
-#define SORTED_ARRAY_GROWTH_THRESHOLD 50  // TODO: configurable mode
-#define SORTED_ARRAY_SHRINK_THRESHOLD 50  // TODO: configurable mode
-
-namespace common {
-
-template <class ValueType>
-class SortedArray {
-   public:
-#ifndef NDEBUG
-    friend std::ostream &operator<<(std::ostream &out,
-                                    SortedArray<ValueType> &sa) {
-        for (size_t idx = 0; idx < sa.size(); idx++) {
-            if (idx > 0) {
-                out << ' ';
-            }
-            out << sa.at(idx);
-        }
-        out << std::endl;
-        return out;
-    }
-#endif  // NDEBUG
-
-    SortedArray() {
-        capacity_ = SORTED_ARRAY_INIT_CAPACITY;
-        size_ = 0;
-        is_inited_ = false;
-        array_ = nullptr;
-    }
-
-    SortedArray(size_t capacity) {
-        capacity_ = capacity;
-        size_ = 0;
-        is_inited_ = false;
-        array_ = nullptr;
-    }
-
-    ~SortedArray() {
-        if (is_inited_) {
-            destroy();
-        }
-        capacity_ = 0;
-        size_ = 0;
-    }
-
-    // int deep_copy(const SortedArray &other)
-    // {
-    //   this->capacity_ = other.capacity_;
-    //   this->size_ = other.size_;
-    //   if (init() == E_OK) {
-    //     memcpy(this->array_, other.array_, this->capacity_ *
-    //     sizeof(*(this->array_))); return E_OK;
-    //   }
-    //   return E_OOM;
-    // }
-
-    int init() {
-        if (is_inited_) {
-            // log_err("init repeated.");
-            ASSERT(!is_inited_);
-        }
-        array_ =
-            (ValueType *)mem_alloc(capacity_ * sizeof(*(array_)), MOD_ARRAY);
-        if (UNLIKELY(nullptr == array_)) {
-            is_inited_ = false;
-            // log_err("malloc failed.");
-            return E_OOM;
-        }
-        is_inited_ = true;
-        return E_OK;
-    }
-
-    void destroy() {
-        capacity_ = 0;
-        size_ = 0;
-        if (is_inited_) {
-            mem_free(array_);
-            array_ = nullptr;
-        }
-        is_inited_ = false;
-    }
-
-   private:
-    static size_t linear_calc(size_t input) {
-        if (input < SORTED_ARRAY_GROWTH_THRESHOLD) {
-            return input;
-        }
-        size_t res = 1;
-        input /= 10;
-        while (input) {
-            input /= 10;
-            res *= 10;
-        }
-        return res;
-    }
-
-    int extend() {
-        // Check for a potential overflow
-        uint64_t tmp = (uint64_t)(linear_calc(capacity_) + capacity_);
-        if (tmp > SIZE_MAX) {
-            // log_err("size overflow.");
-            return E_OVERFLOW;
-        }
-
-        size_t new_capacity = (size_t)tmp;
-        array_ =
-            (ValueType *)mem_realloc(array_, new_capacity * sizeof(*(array_)));
-        if (UNLIKELY(nullptr == array_)) {
-            // log_err("realloc failed.");
-            return E_OOM;
-        }
-        capacity_ = new_capacity;
-        return E_OK;
-    }
-
-    int shrink() {
-        size_t new_capacity = (size_t)(capacity_ / 2);
-        // if the size passed to realloc is smaller than before, OS will
-        // automatically release the rest memory
-        array_ = (ValueType *)mem_realloc(
-            array_,
-            new_capacity *
-                sizeof(*(array_)));  // TODO: user ourself's mem_alloc()
-        if (UNLIKELY(nullptr == array_)) {
-            // log_err("malloc failed.");
-            return E_OOM;
-        }
-        capacity_ = new_capacity;
-        return E_OK;
-    }
-
-   public:
-    int insert(const ValueType &value) {
-        if (size_ >= capacity_) {
-            int ret = extend();
-            if (ret != E_OK) {
-                return ret;
-            }
-        }
-
-        bool found = false;
-        size_t pos = find(value, found);
-        if (found) {
-            // log_warn("the new value has already in the sorted array.");
-            return E_ALREADY_EXIST;
-        }
-
-        if (pos == size_) {
-            array_[pos] = value;
-            size_++;
-            return E_OK;
-        }
-
-        memmove(array_ + (pos + 1), array_ + pos,
-                (size_ - pos) * sizeof(*(array_)));
-        array_[pos] = value;
-        size_++;
-        return E_OK;
-    }
-
-    FORCE_INLINE ValueType at(size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-            return dummy_;
-        }
-        return array_[idx];
-    }
-
-    FORCE_INLINE ValueType operator[](size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-            return dummy_;
-        }
-        return array_[idx];
-    }
-
-    bool contain(const ValueType &target_val) {
-        if (size_ == 0) {
-            return false;
-        }
-        int64_t left = 0;
-        int64_t right = size_ - 1;
-        while (left <= right) {
-            size_t mid = (left + right) / 2;
-            ValueType mid_val = array_[mid];
-            if (mid_val == target_val) {
-                return true;
-            } else if (mid_val < target_val) {
-                left = mid + 1;
-            } else if (mid_val > target_val) {
-                right = mid - 1;
-            }
-        }
-        return false;
-    }
-
-    /*
-     * if the value is not found, then set 'found' is false ant return the first
-     * bigger one's location
-     */
-    size_t find(const ValueType &target_val, bool &found) {
-        if (size_ == 0) {
-            found = false;
-            return 0;
-        }
-        int64_t left = 0;
-        int64_t right = size_ - 1;
-        while (left <= right) {
-            size_t mid = (left + right) / 2;
-            ValueType mid_val = array_[mid];
-            if (mid_val == target_val) {
-                found = true;
-                return mid;
-            } else if (mid_val < target_val) {
-                left = mid + 1;
-            } else if (mid_val > target_val) {
-                right = mid - 1;
-            }
-        }
-        found = false;
-        return (size_t)left;
-    }
-
-    ValueType remove(size_t idx) {
-        if (idx >= size_) {
-            // log_err("index %lu is out of range, because size is %lu.", idx,
-            // size_);
-            ASSERT(idx < size_);
-        }
-        if (capacity_ > SORTED_ARRAY_SHRINK_THRESHOLD &&
-            size_ <= capacity_ / 4) {
-            shrink();
-        }
-        ValueType ret = array_[idx];
-        memmove(array_ + idx, array_ + idx + 1,
-                (size_ - idx - 1) * sizeof(*(array_)));
-        size_--;
-
-        return ret;
-    }
-
-    int remove_value(const ValueType &value) {
-        bool found = false;
-        size_t pos = find(value, found);
-        if (found) {
-            remove(pos);
-        } else {
-            // log_warn("the value is not exist in the array.");
-            return E_NOT_EXIST;
-        }
-        return E_OK;
-    }
-
-    FORCE_INLINE void clear() { size_ = 0; }
-
-    ValueType get_min() {
-        if (size_ == 0) {
-            // log_warn("The array is empty now.");
-            ASSERT(size_ > 0);
-            return dummy_;
-        }
-        return array_[0];
-    }
-
-    ValueType &get_max() {
-        if (size_ == 0) {
-            // log_warn("The array is empty now.");
-            ASSERT(size_ > 0);
-            return dummy_;
-        }
-        return array_[size_ - 1];
-    }
-
-    FORCE_INLINE bool empty() const { return ATOMIC_LOAD(&size_) == 0; }
-
-    FORCE_INLINE size_t size() const { return ATOMIC_LOAD(&size_); }
-
-    FORCE_INLINE size_t capacity() const { return ATOMIC_LOAD(&capacity_); }
-
-   private:
-    size_t capacity_;
-    size_t size_;
-    ValueType *array_;
-    ValueType dummy_;
-    bool is_inited_;
-};
-
-}  // end namespace common
-#endif  // COMMON_CONTAINER_SORTEDARRAY_H
diff --git a/cpp/src/common/datatype/CMakeLists.txt b/cpp/src/common/datatype/CMakeLists.txt
deleted file mode 100644
index f7db3afcc..000000000
--- a/cpp/src/common/datatype/CMakeLists.txt
+++ /dev/null
... 291726 lines suppressed ...


(tsfile) 13/43: Add QuickStart-CPP.md

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 20165d88705ed806380600a900e3193ce99c9d9e
Author: Hongzhi Gao <76...@qq.com>
AuthorDate: Wed Mar 19 13:45:19 2025 +0800

    Add QuickStart-CPP.md
    
    * Add a user guide document for TsFile-CPP
    
    * fix some interfaces
    
    * fix docs
    
    * fix some interfaces
    
    * remove unused data struct
    
    * Add QuickStart-CPP.md
    
    * Add additional content to the user manual
---
 src/UserGuide/develop/QuickStart/QuickStart-CPP.md | 224 +++++++++++++++++++++
 .../UserGuide/develop/QuickStart/QuickStart-CPP.md | 223 ++++++++++++++++++++
 2 files changed, 447 insertions(+)

diff --git a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
new file mode 100644
index 000000000..cabdb3722
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -0,0 +1,224 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start
+
+## Dependencies
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## Installation Method
+
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+Note: If Maven is not installed, you can use mvnw on Linux or mvnw.cmd on Windows.
+
+### Directory Structure
+
+• **Include Directory**: Located at `tsfile/cpp/target/build/include`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
+
+• **Lib Directory**: At `tsfile/cpp/target/build/lib`, it holds compiled library files. Specify this path and library name when linking (e.g., using `-L` and `-l` flags).
+
+### CMake Integration
+Add to your CMakeLists.txt:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+Note: Set ${SDK_LIB} to your TSFile library directory.
+
+## Writing Process
+
+### Construct TsFileWriter
+
+```cpp
+    std::string file_name = "test.tsfile";
+    storage::libtsfile_init();
+
+    std::string table_name = "table1";
+
+    // Create a file with specify path to write tsfile.
+    storage::WriteFile file;
+    int flags = O_WRONLY | O_CREAT | O_TRUNC;
+#ifdef _WIN32
+    flags |= O_BINARY;
+#endif
+    mode_t mode = 0666;
+    file.create("test_cpp.tsfile", flags, mode);
+
+    // Create table schema to describe a table in a tsfile.
+    auto* schema = new storage::TableSchema(
+        table_name,
+        {
+            common::ColumnSchema("id1", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("id2", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("s1", common::INT64, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::FIELD),
+        });
+
+    // Create a file with specify path to write tsfile.
+    auto* writer = new storage::TsFileTableWriter(&file, schema);
+```
+
+### Write Data
+
+```cpp
+    // Create tablet to insert data.
+    storage::Tablet tablet(
+        table_name, {"id1", "id2", "s1"},
+        {common::STRING, common::STRING, common::INT64},
+        {common::ColumnCategory::TAG, common::ColumnCategory::TAG,
+         common::ColumnCategory::FIELD},
+        10);
+
+
+    for (int row = 0; row < 5; row++) {
+        long timestamp = row;
+        tablet.add_timestamp(row, timestamp);
+        tablet.add_value(row, "id1", "id1_filed_1");
+        tablet.add_value(row, "id2", "id1_filed_2");
+        tablet.add_value(row, "s1", static_cast<int64_t>(row));
+    }
+
+    // Write tablet data.
+    writer->write_table(tablet);
+
+    // Flush data
+    writer->flush();
+```
+
+### Close File
+
+```cpp
+    writer->close()
+```
+
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_write.cpp>
+
+## Query Process
+
+### Construct TsFileReader
+
+```cpp
+    int code = 0;
+    storage::libtsfile_init();
+    std::string table_name = "table1";
+
+    // Create tsfile reader and open tsfile with specify path.
+    storage::TsFileReader reader;
+    reader.open("test_cpp.tsfile");
+```
+
+### Construct Query Request
+
+```cpp
+    // Query data with tsfile reader.
+    storage::ResultSet* temp_ret = nullptr;
+    std::vector<std::string> columns;
+    columns.emplace_back("id1");
+    columns.emplace_back("id2");
+    columns.emplace_back("s1");
+
+    // Column vector contains the columns you want to select.
+    reader.query(table_name, columns, 0, 100, temp_ret);
+```
+
+### Query Data
+
+```cpp
+    // Get query handler.
+    auto ret = dynamic_cast<storage::TableResultSet*>(temp_ret);
+
+    // Metadata in query handler.
+    auto metadata = ret->get_metadata();
+    int column_num = metadata->get_column_count();
+    for (int i = 1; i <= column_num; i++) {
+        std::cout << "column name: " << metadata->get_column_name(i)
+                  << std::endl;
+        std::cout << "column type: "
+                  << std::to_string(metadata->get_column_type(i)) << std::endl;
+    }
+
+    // Check and get next data.
+    bool has_next = false;
+    while ((code = ret->next(has_next)) == common::E_OK && has_next) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp = ret->get_value<Timestamp>(1);
+        for (int i = 1; i <= column_num; i++) {
+            if (ret->is_null(i)) {
+                std::cout << "null" << std::endl;
+            } else {
+                switch (metadata->get_column_type(i)) {
+                    case common::BOOLEAN:
+                        std::cout << ret->get_value<bool>(i) << std::endl;
+                        break;
+                    case common::INT32:
+                        std::cout << ret->get_value<int32_t>(i) << std::endl;
+                        break;
+                    case common::INT64:
+                        std::cout << ret->get_value<int64_t>(i) << std::endl;
+                        break;
+                    case common::FLOAT:
+                        std::cout << ret->get_value<float>(i) << std::endl;
+                        break;
+                    case common::DOUBLE:
+                        std::cout << ret->get_value<double>(i) << std::endl;
+                        break;
+                    case common::STRING:
+                        std::cout << ret->get_value<common::String*>(i)
+                                         ->to_std_string()
+                                  << std::endl;
+                        break;
+                    default:;
+                }
+            }
+        }
+    }
+```
+
+### Close File
+
+```cpp
+    // Close query result set.
+    ret->close();
+    // Close reader.
+    reader.close();
+```
+
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
+
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
new file mode 100644
index 000000000..bb8e9432f
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -0,0 +1,223 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手
+
+## 依赖
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## 安装
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+注意:如果 Maven 没有安装,您可以在 Linux 上使用 `mvnw`,或者在 Windows 上使用 `mvnw.cmd`。
+
+### 目录结构
+
+• **​Include 目录**: 位于 `tsfile/cpp/target/build/include`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
+
+• **​Lib 目录**: 位于 `tsfile/cpp/target/build/lib`,存放编译后的库文件。链接时指定该路径和库名称(例如,使用 -L 和 -l 标志)。
+
+### CMake 集成
+在您的 CMakeLists.txt 中添加:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+注意:将 ${SDK_LIB} 设置为您的 TSFile 库目录。
+
+## 写入流程
+
+### 构造 TsFileWriter
+
+```cpp
+    std::string file_name = "test.tsfile";
+    storage::libtsfile_init();
+
+    std::string table_name = "table1";
+
+    // Create a file with specify path to write tsfile.
+    storage::WriteFile file;
+    int flags = O_WRONLY | O_CREAT | O_TRUNC;
+#ifdef _WIN32
+    flags |= O_BINARY;
+#endif
+    mode_t mode = 0666;
+    file.create("test_cpp.tsfile", flags, mode);
+
+    // Create table schema to describe a table in a tsfile.
+    auto* schema = new storage::TableSchema(
+        table_name,
+        {
+            common::ColumnSchema("id1", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("id2", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("s1", common::INT64, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::FIELD),
+        });
+
+    // Create a file with specify path to write tsfile.
+    auto* writer = new storage::TsFileTableWriter(&file, schema);
+```
+
+### 写入数据
+
+```cpp
+    // Create tablet to insert data.
+    storage::Tablet tablet(
+        table_name, {"id1", "id2", "s1"},
+        {common::STRING, common::STRING, common::INT64},
+        {common::ColumnCategory::TAG, common::ColumnCategory::TAG,
+         common::ColumnCategory::FIELD},
+        10);
+
+
+    for (int row = 0; row < 5; row++) {
+        long timestamp = row;
+        tablet.add_timestamp(row, timestamp);
+        tablet.add_value(row, "id1", "id1_filed_1");
+        tablet.add_value(row, "id2", "id1_filed_2");
+        tablet.add_value(row, "s1", static_cast<int64_t>(row));
+    }
+
+    // Write tablet data.
+    writer->write_table(tablet);
+
+    // Flush data
+    writer->flush();
+```
+
+### 关闭文件
+
+```cpp
+    writer->close()
+```
+
+### 示例代码
+
+使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_write.cpp>
+
+## 查询流程
+
+### 构造 TsFileReader
+
+```cpp
+    int code = 0;
+    storage::libtsfile_init();
+    std::string table_name = "table1";
+
+    // Create tsfile reader and open tsfile with specify path.
+    storage::TsFileReader reader;
+    reader.open("test_cpp.tsfile");
+```
+
+### 构造 Query Request
+
+```cpp
+    // Query data with tsfile reader.
+    storage::ResultSet* temp_ret = nullptr;
+    std::vector<std::string> columns;
+    columns.emplace_back("id1");
+    columns.emplace_back("id2");
+    columns.emplace_back("s1");
+
+    // Column vector contains the columns you want to select.
+    reader.query(table_name, columns, 0, 100, temp_ret);
+```
+
+### 查询数据
+
+```cpp
+    // Get query handler.
+    auto ret = dynamic_cast<storage::TableResultSet*>(temp_ret);
+
+    // Metadata in query handler.
+    auto metadata = ret->get_metadata();
+    int column_num = metadata->get_column_count();
+    for (int i = 1; i <= column_num; i++) {
+        std::cout << "column name: " << metadata->get_column_name(i)
+                  << std::endl;
+        std::cout << "column type: "
+                  << std::to_string(metadata->get_column_type(i)) << std::endl;
+    }
+
+    // Check and get next data.
+    bool has_next = false;
+    while ((code = ret->next(has_next)) == common::E_OK && has_next) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp = ret->get_value<Timestamp>(1);
+        for (int i = 1; i <= column_num; i++) {
+            if (ret->is_null(i)) {
+                std::cout << "null" << std::endl;
+            } else {
+                switch (metadata->get_column_type(i)) {
+                    case common::BOOLEAN:
+                        std::cout << ret->get_value<bool>(i) << std::endl;
+                        break;
+                    case common::INT32:
+                        std::cout << ret->get_value<int32_t>(i) << std::endl;
+                        break;
+                    case common::INT64:
+                        std::cout << ret->get_value<int64_t>(i) << std::endl;
+                        break;
+                    case common::FLOAT:
+                        std::cout << ret->get_value<float>(i) << std::endl;
+                        break;
+                    case common::DOUBLE:
+                        std::cout << ret->get_value<double>(i) << std::endl;
+                        break;
+                    case common::STRING:
+                        std::cout << ret->get_value<common::String*>(i)
+                                         ->to_std_string()
+                                  << std::endl;
+                        break;
+                    default:;
+                }
+            }
+        }
+    }
+```
+
+### 关闭文件
+
+```cpp
+    // Close query result set.
+    ret->close();
+    // Close reader.
+    reader.close();
+```
+
+### Sample Code
+
+使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
+


(tsfile) 21/43: Update Tsfile multilingual version (#555)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 9dc46cd179d3c7353c988f1f844294415857f697
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Tue Jul 22 16:09:46 2025 +0800

    Update Tsfile multilingual version (#555)
---
 src/.vuepress/sidebar/v2.x/en.ts                                        | 2 +-
 src/.vuepress/sidebar/v2.x/zh.ts                                        | 2 +-
 src/UserGuide/latest/QuickStart/{QuickStart-JAVA.md => QuickStart.md}   | 0
 .../UserGuide/latest/QuickStart/{QuickStart-JAVA.md => QuickStart.md}   | 0
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index 7fb59a6f0..486796662 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -40,7 +40,7 @@ export const enSidebar = {
       children: [
         { text: 'QuickStart-C', link: 'QuickStart-C' },
         { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
-        { text: 'QuickStart-JAVA', link: 'QuickStart-JAVA' },
+        { text: 'QuickStart-JAVA', link: 'QuickStart' },
         { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
       ],
       // prefix: 'QuickStart/',
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index 95bca71a5..fa215c90b 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -40,7 +40,7 @@ export const zhSidebar = {
       children: [
         { text: 'QuickStart-C', link: 'QuickStart-C' },
         { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
-        { text: 'QuickStart-JAVA', link: 'QuickStart-JAVA' },
+        { text: 'QuickStart-JAVA', link: 'QuickStart' },
         { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
       ],
       // prefix: 'QuickStart/',
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-JAVA.md b/src/UserGuide/latest/QuickStart/QuickStart.md
similarity index 100%
rename from src/UserGuide/latest/QuickStart/QuickStart-JAVA.md
rename to src/UserGuide/latest/QuickStart/QuickStart.md
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
similarity index 100%
rename from src/zh/UserGuide/latest/QuickStart/QuickStart-JAVA.md
rename to src/zh/UserGuide/latest/QuickStart/QuickStart.md


(tsfile) 09/43: Add a user guide document for TsFile-CPP (#403)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 503f00a5392284bfba294dd2205fcbecf371077b
Author: Hongzhi Gao <76...@qq.com>
AuthorDate: Wed Feb 26 12:02:17 2025 +0800

    Add a user guide document for TsFile-CPP (#403)
    
    * Add a user guide document for TsFile-CPP
    
    * fix some interfaces
    
    * fix docs
    
    * fix some interfaces
    
    * remove unused data struct
---
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 214 +++++++++++++++++++++
 .../InterfaceDefinition-Java.md}                   |   0
 2 files changed, 214 insertions(+)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
new file mode 100644
index 000000000..4153d4f42
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -0,0 +1,214 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface Definitions
+
+## Write Interface
+
+### TsFileTableWriter
+
+Used to write data to tsfile
+
+```cpp
+/**
+ * @brief Facilitates writing structured table data into a TsFile with a specified schema.
+ *
+ * The TsFileTableWriter class is designed to write structured data, particularly suitable for time-series data,
+ * into a file optimized for efficient storage and retrieval (referred to as TsFile here). It allows users to define
+ * the schema of the tables they want to write, add rows of data according to that schema, and serialize this data
+ * into a TsFile. Additionally, it provides options to limit memory usage during the writing process.
+ */
+class TsFileTableWriter {
+   public:
+    /**
+     * TsFileTableWriter is used to write table data into a target file with the given schema,
+     * optionally limiting the memory usage.
+     *
+     * @param writer_file Target file where the table data will be written. Must not be null.
+     * @param table_schema Used to construct table structures. Defines the schema of the table
+     *                     being written.
+     * @param memory_threshold Optional parameter used to limit the memory size of objects.
+     *                         If set to 0, no memory limit is enforced.
+     */
+    TsFileTableWriter(WriteFile* writer_file,
+                      TableSchema* table_schema,
+                      uint64_t memory_threshold = 0);
+    ~TsFileTableWriter();
+    /**
+     * Writes the given tablet data into the target file according to the schema.
+     *
+     * @param tablet The tablet containing the data to be written. Must not be null.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int write_table(const Tablet& tablet);
+    /**
+     * Flushes any buffered data to the underlying storage medium, ensuring all data is written out.
+     * This method ensures that all pending writes are persisted.
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int flush();
+    /**
+     * Closes the writer and releases any resources held by it.
+     * After calling this method, no further operations should be performed on this instance.
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int close();
+};
+```
+
+### TableSchema
+
+Describe the data structure of the table schema
+
+```cpp
+/**
+* @brief Represents the schema information for an entire table.
+*
+* This class holds the metadata necessary to describe how a specific table is structured,
+* including its name and the schemas of all its columns.
+*/
+class TableSchema {
+    public:
+    /**
+     * Constructs a TableSchema object with the given table name, column schemas, and column categories.
+     *
+     * @param table_name The name of the table. Must be a non-empty string.
+     *                   This name is used to identify the table within the system.
+     * @param column_schemas A vector containing ColumnSchema objects.
+     *                       Each ColumnSchema defines the schema for one column in the table.
+     */
+    TableSchema(const std::string& table_name,
+                const std::vector<ColumnSchema>& column_schemas);
+};
+
+
+/**
+* @brief Represents the schema information for a single column.
+*
+* This structure holds the metadata necessary to describe how a specific column is stored,
+* including its name, data type, category.
+*/
+struct ColumnSchema {
+    std::string column_name_;
+    common::TSDataType data_type_;
+    ColumnCategory column_category_;
+
+    /**
+     * @brief Constructs a ColumnSchema object with the given parameters.
+     *
+     * @param column_name The name of the column. Must be a non-empty string.
+     *                    This name is used to identify the column within the table.
+     * @param data_type The data type of the measurement, such as INT32, DOUBLE, TEXT, etc.
+     *                  This determines how the data will be stored and interpreted.
+     * @param column_category The category of the column indicating its role or type
+     *                        within the schema, e.g., FIELD, TAG.
+     *                        Defaults to ColumnCategory::FIELD if not specified.
+     * @note It is the responsibility of the caller to ensure that `column_name` is not empty.
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
+                                                                           data_type_(data_type),
+                                                                           column_category_(column_category) {
+    }
+};
+
+/**
+ * @brief Represents the data type of a measurement.
+ *
+ * This enumeration defines the supported data types for measurements in the system.
+ */
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    STRING = 11
+};
+
+```
+
+### Tablet
+
+Write column memory structure
+
+```cpp
+/**
+ * @brief Represents a collection of data rows with associated metadata for insertion into a table.
+ *
+ * This class is used to manage and organize data that will be inserted into a specific target table.
+ * It handles the storage of timestamps and values, along with their associated metadata such as column names and types.
+ */
+class Tablet {
+public:
+    /**
+     * @brief Constructs a Tablet object with the given parameters.
+     *
+     * @param column_names A vector containing the names of the columns in the tablet.
+     *                     Each name corresponds to a column in the target table.
+     * @param data_types A vector containing the data types of each column.
+     *                   These must match the schema of the target table.
+     * @param max_rows The maximum number of rows that this tablet can hold. Defaults to DEFAULT_MAX_ROWS.
+     */
+    Tablet(const std::vector<std::string> &column_names,
+           const std::vector<common::TSDataType> &data_types,
+           int max_rows = DEFAULT_MAX_ROWS);
+
+    /**
+     * @brief Adds a timestamp to the specified row.
+     *
+     * @param row_index The index of the row to which the timestamp will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param timestamp The timestamp value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int add_timestamp(uint32_t row_index, int64_t timestamp);
+
+    /**
+     * @brief Template function to add a value of type T to the specified row and column.
+     *
+     * @tparam T The type of the value to add.
+     * @param row_index The index of the row to which the value will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param schema_index The index of the column schema corresponding to the value being added.
+     * @param val The value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, uint32_t schema_index, T val);
+
+    /**
+     * @brief Template function to add a value of type T to the specified row and column by name.
+     *
+     * @tparam T The type of the value to add.
+     * @param row_index The index of the row to which the value will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param measurement_name The name of the column to which the value will be added.
+     *                         Must match one of the column names provided during construction.
+     * @param val The value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, const std::string &measurement_name, T val);
+};
+```
\ No newline at end of file
diff --git a/src/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
similarity index 100%
rename from src/UserGuide/develop/QuickStart/Interface-Definitions.md
rename to src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md


(tsfile) 23/43: Update 2.1.1 downloads (#573)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 9a334d8df5aad7c49e5827ee5cb68af5d6a0d14e
Author: Haonan <hh...@outlook.com>
AuthorDate: Mon Aug 18 11:47:38 2025 +0800

    Update 2.1.1 downloads (#573)
---
 src/Download/README.md    | 14 +++++++-------
 src/zh/Download/README.md | 12 ++++++------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index 917839a6f..572e4a6ed 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -21,16 +21,16 @@
 
 # Releases Version
 
-| Version  | Dependency                                                                    | Sources                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                         | IoTDB adap [...]
-| ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
-| 2.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.1.0) | IoTDB V2.x |
-| 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
+| Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                    | IoTDB adaptation ver [...]
+|---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| -------------------- [...]
+| 2.1.1   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
+| 1.1.0   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
 Our GitHub page: https://github.com/apache/tsfile
 
-The latest version of TsFile is 2.1.0.
+The latest version of TsFile is 2.1.1.
 
 Downloading it from the [Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -40,8 +40,8 @@ Add the following dependency section to your pom.xml:
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.1.0</version>
+   <version>2.1.1</version>
  </dependency>
 ```
 
-The release note of 2.1.0 can be found in the Archives of the Apache Software Foundation: https://github.com/apache/tsfile/releases/tag/v2.1.0
\ No newline at end of file
+The release note of 2.1.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md
\ No newline at end of file
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index df01f8e3d..a3c37ca84 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -21,9 +21,9 @@
 
 # 发行版本
 
-| 版本  | 依赖引用                                                                    | 源代码                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                         [...]
-| ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
-| 2.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.1.0) | IoTDB V2.x |
+| 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                     [...]
+|-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------- | -------------------------- [...]
+| 2.1.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
 | 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
@@ -32,7 +32,7 @@
 
 GitHub 仓库地址:https://github.com/apache/tsfile
 
-最新版本是2.1.0。
+最新版本是2.1.1。
 
 点击 Maven 仓库地址下载:[Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -42,8 +42,8 @@ GitHub 仓库地址:https://github.com/apache/tsfile
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.1.0</version>
+   <version>2.1.1</version>
  </dependency>
 ```
 
-该版本的特性可点击查看: https://github.com/apache/tsfile/releases/tag/v2.1.0
+该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md


(tsfile) 12/43: Update .htaccess for enable algolia

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 9afef0d72204d3031b0ed663971702f8d07aa5ab
Author: CritasWang <cr...@outlook.com>
AuthorDate: Wed Mar 12 10:35:02 2025 +0800

    Update .htaccess  for enable algolia
---
 src/.vuepress/public/.htaccess | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/.vuepress/public/.htaccess b/src/.vuepress/public/.htaccess
new file mode 100644
index 000000000..c8284f1c8
--- /dev/null
+++ b/src/.vuepress/public/.htaccess
@@ -0,0 +1,9 @@
+RewriteEngine On
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule . /404.html [L]
+
+ErrorDocument 404 /404.html
+
+Header set Content-Security-Policy "default-src data: blob: 'self' *.apache.org *.githubusercontent.com *.github.com *.algolia.net *.algolianet.com *.apachecon.com *.communityovercode.org 'unsafe-inline' 'unsafe-eval'; frame-src 'self' data: blob:; frame-ancestors 'self'; worker-src 'self' data: blob:; img-src 'self' blob: data: https: *.apache.org www.apachecon.com; style-src 'self' 'unsafe-inline' data:;"


(tsfile) 31/43: add to_dataframe. (#674)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 8c668bbdc361d3a3de26d274dfacadf60ce3340e
Author: Colin Lee <10...@users.noreply.github.com>
AuthorDate: Wed Dec 24 10:06:17 2025 +0800

    add to_dataframe. (#674)
    
    * add to_dataframe.
    
    * update py datatype.
---
 .../InterfaceDefinition-Python.md                  | 74 ++++++++++++++++++++++
 .../develop/QuickStart/QuickStart-PYTHON.md        |  9 +++
 .../InterfaceDefinition-Python.md                  | 73 +++++++++++++++++++++
 .../latest/QuickStart/QuickStart-PYTHON.md         |  9 +++
 .../InterfaceDefinition-Python.md                  | 72 +++++++++++++++++++++
 .../develop/QuickStart/QuickStart-PYTHON.md        |  9 +++
 .../InterfaceDefinition-Python.md                  | 72 +++++++++++++++++++++
 .../latest/QuickStart/QuickStart-PYTHON.md         | 11 ++++
 8 files changed, 329 insertions(+)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 4798efad6..2ed66d8f5 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -34,6 +34,9 @@ class TSDataType(IntEnum):
     FLOAT = 3
     DOUBLE = 4
     TEXT = 5
+    TIMESTAMP = 8
+    DATE = 9
+    BLOB = 10
     STRING = 11
 
 class ColumnCategory(IntEnum):
@@ -280,3 +283,74 @@ class ResultSet:
     def close(self)
 ```
 
+
+### to_dataframe
+
+```python
+
+def to_dataframe(file_path: str,
+                 table_name: Optional[str] = None,
+                 column_names: Optional[list[str]] = None,
+                 start_time: Optional[int] = None,
+                 end_time: Optional[int] = None,
+                 max_row_num: Optional[int] = None,
+                 as_iterator: bool = False) -> Union[pd.DataFrame, Iterator[pd.DataFrame]]:
+
+    """
+       Read data from a TsFile and convert it into a Pandas DataFrame or
+       an iterator of DataFrames.
+
+       This function supports both table-model and tree-model TsFiles.
+       Users can filter data by table name, column names, time range,
+       and maximum number of rows.
+
+       Parameters
+       ----------
+       file_path : str
+           Path to the TsFile to be read.
+
+       table_name : Optional[str], default None
+           Name of the table to query in table-model TsFiles.
+           If None and the file is in table model, the first table
+           found in the schema will be used.
+
+       column_names : Optional[list[str]], default None
+           List of column names to query.
+           - If None, all columns will be returned.
+           - Column existence will be validated in table-model TsFiles.
+
+       start_time : Optional[int], default None
+           Start timestamp for the query.
+           If None, the minimum int64 value is used.
+
+       end_time : Optional[int], default None
+           End timestamp for the query.
+           If None, the maximum int64 value is used.
+
+       max_row_num : Optional[int], default None
+           Maximum number of rows to read.
+           - If None, all available rows will be returned.
+           - When `as_iterator` is False, the final DataFrame will be
+             truncated to this size if necessary.
+
+       as_iterator : bool, default False
+           Whether to return an iterator of DataFrames instead of
+           a single concatenated DataFrame.
+           - True: returns an iterator yielding DataFrames in batches
+           - False: returns a single Pandas DataFrame
+
+       Returns
+       -------
+       Union[pandas.DataFrame, Iterator[pandas.DataFrame]]
+           - A Pandas DataFrame if `as_iterator` is False
+           - An iterator of Pandas DataFrames if `as_iterator` is True
+
+       Raises
+       ------
+       TableNotExistError
+           If the specified table name does not exist in a table-model TsFile.
+
+       ColumnNotExistError
+           If any specified column does not exist in the table schema.
+       """
+```
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 30207bb5e..e748ed509 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -148,6 +148,15 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
+use `to_dataframe` to read tsfile as dataframe.
+
+```Python
+import os
+import tsfile as ts
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+print(ts.to_dataframe(table_data_dir))
+```
+
 ## Sample Code
 
 The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 4798efad6..849f1c000 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -34,6 +34,9 @@ class TSDataType(IntEnum):
     FLOAT = 3
     DOUBLE = 4
     TEXT = 5
+    TIMESTAMP = 8
+    DATE = 9
+    BLOB = 10
     STRING = 11
 
 class ColumnCategory(IntEnum):
@@ -280,3 +283,73 @@ class ResultSet:
     def close(self)
 ```
 
+### to_dataframe
+
+```python
+
+def to_dataframe(file_path: str,
+                 table_name: Optional[str] = None,
+                 column_names: Optional[list[str]] = None,
+                 start_time: Optional[int] = None,
+                 end_time: Optional[int] = None,
+                 max_row_num: Optional[int] = None,
+                 as_iterator: bool = False) -> Union[pd.DataFrame, Iterator[pd.DataFrame]]:
+
+    """
+       Read data from a TsFile and convert it into a Pandas DataFrame or
+       an iterator of DataFrames.
+
+       This function supports both table-model and tree-model TsFiles.
+       Users can filter data by table name, column names, time range,
+       and maximum number of rows.
+
+       Parameters
+       ----------
+       file_path : str
+           Path to the TsFile to be read.
+
+       table_name : Optional[str], default None
+           Name of the table to query in table-model TsFiles.
+           If None and the file is in table model, the first table
+           found in the schema will be used.
+
+       column_names : Optional[list[str]], default None
+           List of column/measurement names to query.
+           - If None, all columns will be returned.
+           - Column existence will be validated in table-model TsFiles.
+
+       start_time : Optional[int], default None
+           Start timestamp for the query.
+           If None, the minimum int64 value is used.
+
+       end_time : Optional[int], default None
+           End timestamp for the query.
+           If None, the maximum int64 value is used.
+
+       max_row_num : Optional[int], default None
+           Maximum number of rows to read.
+           - If None, all available rows will be returned.
+           - When `as_iterator` is False, the final DataFrame will be
+             truncated to this size if necessary.
+
+       as_iterator : bool, default False
+           Whether to return an iterator of DataFrames instead of
+           a single concatenated DataFrame.
+           - True: returns an iterator yielding DataFrames in batches
+           - False: returns a single Pandas DataFrame
+
+       Returns
+       -------
+       Union[pandas.DataFrame, Iterator[pandas.DataFrame]]
+           - A Pandas DataFrame if `as_iterator` is False
+           - An iterator of Pandas DataFrames if `as_iterator` is True
+
+       Raises
+       ------
+       TableNotExistError
+           If the specified table name does not exist in a table-model TsFile.
+
+       ColumnNotExistError
+           If any specified column does not exist in the table schema.
+       """
+```
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 30207bb5e..9aa9e5710 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -148,6 +148,15 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
+Use `to_dataframe` to read tsfile as dataframe.
+
+```Python
+import os
+import tsfile as ts
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+print(ts.to_dataframe(table_data_dir))
+```
+
 ## Sample Code
 
 The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 7143a5839..60515bff4 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -33,6 +33,9 @@ class TSDataType(IntEnum):
     FLOAT = 3
     DOUBLE = 4
     TEXT = 5
+    TIMESTAMP = 8
+    DATE = 9
+    BLOB = 10
     STRING = 11
 
 class ColumnCategory(IntEnum):
@@ -262,3 +265,72 @@ class ResultSet:
 
 ```
 
+### to_dataframe
+
+```Python
+
+def to_dataframe(file_path: str,
+                 table_name: Optional[str] = None,
+                 column_names: Optional[list[str]] = None,
+                 start_time: Optional[int] = None,
+                 end_time: Optional[int] = None,
+                 max_row_num: Optional[int] = None,
+                 as_iterator: bool = False) -> Union[pd.DataFrame, Iterator[pd.DataFrame]]:
+        """
+       从 TsFile 中读取数据,并将其转换为 Pandas DataFrame
+       或 DataFrame 迭代器。
+
+       该函数同时支持表模型(table-model)和树模型(tree-model)的 TsFile。
+       用户可以通过表名、列名、时间范围以及最大行数对数据进行过滤。
+
+       Parameters
+       ----------
+       file_path : str
+           要读取的 TsFile 文件路径。
+
+       table_name : Optional[str], default None
+           表模型 TsFile 中要查询的表名。
+           如果为 None 且文件为表模型,
+           将使用 schema 中找到的第一个表。
+
+       column_names : Optional[list[str]], default None
+           要查询的列名/测点名列表。
+           - 如果为 None,则返回所有列。
+           - 在表模型 TsFile 中会校验列是否存在。
+
+       start_time : Optional[int], default None
+           查询的起始时间戳。
+           如果为 None,则使用 int64 的最小值。
+
+       end_time : Optional[int], default None
+           查询的结束时间戳。
+           如果为 None,则使用 int64 的最大值。
+
+       max_row_num : Optional[int], default None
+           读取的最大行数。
+           - 如果为 None,则返回所有可用数据。
+           - 当 `as_iterator` 为 False 时,
+             若结果行数超过该值,DataFrame 将被截断。
+
+       as_iterator : bool, default False
+           是否返回 DataFrame 迭代器,而不是单个合并后的 DataFrame。
+           - True:返回按批次生成 DataFrame 的迭代器
+           - False:返回单个 Pandas DataFrame
+
+       Returns
+       -------
+       Union[pandas.DataFrame, Iterator[pandas.DataFrame]]
+           - 当 `as_iterator` 为 False 时,返回 Pandas DataFrame
+           - 当 `as_iterator` 为 True 时,返回 Pandas DataFrame 迭代器
+
+       Raises
+       ------
+       TableNotExistError
+           当指定的表名在表模型 TsFile 中不存在时抛出。
+
+       ColumnNotExistError
+           当指定的列在表结构中不存在时抛出。
+    """
+
+```
+
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index b3aad5224..543333e25 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -149,6 +149,15 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
+使用 `to_dataframe` 读取 TsFile 为 Dataframe.
+
+```Python
+import os
+import tsfile as ts
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+print(ts.to_dataframe(table_data_dir))
+```
+
 ## 示例代码
 
 使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 7143a5839..08a4b2f6c 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -33,6 +33,9 @@ class TSDataType(IntEnum):
     FLOAT = 3
     DOUBLE = 4
     TEXT = 5
+    TIMESTAMP = 8
+    DATE = 9
+    BLOB = 10
     STRING = 11
 
 class ColumnCategory(IntEnum):
@@ -262,3 +265,72 @@ class ResultSet:
 
 ```
 
+
+### to_dataframe
+
+```Python
+
+def to_dataframe(file_path: str,
+                 table_name: Optional[str] = None,
+                 column_names: Optional[list[str]] = None,
+                 start_time: Optional[int] = None,
+                 end_time: Optional[int] = None,
+                 max_row_num: Optional[int] = None,
+                 as_iterator: bool = False) -> Union[pd.DataFrame, Iterator[pd.DataFrame]]:
+        """
+       从 TsFile 中读取数据,并将其转换为 Pandas DataFrame
+       或 DataFrame 迭代器。
+
+       该函数同时支持表模型(table-model)和树模型(tree-model)的 TsFile。
+       用户可以通过表名、列名、时间范围以及最大行数对数据进行过滤。
+
+       Parameters
+       ----------
+       file_path : str
+           要读取的 TsFile 文件路径。
+
+       table_name : Optional[str], default None
+           表模型 TsFile 中要查询的表名。
+           如果为 None 且文件为表模型,
+           将使用 schema 中找到的第一个表。
+
+       column_names : Optional[list[str]], default None
+           要查询的列名/测点名列表。
+           - 如果为 None,则返回所有列。
+           - 在表模型 TsFile 中会校验列是否存在。
+
+       start_time : Optional[int], default None
+           查询的起始时间戳。
+           如果为 None,则使用 int64 的最小值。
+
+       end_time : Optional[int], default None
+           查询的结束时间戳。
+           如果为 None,则使用 int64 的最大值。
+
+       max_row_num : Optional[int], default None
+           读取的最大行数。
+           - 如果为 None,则返回所有可用数据。
+           - 当 `as_iterator` 为 False 时,
+             若结果行数超过该值,DataFrame 将被截断。
+
+       as_iterator : bool, default False
+           是否返回 DataFrame 迭代器,而不是单个合并后的 DataFrame。
+           - True:返回按批次生成 DataFrame 的迭代器
+           - False:返回单个 Pandas DataFrame
+
+       Returns
+       -------
+       Union[pandas.DataFrame, Iterator[pandas.DataFrame]]
+           - 当 `as_iterator` 为 False 时,返回 Pandas DataFrame
+           - 当 `as_iterator` 为 True 时,返回 Pandas DataFrame 迭代器
+
+       Raises
+       ------
+       TableNotExistError
+           当指定的表名在表模型 TsFile 中不存在时抛出。
+
+       ColumnNotExistError
+           当指定的列在表结构中不存在时抛出。
+    """
+
+```
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index a4353d7f3..4d24c4109 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -149,6 +149,17 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
+
+使用 `to_dataframe` 读取 TsFile 为 Dataframe.
+
+```Python
+import os
+import tsfile as ts
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+print(ts.to_dataframe(table_data_dir))
+```
+
+
 ## 示例代码
 
 使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py


(tsfile) 42/43: update docs 2.3.0

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 4138c54b4fe1f2a46e6905f61420bef8434811bf
Author: 761417898 <76...@qq.com>
AuthorDate: Mon Apr 27 11:30:12 2026 +0800

    update docs 2.3.0
---
 src/UserGuide/develop/QuickStart/QuickStart-JAVA.md    | 2 +-
 src/UserGuide/latest/QuickStart/QuickStart.md          | 2 +-
 src/stage/QuickStart.md                                | 6 +++---
 src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md | 2 +-
 src/zh/UserGuide/latest/QuickStart/QuickStart.md       | 2 +-
 src/zh/stage/QuickStart.md                             | 6 +++---
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 5ccf42bd7..fa7b25eb5 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -33,7 +33,7 @@ Using TsFile API with Maven:
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.1.1</version>
+    <version>2.3.0</version>
 </dependency>
 ```
 
diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index 5ccf42bd7..fa7b25eb5 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -33,7 +33,7 @@ Using TsFile API with Maven:
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.1.1</version>
+    <version>2.3.0</version>
 </dependency>
 ```
 
diff --git a/src/stage/QuickStart.md b/src/stage/QuickStart.md
index 549362270..bb8f6928c 100644
--- a/src/stage/QuickStart.md
+++ b/src/stage/QuickStart.md
@@ -36,7 +36,7 @@ git clone https://github.com/apache/tsfile.git
 mvn clean package -Dmaven.test.skip=true
 ```
 
-Then, all the jars are in folder named `target/`. Import `target/tsfile-2.1.0.jar` to your project.
+Then, all the jars are in folder named `target/`. Import `target/tsfile-2.3.0.jar` to your project.
 	
 * Use as a maven dependency: 
 
@@ -60,7 +60,7 @@ Then, all the jars are in folder named `target/`. Import `target/tsfile-2.1.0.ja
   	 <dependency>
   	   <groupId>org.apache.tsfile</groupId>
   	   <artifactId>tsfile</artifactId>
-  	   <version>2.0.1</version>
+  	   <version>2.3.0</version>
   	 </dependency>
     ```
     
@@ -94,7 +94,7 @@ Then, all the jars are in folder named `target/`. Import `target/tsfile-2.1.0.ja
   	 <dependency>
   	   <groupId>org.apache.tsfile</groupId>
   	   <artifactId>tsfile</artifactId>
-  	   <version>2.0.1</version>
+  	   <version>2.3.0</version>
   	 </dependency>
     ```
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 36ec60d1c..336105192 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -33,7 +33,7 @@
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.1.1</version>
+    <version>2.3.0</version>
 </dependency>
 ```
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index 36ec60d1c..336105192 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -33,7 +33,7 @@
 <dependency>
     <groupId>org.apache.tsfile</groupId>
     <artifactId>tsfile</artifactId>
-    <version>2.1.1</version>
+    <version>2.3.0</version>
 </dependency>
 ```
 
diff --git a/src/zh/stage/QuickStart.md b/src/zh/stage/QuickStart.md
index fbe34ac93..9e60653d8 100644
--- a/src/zh/stage/QuickStart.md
+++ b/src/zh/stage/QuickStart.md
@@ -34,7 +34,7 @@ git clone https://github.com/apache/tsfile.git
 mvn clean package -Dmaven.test.skip=true
 ```
 
-命令执行完成之后,所有的 jar 包都可以从 `target/` 目录下找到。之后您可以在自己的工程中导入 `target/tsfile-2.1.0.jar`.
+命令执行完成之后,所有的 jar 包都可以从 `target/` 目录下找到。之后您可以在自己的工程中导入 `target/tsfile-2.3.0.jar`.
 	
 * 使用 Maven 依赖:
 
@@ -56,7 +56,7 @@ mvn clean install -Dmaven.test.skip=true
   	 <dependency>
   	   <groupId>org.apache.tsfile</groupId>
   	   <artifactId>tsfile</artifactId>
-  	   <version>2.0.1</version>
+  	   <version>2.3.0</version>
   	 </dependency>
     ```
 
@@ -90,7 +90,7 @@ mvn clean install -Dmaven.test.skip=true
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.0.1</version>
+   <version>2.3.0</version>
  </dependency>
  ```
 


(tsfile) 06/43: Fix interface definition document content errors (#406)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 30d737c71bd81d52d2ea1f70016e1f930d8dc826
Author: 肖林捷 <15...@users.noreply.github.com>
AuthorDate: Tue Feb 11 17:00:29 2025 +0800

    Fix interface definition document content errors (#406)
---
 src/UserGuide/develop/QuickStart/Interface-Definitions.md    | 4 ++--
 src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/UserGuide/develop/QuickStart/Interface-Definitions.md
index 8c08262c7..62ecdce66 100644
--- a/src/UserGuide/develop/QuickStart/Interface-Definitions.md
+++ b/src/UserGuide/develop/QuickStart/Interface-Definitions.md
@@ -174,7 +174,7 @@ interface ITsFileReader extends AutoCloseable {
 
 ### TsFileReaderBuilder
 
-Used to construct ITsFileWriter
+Used to construct ITsFileReader
 
 ```Java
 class TsFileReaderBuilder {
@@ -217,7 +217,7 @@ interface ResultSet extends AutoCloseable {
   boolean isNull(String columnName);  
   boolean isNull(int columnIndex);  
     
-  // Close the current structure set
+  // Close the current result set
   void close();
     
   // Obtain the header of the result set
diff --git a/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
index 09227a9de..d4072d3ac 100644
--- a/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
+++ b/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
@@ -157,7 +157,7 @@ interface ITsFileReader extends AutoCloseable {
 
 ### TsFileReaderBuilder
 
-用于构建 ITsFileWriter
+用于构建 ITsFileReader
 
 ```Java
 class TsFileReaderBuilder {
@@ -170,7 +170,7 @@ class TsFileReaderBuilder {
 
 ### ResultSet
 
-用于构建 ITsFileWriter
+查询的结果集
 
 ```Java
 interface ResultSet extends AutoCloseable {  
@@ -199,7 +199,7 @@ interface ResultSet extends AutoCloseable {
   boolean isNull(String columnName);  
   boolean isNull(int columnIndex);  
     
-  // 关闭当前结构集
+  // 关闭当前结果集
   void close();
     
   // 获取结果集的表头


(tsfile) 33/43: update description about tsfile (#685)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 249c93e2f34d5ff44f8e07f4c95e5a2bbb30725a
Author: leto-b <bi...@timecho.com>
AuthorDate: Wed Dec 31 09:53:47 2025 +0800

    update description about tsfile (#685)
---
 src/.vuepress/styles/index.scss | 1 +
 src/README.md                   | 2 +-
 src/zh/README.md                | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss
index 0796469e1..72df3d0cf 100644
--- a/src/.vuepress/styles/index.scss
+++ b/src/.vuepress/styles/index.scss
@@ -20,6 +20,7 @@
 // place your custom styles here
 #main-description {
   max-width: 55rem;
+  font-weight: 400;
 }
 
 .vp-site-name{
diff --git a/src/README.md b/src/README.md
index 3392f7da5..261a06061 100644
--- a/src/README.md
+++ b/src/README.md
@@ -10,7 +10,7 @@ bgImageStyle:
   # background-repeat: repeat
   # background-size: initial
 heroText: File Format for Internet of Things
-tagline: TsFile is a columnar storage file format designed for time series data, which supports efficient compression, high throughput of read and write, and compatibility with various frameworks, such as Spark and Flink. It is easy to integrate TsFile into IoT big data processing frameworks.
+tagline: TsFile is a high-performance columnar storage file format designed for industrial time-series data, featuring multi-language interfaces, high compression ratios, high read/write throughput, and fast random access capabilities. It is ideal for scenarios such as building high-quality datasets, managing data assets, conducting data analytics, and training AI models.
 heroFullScreen: true
 actions:
   - text: Download
diff --git a/src/zh/README.md b/src/zh/README.md
index 9333195b2..cf32a4ffa 100644
--- a/src/zh/README.md
+++ b/src/zh/README.md
@@ -10,7 +10,7 @@ bgImageStyle:
   # background-repeat: repeat
   # background-size: initial
 heroText: 物联网时序数据文件格式
-tagline: TsFile是一种为时间序列数据设计的列式存储文件格式,它支持高效压缩、高读写吞吐量,并且兼容多种框架,如Spark和Flink。TsFile很容易集成到物联网大数据处理框架中。
+tagline: TsFile 是一种为工业时序数据设计的高性能列式存储文件格式,支持多语言接口、高压缩比、高读写吞吐、快速随机访问。适用于构建高质量数据集、数据资产管理、数据分析与 AI 模型训练等场景。
 heroFullScreen: true
 actions:
   - text: 下载


(tsfile) 41/43: Update README with latest version 2.3.0

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit b40e4b22ec553e7dcb0a02116dd6601f4a41d53f
Author: Hongzhi Gao <ho...@apache.org>
AuthorDate: Mon Apr 27 10:26:32 2026 +0800

    Update README with latest version 2.3.0
---
 src/Download/README.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index e1c71279c..59478838b 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -23,14 +23,14 @@
 
 | Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                      | IoTDB adaptation v [...]
 |---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| ------------------ [...]
-| 2.2.1   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.3   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
+| 2.3.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.3.0) | [Source](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.3.0/RELEASE_NOTES.md) | IoTDB V2.x |
+| 1.1.3 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [Source](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
 Our GitHub page: https://github.com/apache/tsfile
 
-The latest version of TsFile is 2.2.1.
+The latest version of TsFile is 2.3.0.
 
 Downloading it from the [Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -40,8 +40,8 @@ Add the following dependency section to your pom.xml:
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.2.1</version>
+   <version>2.3.0</version>
  </dependency>
 ```
 
-The release note of 2.2.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md
+The release note of 2.3.0 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.3.0/RELEASE_NOTES.md


(tsfile) 37/43: change quickstart sidebar of java and python (#698)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit b2cd3ef3b5d4ccb95905b2f74f9f1cf954e2df60
Author: leto-b <bi...@timecho.com>
AuthorDate: Fri Jan 9 09:43:56 2026 +0800

    change quickstart sidebar of java and python (#698)
---
 src/.vuepress/sidebar/v2.x/en.ts | 4 ++--
 src/.vuepress/sidebar/v2.x/zh.ts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index a6ac11d1d..aaa701e4f 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -40,8 +40,8 @@ export const enSidebar = {
       children: [
         { text: 'QuickStart-C', link: 'QuickStart-C' },
         { text: 'QuickStart-C++', link: 'QuickStart-CPP' },
-        { text: 'QuickStart-JAVA', link: 'QuickStart' },
-        { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
+        { text: 'QuickStart-Java', link: 'QuickStart' },
+        { text: 'QuickStart-Python', link: 'QuickStart-PYTHON' },
       ],
       // prefix: 'QuickStart/',
       // // children: 'structure',
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index f10fb411b..dd0ec7556 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -40,8 +40,8 @@ export const zhSidebar = {
       children: [
         { text: '快速上手-C', link: 'QuickStart-C' },
         { text: '快速上手-C++', link: 'QuickStart-CPP' },
-        { text: '快速上手-JAVA', link: 'QuickStart' },
-        { text: '快速上手-PYTHON', link: 'QuickStart-PYTHON' },
+        { text: '快速上手-Java', link: 'QuickStart' },
+        { text: '快速上手-Python', link: 'QuickStart-PYTHON' },
       ],
       // prefix: 'QuickStart/',
       // children: 'structure',


(tsfile) 19/43: add some doc. (#546)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit d8733353bde60a43ea43b04384ad2f2c5694ef8d
Author: Colin Lee <10...@users.noreply.github.com>
AuthorDate: Mon Jul 21 16:27:12 2025 +0800

    add some doc. (#546)
    
    * add some doc.
    
    * Update.
    
    * fix some comment.
---
 .../InterfaceDefinition/InterfaceDefinition-C.md   |   2 +-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md |   2 +-
 .../InterfaceDefinition-Java.md                    |   2 +-
 .../InterfaceDefinition-Python.md                  |   2 +-
 .../QuickStart/Navigating_Time_Series_Data.md      |  64 +++
 src/UserGuide/develop/QuickStart/QuickStart-C.md   |   2 +-
 src/UserGuide/develop/QuickStart/QuickStart-CPP.md |   2 +-
 .../develop/QuickStart/QuickStart-JAVA.md          |   2 +-
 .../develop/QuickStart/QuickStart-PYTHON.md        |   2 +-
 .../InterfaceDefinition/InterfaceDefinition-C.md   | 459 +++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 446 ++++++++++++++++++++
 .../InterfaceDefinition-Java.md                    | 120 +++---
 .../InterfaceDefinition-Python.md                  | 264 ++++++++++++
 .../QuickStart/Navigating_Time_Series_Data.md      |  65 +++
 .../UserGuide/develop/QuickStart/QuickStart-C.md   |   2 +-
 .../UserGuide/develop/QuickStart/QuickStart-CPP.md |   2 +-
 .../develop/QuickStart/QuickStart-JAVA.md          |   2 +-
 .../develop/QuickStart/QuickStart-PYTHON.md        |   2 +-
 18 files changed, 1373 insertions(+), 69 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
index 93630a537..f55643986 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface definition
+# Interface definition - C
 
 
 
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index cdae52a49..b165a0244 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions
+# Interface Definitions - Cpp
 
 ## Write Interface
 
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 62ecdce66..3ae53d090 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions
+# Interface Definitions - Java
 
 ## Write Interface
 
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index a3e4d9d23..ad6d4619d 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions
+# Interface Definitions - Python
 
 ## Schema
 
diff --git a/src/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md b/src/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md
new file mode 100644
index 000000000..6ff81da37
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md
@@ -0,0 +1,64 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Entering Time Series Data
+
+## What Is Time Series Data?
+
+In today's era of the Internet of Things, various scenarios such as the Internet of Things and industrial scenarios are undergoing digital transformation. People collect various states of devices by installing sensors on them. If the motor collects voltage and current, the blade speed, angular velocity, and power generation of the fan; Vehicle collection of latitude and longitude, speed, and fuel consumption; The vibration frequency, deflection, displacement, etc. of the bridge. The data [...]
+
+![](/img/20240505154735.png)
+
+Generally speaking, we refer to each collection point as a measurement point (also known as a physical quantity, time series, timeline, signal quantity, indicator, measurement value, etc.). Each measurement point continuously collects new data information over time, forming a time series. In the form of a table, each time series is a table formed by two columns: time and value; In a graphical way, each time series is a trend chart formed over time, which can also be vividly referred to a [...]
+
+![](/img/20240505154843.png)
+
+The massive time series data generated by sensors is the foundation of digital transformation in various industries, so our modeling of time series data mainly focuses on equipment and sensors.
+
+## Key Concepts of Time Series Data
+The main concepts involved in time-series data can be divided from bottom to top: data points, measurement points, and equipment.
+
+![](/img/20240505154513.png)
+
+### Data Point
+
+- Definition: Consists of a timestamp and a value, where the timestamp is of type long and the value can be of various types such as BOOLEAN, FLOAT, INT32, etc.
+- Example: A row of a time series in the form of a table in the above figure, or a point of a time series in the form of a graph, is a data point.
+
+![](/img/20240505154432.png)
+
+### Measurement Points
+
+- Definition: It is a time series formed by multiple data points arranged in increments according to timestamps. Usually, a measuring point represents a collection point and can regularly collect physical quantities of the environment it is located in.
+- Also known as: physical quantity, time series, timeline, semaphore, indicator, measurement value, etc
+- Example:
+  - Electricity scenario: current, voltage
+  - Energy scenario: wind speed, rotational speed
+  - Vehicle networking scenarios: fuel consumption, vehicle speed, longitude, dimensions
+  - Factory scenario: temperature, humidity
+
+### Device
+
+- Definition: Corresponding to a physical device in an actual scene, usually a collection of measurement points, identified by one to multiple labels
+- Example:
+  - Vehicle networking scenario: Vehicles identified by vehicle identification code (VIN)
+  - Factory scenario: robotic arm, unique ID identification generated by IoT platform
+  - Energy scenario: Wind turbines, identified by region, station, line, model, instance, etc
+  - Monitoring scenario: CPU, identified by machine room, rack, Hostname, device type, etc
\ No newline at end of file
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-C.md b/src/UserGuide/develop/QuickStart/QuickStart-C.md
index 035d139ba..68a258026 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start
+# Quick Start - C
 
 ## Dependencies
 
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
index cabdb3722..0eb307166 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start
+# Quick Start - Cpp
 
 ## Dependencies
 
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index e0aca68ba..5ac101adc 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start
+# Quick Start - Java
 
 ## Dependencies
 
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 505f03421..2d855a9e3 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start
+# Quick Start - Python
 
 ## Dependencies
 
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
new file mode 100644
index 000000000..45db6f3ff
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -0,0 +1,459 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# 接口定义 - C
+
+
+## Schema(模式定义)
+
+```C++
+typedef enum {
+    TS_DATATYPE_BOOLEAN = 0,
+    TS_DATATYPE_INT32 = 1,
+    TS_DATATYPE_INT64 = 2,
+    TS_DATATYPE_FLOAT = 3,
+    TS_DATATYPE_DOUBLE = 4,
+    TS_DATATYPE_TEXT = 5,
+    TS_DATATYPE_STRING = 11
+} TSDataType;
+
+typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+
+// ColumnSchema:表示单个列的模式,包括列名、数据类型和分类。
+typedef struct column_schema {
+    char* column_name;
+    TSDataType data_type;
+    ColumnCategory column_category;
+} ColumnSchema;
+
+// TableSchema:定义一个表的模式,包括表名和列模式数组。
+typedef struct table_schema {
+    char* table_name;
+    ColumnSchema* column_schemas;
+    int column_num;
+} TableSchema;
+
+// ResultSetMetaData:结果集的元数据,包括列名和数据类型。
+typedef struct result_set_meta_data {
+    char** column_names;
+    TSDataType* data_types;
+    int column_num;
+} ResultSetMetaData;
+```
+
+## 写入接口
+
+### 创建/关闭 TsFile 写入文件
+
+```C++
+/**
+ * @brief 创建写入文件。
+ *
+ * @param pathname     目标文件路径。
+ * @param err_code     [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return WriteFile 成功返回有效句柄。
+ *
+ * @note 调用 free_write_file() 释放资源。
+ * @note 调用 free_write_file() 前,需确保 TsFileWriter 已关闭。
+ */
+
+WriteFile write_file_new(const char* pathname, ERRNO* err_code);
+
+void free_write_file(WriteFile* write_file);
+```
+
+
+### 创建/关闭 TsFile Writer
+
+在创建 TsFile Writer 时,需要指定 WriteFile 和 TableSchema。你可以使用 tsfile_writer_new_with_memory_threshold 设置内存阈值。
+
+```C++
+/**
+ * @brief 创建 TsFileWriter。
+ *
+ * @param file     写入目标文件。
+ * @param schema   表结构定义。
+ *                 - 由调用者负责释放。
+ * @param err_code [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return TsFileWriter 成功返回有效句柄,失败返回 NULL。
+ *
+ * @note 使用完毕后需调用 tsfile_writer_close() 释放资源。
+ */
+TsFileWriter tsfile_writer_new(WriteFile file, TableSchema* schema,
+                               ERRNO* err_code);
+
+/**
+ * @brief 创建 TsFileWriter,带内存阈值限制。
+ *
+ * @param file     写入目标文件。
+ * @param schema   表结构定义。
+ *                 - 由调用者负责释放。
+ * @param memory_threshold 超过该内存阈值时会自动刷盘。
+ * @param err_code [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return TsFileWriter 成功返回有效句柄,失败返回 NULL。
+ *
+ * @note 使用完毕后需调用 tsfile_writer_close() 释放资源。
+ */
+TsFileWriter tsfile_writer_new_with_memory_threshold(WriteFile file,
+                                                     TableSchema* schema,
+                                                     uint64_t memory_threshold,
+                                                     ERRNO* err_code);
+
+/**
+ * @brief 释放 TsFileWriter 相关资源。
+ *
+ * @param writer [输入] 来自 tsfile_writer_new() 的 Writer 句柄。
+ *               调用后该句柄失效,不可重复使用。
+ * @return ERRNO - 成功返回 RET_OK(0),否则返回错误码。
+ */
+ERRNO tsfile_writer_close(TsFileWriter writer);
+```
+
+
+
+### 创建/关闭/插入数据 Tablet
+
+可以使用 Tablet 批量插入数据。数据写入后需释放对应内存资源。
+```C
+/**
+ * @brief 创建用于批量写入的 Tablet。
+ *
+ * @param column_name_list [输入] 列名数组,长度为 column_num。
+ * @param data_types [输入] 数据类型数组,长度为 column_num。
+ * @param column_num [输入] 列数量,必须 ≥ 1。
+ * @param max_rows [输入] 预分配的最大行数,必须 ≥ 1。
+ * @return Tablet 成功返回有效句柄。
+ * @note 使用完后需调用 free_tablet() 释放资源。
+ */
+Tablet tablet_new(char** column_name_list, TSDataType* data_types,
+                  uint32_t column_num, uint32_t max_rows);
+/**
+ * @brief 获取当前 Tablet 中的行数。
+ *
+ * @param tablet [输入] 有效 Tablet 句柄。
+ * @return uint32_t 当前行数 (0 到 max_rows-1)。
+ */
+uint32_t tablet_get_cur_row_size(Tablet tablet);
+
+/**
+ * @brief 向指定行设置时间戳。
+ *
+ * @param tablet [输入] 有效 Tablet。
+ * @param row_index [输入] 目标行号 (0 ≤ index < max_rows)。
+ * @param timestamp [输入] 时间戳 (int64_t 类型)。
+ * @return ERRNO - 成功返回 RET_OK(0),否则返回错误码。
+ */
+ERRNO tablet_add_timestamp(Tablet tablet, uint32_t row_index,
+                           Timestamp timestamp);
+
+
+/**
+ * @brief 按列名为指定行添加字符串值。
+ *
+ * @param value [输入] 以 '\0' 结尾的字符串,调用者保留所有权。
+ */
+ERRNO tablet_add_value_by_name_string(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      const char* value);
+
+ // 支持多种数据类型插入
+ERRNO tablet_add_value_by_name_int32_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int32_t value);
+ERRNO tablet_add_value_by_name_int64_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_name_double(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      double value);
+
+ERRNO tablet_add_value_by_name_float(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      float value);
+
+ERRNO tablet_add_value_by_name_bool(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      bool value);
+
+/**
+ * @brief 按列索引为指定行添加值(支持多种数据类型)。
+ *
+ * @param value [输入] 字符串会被内部复制。
+ */
+ERRNO tablet_add_value_by_index_string(Tablet tablet, uint32_t row_index,
+                                       uint32_t column_index,
+                                       const char* value);
+
+
+ERRNO tablet_add_value_by_index_int32_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int32_t value);
+ERRNO tablet_add_value_by_index_int64_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_index_double(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      double value);
+
+ERRNO tablet_add_value_by_index_float(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      float value);
+
+ERRNO tablet_add_value_by_index_bool(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      bool value);
+
+                                       
+void free_tablet(Tablet* tablet);
+```
+
+
+
+
+
+###  将 Tablet 写入 TsFile
+
+```C
+/**
+ * @brief 将 Tablet 中的数据写入 TsFile。
+ *
+ * @param writer [输入] 有效的 TsFileWriter 句柄。
+ * @param tablet [输入] 含数据的 Tablet,写入后可释放。
+ */
+
+ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
+```
+
+
+
+
+## 读取接口
+
+###  TsFile Reader 创建/关闭
+
+```C
+/**
+ * @brief 创建用于读取 TsFile 的 TsFileReader。
+ *
+ * @param pathname [输入] TsFile 路径。
+ * @param err_code [输出] RET_OK(0) 或错误码。
+ * @return 成功时返回有效句柄。
+ *
+ * @note 使用 tsfile_reader_close() 释放资源。
+ */
+
+TsFileReader tsfile_reader_new(const char* pathname, ERRNO* err_code);
+
+/**
+ * @brief 释放 TsFileReader 占用的资源。
+ *
+ * @note 调用后句柄失效,且由此句柄获得的结果集也失效。
+ */
+ERRNO tsfile_reader_close(TsFileReader reader);
+```
+
+
+
+###  查询表 / 获取下一行
+
+```C
+
+/**
+ * @brief 在指定时间范围内,从指定表和列中查询数据。
+ *
+ * @param reader [输入] 通过 tsfile_reader_new() 获取的有效 TsFileReader 句柄。
+ * @param table_name [输入] 目标表名,必须存在于 TsFile 中。
+ * @param columns [输入] 要查询的列名数组。
+ * @param column_num [输入] 列名数组中的列数。
+ * @param start_time [输入] 起始时间戳。
+ * @param end_time [输入] 结束时间戳,必须大于等于 start_time。
+ * @param err_code [输出] 成功返回 RET_OK(0),否则返回 errno_define_c.h 中定义的错误码。
+ * @return ResultSet 查询结果集句柄。使用完成后必须通过 free_tsfile_result_set() 释放。
+ */
+ResultSet tsfile_query_table(TsFileReader reader, const char* table_name,
+                             char** columns, uint32_t column_num,
+                             Timestamp start_time, Timestamp end_time,
+                             ERRNO* err_code);
+
+/**
+ * @brief 检查并获取结果集中的下一行数据。
+ *
+ * @param result_set [输入] 有效的 ResultSet 句柄。
+ * @param error_code [输出] 成功返回 RET_OK(0),否则返回 errno_define_c.h 中的错误码。
+ * @return bool - true:存在下一行数据,false:已到达末尾或发生错误。
+ */
+bool tsfile_result_set_next(ResultSet result_set, ERRNO* error_code);
+
+/**
+ * @brief 释放结果集资源。
+ *
+ * @param result_set [输入] 有效的 ResultSet 句柄指针。
+ */
+void free_tsfile_result_set(ResultSet* result_set);
+```
+
+
+
+### 从结果集中获取数据
+
+```c
+/**
+ * @brief 判断当前行中指定列(按列名)对应的值是否为 NULL。
+ *
+ * @param result_set [输入] 当前处于有效行的 ResultSet(需在调用 next() 返回 true 之后)。
+ * @param column_name [输入] 结果集模式中存在的列名。
+ * @return bool - true:值为 NULL 或找不到该列,false:值有效。
+ */
+bool tsfile_result_set_is_null_by_name(ResultSet result_set,
+                                       const char* column_name);
+
+/**
+ * @brief 判断当前行中指定列(按列索引)对应的值是否为 NULL。
+ *
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 结果集列数)。
+ * @return bool - true:值为 NULL 或索引超出范围,false:值有效。
+ */
+bool tsfile_result_set_is_null_by_index(ResultSet result_set,
+                                        uint32_t column_index);
+
+/**
+ * @brief 根据列名获取当前行中的字符串值。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @param column_name [输入] 要获取的列名。
+ * @return char* - 字符串指针。调用者在使用完后必须手动释放该指针。
+ */
+char* tsfile_result_set_get_value_by_name_string(ResultSet result_set,
+                                                 const char* column_name);
+
+bool tsfile_result_set_get_value_by_name_bool(ResultSet result_set, const char* 
+                                                column_name);
+int32_t tsfile_result_set_get_value_by_name_int32_t(ResultSet result_set, const char* 
+                                                column_name);
+int64_t tsfile_result_set_get_value_by_name_int64_t(ResultSet result_set, const char* 
+                                                column_name);
+float tsfile_result_set_get_value_by_name_float(ResultSet result_set, const char* 
+                                                column_name);
+double tsfile_result_set_get_value_by_name_double(ResultSet result_set, const char* 
+                                                column_name);
+
+/**
+ * @brief 根据列索引获取当前行中的字符串值。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @param column_index [输入] 要获取的列索引(1 <= 索引 <= 列总数)。
+ * @return char* - 字符串指针。调用者在使用完后必须手动释放该指针。
+ */
+char* tsfile_result_set_get_value_by_index_string(ResultSet result_set,
+                                                  uint32_t column_index);
+
+int32_t tsfile_result_set_get_value_by_index_int32_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+int64_t tsfile_result_set_get_value_by_index_int64_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+float tsfile_result_set_get_value_by_index_float(ResultSet result_set, uint32_t 
+                                                    column_index);
+double tsfile_result_set_get_value_by_index_double(ResultSet result_set, uint32_t 
+                                                    column_index);
+bool tsfile_result_set_get_value_by_index_bool(ResultSet result_set, uint32_t 
+                                                    column_index);
+
+/**
+ * @brief 获取描述结果集模式的元数据信息。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @return ResultSetMetaData 元数据句柄。调用者在使用后应释放该元数据。
+ * @note 调用该函数前应检查 result_set 是否为 NULL,NULL 可能表示查询执行失败。
+ */
+ResultSetMetaData tsfile_result_set_get_metadata(ResultSet result_set);
+
+/**
+ * @brief 根据索引从元数据中获取列名。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 列总数)。
+ * @return const char* 只读字符串。如果索引无效则返回 NULL。
+ */
+
+char* tsfile_result_set_metadata_get_column_name(ResultSetMetaData result_set_meta_data,
+                                                 uint32_t column_index);
+
+/**
+ * @brief 根据索引从元数据中获取列的数据类型。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 列总数)。
+ * @return TSDataType 若索引无效则返回 TS_DATATYPE_INVALID(255)。
+ */
+TSDataType tsfile_result_set_metadata_get_data_type(
+    ResultSetMetaData result_set_meta_data, uint32_t column_index);
+
+/**
+ * @brief 获取结果集模式中的列总数。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @return int 结果集中列的数量。
+ */
+int tsfile_result_set_metadata_get_column_num(ResultSetMetaData result_set);
+```
+
+
+
+###  从 TsFile Reader 中获取表定义
+
+```C
+/**
+ * @brief 获取 TsFile 中指定表的模式信息。
+ *
+ * @param reader [输入] 有效的读取器句柄。
+ * @param table_name [输入] 目标表名,必须存在于 TsFile 中。
+ * @return TableSchema 包含表及其列的信息。
+ * @note 调用者应调用 free_table_schema 释放返回的 TableSchema 资源。
+ */
+
+TableSchema tsfile_reader_get_table_schema(TsFileReader reader,
+                                           const char* table_name);
+/**
+ * @brief 获取 TsFile 中所有表的模式信息。
+ *
+ * @param size [输出] 返回的表模式数组中的元素数量。
+ * @return TableSchema* 表模式数组指针。
+ * @note 调用者必须对数组中的每个元素调用 free_table_schema(),
+ *       并对整个数组指针调用 free() 进行释放。
+ */
+
+TableSchema* tsfile_reader_get_all_table_schemas(TsFileReader reader,
+                                                 uint32_t* size);
+
+/**
+ * @brief 释放 TableSchema 占用的内存空间。
+ *
+ * @param schema [输入] 需要释放的表模式结构。
+ */
+
+void free_table_schema(TableSchema schema);
+```
+
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
new file mode 100644
index 000000000..11ba24bf1
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -0,0 +1,446 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 接口定义 - Cpp
+
+## 写入接口
+
+### TsFileTableWriter
+
+用于写入 TsFile.
+
+```cpp
+/**
+ * @brief 用于将结构化表格数据写入具有指定模式的 TsFile。
+ *
+ * TsFileTableWriter 类被设计用于写入结构化数据,特别适合时序数据,
+ * 数据将被写入一种为高效存储与检索优化的文件格式(即 TsFile)。该类允许用户定义
+ * 所需写入表的模式,按照该模式添加数据行,并将这些数据序列化写入 TsFile。
+ * 此外,还提供了在写入过程中限制内存使用的选项。
+ */
+class TsFileTableWriter {
+   public:
+    /**
+     * TsFileTableWriter 用于将表格数据写入具有指定模式的目标文件,
+     * 可选地限制内存使用。
+     *
+     * @param writer_file 要写入表数据的目标文件。不能为空。
+     * @param table_schema 用于构造表结构,定义正在写入表的模式。
+     * @param memory_threshold 可选参数。当写入数据的大小超过该值时,
+     * 数据将自动刷新到磁盘。默认值为 128MB。
+     */
+
+    TsFileTableWriter(WriteFile* writer_file,
+                      TableSchema* table_schema,
+                      uint64_t memory_threshold = 128 * 1024 * 1024);
+    ~TsFileTableWriter();
+    /**
+     * 将给定的 Tablet 数据按照表的模式写入目标文件。
+     *
+     * @param tablet 包含待写入数据的 Tablet。不能为空。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int write_table(const Tablet& tablet);
+    /**
+     * 将所有缓冲数据刷新到底层存储介质,确保所有数据都已写出。
+     * 此方法确保所有未完成的写入操作被持久化。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int flush();
+    /**
+     * 关闭写入器并释放其占用的所有资源。
+     * 调用此方法后,不应再对该实例执行任何操作。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int close();
+};
+```
+
+### 表模式
+
+描述表模式(schema)的数据结构。
+
+```cpp
+/**
+* @brief 表示整个表的模式信息。
+*
+* 此类包含描述特定表结构所需的元数据,
+* 包括表名以及所有列的模式信息。
+*/
+class TableSchema {
+    public:
+    /**
+     * 使用给定的表名和列模式构造一个 TableSchema 对象。
+     *
+     * @param table_name 表的名称,必须为非空字符串。
+     *                   此名称用于在系统中标识该表。
+     * @param column_schemas 一个包含 ColumnSchema 对象的向量。
+     *                       每个 ColumnSchema 定义表中一列的模式。
+     */
+    TableSchema(const std::string& table_name,
+                const std::vector<ColumnSchema>& column_schemas);
+};
+
+
+/**
+* @brief 表示单个列的模式信息。
+*
+* 此结构体包含描述特定列存储方式所需的元数据,
+* 包括列名、数据类型和列类别。
+*/
+struct ColumnSchema {
+    std::string column_name_;
+    common::TSDataType data_type_;
+    ColumnCategory column_category_;
+
+   /**
+     * @brief 使用给定参数构造一个 ColumnSchema 对象。
+     *
+     * @param column_name 列的名称,必须为非空字符串。
+     *                    此名称用于在表中标识该列。
+     * @param data_type 该列的数据类型,例如 INT32、DOUBLE、TEXT 等。
+     *                  数据类型决定了数据的存储与解释方式。
+     * @param column_category 列的类别,用于标识其在模式中的角色或类型,
+     *                        例如 FIELD(字段)、TAG(标签)。
+     *                        如果未指定,默认为 ColumnCategory::FIELD。
+     * @note 调用者有责任确保 `column_name` 非空。
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
+                                                                           data_type_(data_type),
+                                                                           column_category_(column_category) {
+    }
+};
+
+/**
+ * @brief Represents the data type of a measurement.
+ *
+ * This enumeration defines the supported data types for measurements in the system.
+ */
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    STRING = 11
+};
+
+```
+
+### Tablet
+
+
+```cpp
+/**
+ * @brief 表示用于插入到表中的数据行集合及其相关元数据。
+ *
+ * 此类用于管理和组织将要插入特定目标表的数据。
+ * 它负责存储时间戳和值,以及相关的元数据,如列名和数据类型。
+ */
+class Tablet {
+public:
+    /**
+     * @brief 使用给定参数构造一个 Tablet 对象。
+     *
+     * @param column_names 一个包含该 Tablet 中列名的向量。
+     *                     每个名称对应目标表中的一列。
+     * @param data_types 一个包含每列数据类型的向量。
+     *                   这些类型必须与目标表的模式相匹配。
+     * @param max_rows 该 Tablet 可容纳的最大行数,默认为 DEFAULT_MAX_ROWS。
+     */
+    Tablet(const std::vector<std::string> &column_names,
+           const std::vector<common::TSDataType> &data_types,
+           int max_rows = DEFAULT_MAX_ROWS);
+
+    /**
+     * @brief 向指定行添加时间戳。
+     *
+     * @param row_index 要添加时间戳的行索引,
+     *                  必须小于最大行数。
+     * @param timestamp 要添加的时间戳值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int add_timestamp(uint32_t row_index, int64_t timestamp);
+
+    /**
+     * @brief 模板函数,用于向指定的行和列添加类型为 T 的值。
+     *
+     * @tparam T 要添加的值的类型, 如 int32_t, int64_t, double,
+     *         float, bool, char*, std::tm.
+     * @param row_index 要添加值的行索引,
+     *                  必须小于最大行数。
+     * @param schema_index 要添加的值对应的列模式索引。
+     * @param val 要添加的值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    template <typename T>
+    int add_value(uint32_t row_index, uint32_t schema_index, T val);
+
+    /**
+     * @brief 模板函数,用于通过列名向指定的行和列添加类型为 T 的值。
+     *
+     * @tparam T 要添加的值的类型, 如 int32_t, int64_t, double,
+     *         float, bool, char*, std::tm.
+     * @param row_index 要添加值的行索引,
+     *                  必须小于最大行数。
+     * @param measurement_name 要添加值的列名,
+     *                         必须与构造时提供的列名之一匹配。
+     * @param val 要添加的值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, const std::string &measurement_name, T val);
+};
+```
+
+## 读接口
+### Tsfile Reader
+```cpp
+/**
+ * @brief TsFileReader 提供了查询所有以 .tsfile 为后缀的文件的能力。
+ *
+ * TsFileReader 旨在用于查询 .tsfile 文件,它支持树模型查询和表模型查询,
+ * 并支持查询元数据信息,如 TableSchema 和 TimeseriesSchema。
+ */
+
+class TsFileReader {
+   public:
+    TsFileReader();
+    ~TsFileReader();
+    /**
+     * @brief 打开 tsfile 文件。
+     *
+     * @param file_path 要打开的 tsfile 文件路径。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int open(const std::string &file_path);
+    /**
+     * @brief 关闭 tsfile,查询完成后应调用此方法。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int close();
+    /**
+     * @brief 通过查询表达式对 tsfile 进行查询,用户可以自行构造查询表达式来查询 tsfile。
+     *
+     * @param [in] qe 查询表达式。
+     * @param [out] ret_qds 查询结果集。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
+    /**
+     * @brief 通过路径列表、起始时间和结束时间查询 tsfile,
+     * 本方法使用树模型进行查询。
+     *
+     * @param [in] path_list 路径列表。
+     * @param [in] start_time 起始时间。
+     * @param [in] end_time 结束时间。
+     * @param [out] result_set 查询结果集。
+     */
+    int query(std::vector<std::string> &path_list, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief 通过表名、列名、起始时间和结束时间查询 tsfile,
+     * 本方法使用表模型进行查询。
+     *
+     * @param [in] table_name 表名。
+     * @param [in] columns_names 列名列表。
+     * @param [in] start_time 起始时间。
+     * @param [in] end_time 结束时间。
+     * @param [out] result_set 查询结果集。
+     */
+    int query(const std::string &table_name,
+              const std::vector<std::string> &columns_names, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief 销毁结果集,该方法应在查询完成并使用完 result_set 后调用。
+     *
+     * @param qds 查询结果集。
+     */
+    void destroy_query_data_set(ResultSet *qds);
+    ResultSet *read_timeseries(
+        const std::shared_ptr<IDeviceID> &device_id,
+        const std::vector<std::string> &measurement_name);
+    /**
+     * @brief 获取 tsfile 中的所有设备。
+     *
+     * @param table_name 表名。
+     * @return std::vector<std::shared_ptr<IDeviceID>> 设备 ID 列表。
+     */
+    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
+        std::string table_name);
+    /**
+     * @brief 根据设备 ID 和测量名称获取时间序列模式信息。
+     *
+     * @param [in] device_id 设备 ID。
+     * @param [out] result std::vector<MeasurementSchema> 测量模式列表。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
+                              std::vector<MeasurementSchema> &result);
+    /**
+     * @brief 根据表名获取表的模式信息。
+     *
+     * @param table_name 表名。
+     * @return std::shared_ptr<TableSchema> 表的模式信息。
+     */
+    std::shared_ptr<TableSchema> get_table_schema(
+        const std::string &table_name);
+    /**
+     * @brief 获取 tsfile 中所有表的模式信息。
+     *
+     * @return std::vector<std::shared_ptr<TableSchema>> 表模式信息列表。
+     */
+    std::vector<std::shared_ptr<TableSchema>> get_all_table_schemas();
+};
+```
+### ResultSet
+```cpp
+/**
+ * @brief ResultSet 是 TsFileReader 的查询结果集,用于访问查询结果。
+ *
+ * ResultSet 是一个虚类,使用时应转换为相应的实现类。
+ * @note 当使用树模型且过滤器是全局时间过滤器时,应转换为 QDSWithoutTimeGenerator。
+ * @note 当使用树模型但过滤器不是全局时间过滤器时,应转换为 QDSWithTimeGenerator。
+ * @note 如果查询使用的是表模型,则应转换为 TableResultSet。
+ */
+class ResultSet {
+   public:
+    ResultSet() {}
+    virtual ~ResultSet() {}
+
+    /**
+     * @brief 获取结果集的下一行。
+     *
+     * @param[out] has_next 布尔值,指示是否还有下一行。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    virtual int next(bool& has_next) = 0;
+
+    /**
+     * @brief 根据列名检查该列的值是否为 null。
+     *
+     * @param column_name 列名。
+     * @return 如果值为 null 返回 true,否则返回 false。
+     */
+    virtual bool is_null(const std::string& column_name) = 0;
+
+    /**
+     * @brief 根据列索引检查该列的值是否为 null。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 如果值为 null 返回 true,否则返回 false。
+     */
+    virtual bool is_null(uint32_t column_index) = 0;
+
+    /**
+     * @brief 根据列名获取该列的值。
+     *
+     * @param column_name 列名。
+     * @return 该列的值。
+     */
+    template <typename T>
+    T get_value(const std::string& column_name);
+
+    /**
+     * @brief 根据列索引获取该列的值。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 该列的值。
+     */
+    template <typename T>
+    T get_value(uint32_t column_index);
+
+    /**
+     * @brief 获取当前行的 RowRecord。
+     *
+     * @return 当前行的 RowRecord。
+     */
+    virtual RowRecord* get_row_record() = 0;
+
+    /**
+     * @brief 获取结果集的元数据。
+     *
+     * @return std::shared_ptr<ResultSetMetadata> 结果集的元数据。
+     */
+    virtual std::shared_ptr<ResultSetMetadata> get_metadata() = 0;
+
+    /**
+     * @brief 关闭结果集。
+     *
+     * @note 当不再需要结果集时应调用此方法。
+     */
+    virtual void close() = 0;
+};
+
+```
+### ResultMeta
+```cpp
+/**
+ * @brief 结果集的元数据信息。
+ *
+ * 用户可以通过 ResultSetMetadata 获取结果集的元数据,
+ * 包括所有列名和数据类型。当用户使用表模型时,第一列默认是时间列。
+ */
+class ResultSetMetadata {
+   public:
+    /**
+     * @brief ResultSetMetadata 的构造函数。
+     *
+     * @param column_names 列名列表。
+     * @param column_types 列类型列表。
+     */
+    ResultSetMetadata(const std::vector<std::string>& column_names,
+                      const std::vector<common::TSDataType>& column_types);
+
+    /**
+     * @brief 获取指定索引的列类型。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 对应的列类型。
+     */
+    common::TSDataType get_column_type(uint32_t column_index);
+
+    /**
+     * @brief 获取指定索引的列名。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 对应的列名。
+     */
+    std::string get_column_name(uint32_t column_index);
+
+    /**
+     * @brief 获取列的总数量。
+     *
+     * @return 列的数量(uint32_t 类型)。
+     */
+    uint32_t get_column_count();
+};
+
+```
\ No newline at end of file
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
similarity index 72%
copy from src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
copy to src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 62ecdce66..109d2841d 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -18,118 +18,120 @@
     under the License.
 
 -->
-# Interface Definitions
+# 接口定义 - Java
 
-## Write Interface
+## 写入接口
 
 ### ITsFileWriter
 
-Used to write data to tsfile
+用于将数据写入 TsFile
 
 ```Java
 interface ITsFileWriter extends AutoCloseable {
-  // Write data
+  // 写入数据
   void write(Tablet tablet);
   
-  // Close Write
+  // 关闭写入器
   void close();
 }
+
 ```
 
 ### TsFileWriterBuilder
 
-Used to construct ITsFileWriter
+用于构建 ITsFileWriter
 
 ```Java
 class TsFileWriterBuilder {
-  // Build ITsFileWriter object
+  // 构建 ITsFileWriter 对象
   public ITsFileWriter build();
   
-  // target file
+  // 目标文件
   public TsFileWriterBuilder file(File file);
   
-  // Used to construct table structures
+  // 用于构建表结构
   public TsFileWriterBuilder tableSchema(TableSchema schema);
   
-  // Used to limit the memory size of objects
+  // 用于限制写入时的内存使用大小
   public TsFileWriterBuilder memoryThreshold(long memoryThreshold);
 }
+
 ```
 
 ### TableSchema
 
-Describe the data structure of the table schema
+描述表结构的数据组织方式
 
 ```Java
 class TableSchema {
-  // Constructor function
+  // 构造函数
   public TableSchema(String tableName, List<ColumnSchema> columnSchemaList);
 }
 
 class ColumnSchema {
-  // Constructor function
+  // 构造函数
   public ColumnSchema(String columnName, TSDataType dataType, ColumnCategory columnCategory);
   
-  // Get column names
+  // 获取列名
   public String getColumnName();
   
-  // Get the data type of the column
+  // 获取列的数据类型
   public TSDataType getDataType();
   
-  // Get column category
+  // 获取列的类别
   public Tablet.ColumnCategory getColumnCategory();
 }
 
 class ColumnSchemaBuilder {
-  // Build ColumnSchema object
+  // 构建 ColumnSchema 对象
   public ColumnSchema build();
   
-  // Column Name
+  // 设置列名
   public ColumnSchemaBuilder name(String columnName);
   
-  // The data type of the column
+  // 设置列的数据类型
   public ColumnSchemaBuilder dataType(TSDataType columnType);
   
-  // Column category
+  // 设置列的类别
   public ColumnSchemaBuilder category(ColumnCategory columnCategory);
   
-  // Supported types
+  // 支持的数据类型
   enum TSDataType {    
-    BOOLEAN,    
-    INT32,
-    INT64,    
-    FLOAT,    
-    DOUBLE,    
-    TIMESTAMP,   
-    TEXT,    
-    DATE,    
-    BLOB,   
-    STRING;  
+    BOOLEAN,        // 布尔型    
+    INT32,          // 32位整数
+    INT64,          // 64位整数    
+    FLOAT,          // 单精度浮点数    
+    DOUBLE,         // 双精度浮点数    
+    TIMESTAMP,      // 时间戳   
+    TEXT,           // 文本    
+    DATE,           // 日期    
+    BLOB,           // 二进制大对象   
+    STRING;         // 字符串  
   }
   
-  // Supported column categories
+  // 支持的列类别
   enum ColumnCategory {    
-    TAG,   
-    FIELD 
+    TAG,    // 标签列   
+    FIELD   // 测点列
   }
 }
+
 ```
 
 ### Tablet
 
-Write column memory structure
 
 ```Java
 class Tablet {
-  // Constructor function
+  // 构造函数
   public Tablet(List<String> columnNameList, List<TSDataType> dataTypeList);
   public Tablet(List<String> columnNameList, List<TSDataType> dataTypeList, int maxRowNum);
   
-  // Interface for adding timestamps
+  // 添加时间戳
   void addTimestamp(int rowIndex, long timestamp);
   
-  // Interface for adding values
-  // Add values based on column names
+  // 添加值
+  // 基于列名添加值
   void addValue(int rowIndex, String columnName, int val);
   void addValue(int rowIndex, String columnName, long val);  
   void addValue(int rowIndex, String columnName, float val);  
@@ -138,7 +140,7 @@ class Tablet {
   void addValue(int rowIndex, String columnName, String val);
   void addValue(int rowIndex, String columnName, byte[] val); 
   void addValue(int rowIndex, String columnName, LocalDate val); 
-  // Add values based on index position
+  // 基于索引添加值
   void addValue(int rowIndex, int columnIndex, int val);
   void addValue(int rowIndex, int columnIndex, long val);  
   void addValue(int rowIndex, int columnIndex, float val);  
@@ -154,48 +156,50 @@ class Tablet {
 
 ### ITsFileReader
 
-Used to query data in tsfile
+用于在 TsFile 中查询数据。
 
 ```Java
 interface ITsFileReader extends AutoCloseable {
-  // Used to execute queries and return results
+  // 用于执行查询并返回结果
   ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime);
   
-  // Return the schema of the table named tableName in tsfile
+  // 返回 tsfile 中指定表名(tableName)的表结构信息
   Optional<TableSchema> getTableSchemas(String tableName);
   
-  // Retrieve schema information for all tables in the tsfile
+  // 获取 tsfile 中所有表的结构信息
   List<TableSchema> getAllTableSchema();
   
-  // Close query
+  // 关闭查询
   void close();
 }
+
 ```
 
 ### TsFileReaderBuilder
 
-Used to construct ITsFileReader
+用于构建 ITsFileReader
 
 ```Java
 class TsFileReaderBuilder {
-  // Build ITsFileReader object
+  // 构建 ITsFileReader 对象
   public ITsFileReader build();
   
-  // target file
+  // 目标文件
   public TsFileReaderBuilder file(File file);
 }
+
 ```
 
 ### ResultSet
 
-The result set of the query
+查询的结果集
 
 ```Java
 interface ResultSet extends AutoCloseable {  
-  // Move the cursor to the next row and return whether there is still data
+  // 将游标移动到下一行,并返回是否还有数据
   boolean next();  
     
-  // Get the value of the current row and a certain column
+  // 获取当前行某一列的值
   int getInt(String columnName);  
   int getInt(int columnIndex);  
   long getLong(String columnName);  
@@ -213,28 +217,30 @@ interface ResultSet extends AutoCloseable {
   byte[] getBinary(String columnName);
   byte[] getBinary(int columnIndex);
      
-  // Determine whether a column is NULL in the current row
+  // 判断当前行某一列是否为 NULL
   boolean isNull(String columnName);  
   boolean isNull(int columnIndex);  
     
-  // Close the current result set
+  // 关闭当前结果集
   void close();
     
-  // Obtain the header of the result set
+  // 获取结果集的元数据信息
   ResultSetMetadata getMetadata();
 }
+
 ```
 
 ### ResultSetMetadata
 
-Used to obtain metadata for the result set
+用于获取结果集的元数据信息
 
 ```Java
 interface ResultSetMetadata {  
-  // Obtain the column name of the Nth column in the result set
+  // 获取结果集中第 N 列的列名
   String getColumnName(int columnIndex);
   
-  // Obtain the data type of the Nth column in the result set
+  // 获取结果集中第 N 列的数据类型
   TSDataType getColumnType(int columnIndex);
 }
+
 ```
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
new file mode 100644
index 000000000..157d8cbab
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -0,0 +1,264 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 接口定义 - Python
+
+## 数据模式
+
+```Python
+class TSDataType(IntEnum):
+    """
+    TsFile 当前支持的数据类型枚举。
+    """
+    BOOLEAN = 0
+    INT32 = 1
+    INT64 = 2
+    FLOAT = 3
+    DOUBLE = 4
+    TEXT = 5
+    STRING = 11
+
+class ColumnCategory(IntEnum):
+    """
+    TsFile 中的列类别枚举。
+    TAG:表示标签列,用于存储元数据。
+    FIELD:表示测点列,用于存储实际数据值。
+    """
+    TAG = 0
+    FIELD = 1
+
+class ColumnSchema:
+    """定义表中某一列的模式(名称、数据类型、类别)。"""
+
+    column_name = None
+    data_type = None
+    category = None
+
+    def __init__(self, column_name: str, data_type: TSDataType,
+                 category: ColumnCategory = ColumnCategory.FIELD)
+
+class TableSchema:
+    """表结构的模式定义。"""
+
+    table_name = None
+    columns = None
+
+    def __init__(self, table_name: str, columns: List[ColumnSchema])
+
+class ResultSetMetaData:
+    """查询结果集的元数据容器(列名、类型、表名)。"""
+
+    column_list = None
+    data_types = None
+    table_name = None
+
+    def __init__(self, column_list: List[str], data_types: List[TSDataType])
+
+
+```
+
+
+
+## 写入接口
+
+### TsFileWriter 
+
+```python
+class TsFileTableWriter:
+    """
+    用于将结构化表格数据写入具有指定模式的 TsFile。
+    """
+
+    """
+    :param path: tsfile 文件路径,如果不存在则会创建。
+    :param table_schema: 描述要写入表的结构信息。
+    :return: 无返回值。
+    """
+    def __init__(self, path: str, table_schema: TableSchema)
+
+    """
+    将一个 Tablet 写入 TsFile 中的表中。
+    :param tablet: 存储表的批量数据。
+    :return: 无返回值。
+    """
+    def write_table(self, tablet: Tablet)
+
+    """
+    关闭 TsFileTableWriter,并自动刷新数据。
+    :return: 无返回值。
+    """
+    def close(self)
+
+
+```
+
+
+### Tablet definition
+
+
+```Python
+class Tablet(object)
+    """
+    一个为批量数据预分配的列式数据容器,具有类型约束。
+    它会创建时间戳缓冲区和带类型的数据列,并对数值类型执行有效值范围校验。
+
+    初始化参数:
+    :param column_name_list: 数据列的名称列表。
+    :param type_list: 每列允许的数据类型(TSDataType 枚举值)。
+    :param max_row_num: 预分配的最大行数(默认值为 1024)。
+    :return: 无返回值。
+    """
+
+    def __init__(self, column_name_list: list[str], type_list: list[TSDataType],
+                 max_row_num: int = 1024)
+
+```
+
+## 读取接口
+
+### TsFileReader
+
+```python
+class TsFileReader:
+    """
+    从 TsFile 中查询表格数据。
+    """
+
+    """
+    初始化指定路径的 TsFile 读取器。
+    :param pathname: TsFile 文件的路径。
+    :return: 无返回值。
+    """
+    def __init__(self, pathname)
+
+    """
+    对指定的表和列执行时间范围查询。
+
+    :param table_name: 要查询的表名。
+    :param column_names: 要检索的列名列表。
+    :param start_time: 查询范围的起始时间(默认:int64 最小值)。
+    :param end_time: 查询范围的结束时间(默认:int64 最大值)。
+    :return: 查询结果集处理器。
+    """
+    def query_table(self, table_name : str, column_names : List[str],
+                    start_time : int = np.iinfo(np.int64).min,
+                    end_time: int = np.iinfo(np.int64).max) -> ResultSet
+
+    """
+    获取指定表的模式信息。
+
+    :param table_name: 表名。
+    :return: 指定表的模式信息。
+    """
+    def get_table_schema(self, table_name : str) -> TableSchema
+
+    """
+    获取 TsFile 中所有表的模式信息。
+
+    :return: 一个将表名映射到其模式的字典。
+    """
+    def get_all_table_schemas(self) -> dict[str, TableSchema]
+
+    """
+    关闭 TsFile 读取器。如果读取器中有活动的结果集,它们将失效。
+    """
+    def close(self)
+
+
+```
+
+### ResultSet
+
+
+```python
+class ResultSet:
+    """
+    用于从查询结果集中获取数据。当执行查询时,将返回一个结果集处理器。
+    如果读取器被关闭,该结果集将失效。
+    """
+
+    """
+    检查并移动到查询结果集中的下一行。
+
+    :return: 如果存在下一行则返回 True,否则返回 False。
+    """
+    def next(self) -> bool
+
+    """
+    获取结果集的列信息。
+
+    :return: 一个字典,键为列名,值为对应的数据类型。
+    """
+    def get_result_column_info(self) -> dict[str, TsDataType]
+
+    """
+    从查询结果集中读取下一个 DataFrame。
+
+    :param max_row_num: 要读取的最大行数,默认值为 1024。
+    :return: 包含查询结果数据的 DataFrame。
+    """
+    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+
+    """
+    从查询结果集中按索引获取值。
+
+    :param index: 要获取值的索引,1 <= index <= column_num。
+    :return: 指定索引处的值。
+    """
+    def get_value_by_index(self, index : int)
+
+    """
+    从查询结果集中按列名获取值。
+
+    :param column_name: 要获取值的列名。
+    :return: 指定列的值。
+    """
+    def get_value_by_name(self, column_name : str)
+
+    """
+    获取结果集的元数据信息。
+
+    :return: 结果集的元数据,类型为 ResultSetMetadata 对象。
+    """
+    def get_metadata(self) -> ResultSetMetadata
+
+    """
+    检查结果集中指定索引位置的字段是否为 null。
+
+    :param index: 要检查的字段索引,1 <= index <= column_num。
+    :return: 若字段为 null 返回 True,否则返回 False。
+    """
+    def is_null_by_index(self, index : int)
+
+    """
+    检查结果集中指定列名的字段是否为 null。
+
+    :param name: 要检查的列名。
+    :return: 若字段为 null 返回 True,否则返回 False。
+    """
+    def is_null_by_name(self, name : str)
+
+    """
+    关闭结果集并释放相关资源。
+    """
+    def close(self)
+
+```
+
diff --git a/src/zh/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md b/src/zh/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md
new file mode 100644
index 000000000..635b05837
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/Navigating_Time_Series_Data.md
@@ -0,0 +1,65 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 走进时间序列数据
+
+## 什么是时间序列数据?
+
+在当今的物联网时代,物联网、工业等各种场景正在经历数字化转型。人们通过在设备上安装传感器来采集其各种状态数据。例如,电机采集电压和电流;风扇采集叶片转速、角速度和发电量;车辆采集经纬度、速度和油耗;桥梁采集振动频率、挠度、位移等。传感器的数据采集已经深入到各个行业。
+
+![](/img/20240505154735.png)
+
+通常,我们将每一个采集点称为测量点(也称为物理量、时间序列、时间线、信号量、指标、测量值等)。每个测量点会随着时间持续采集新的数据信息,形成一条时间序列。从表格的角度来看,每个时间序列是一张由“时间”和“数值”两列组成的表;从图形的角度来看,每条时间序列是一张随时间变化的趋势图,也可以形象地称作设备的“心电图”。
+
+![](/img/20240505154843.png)
+
+传感器产生的海量时间序列数据,是各行业数字化转型的基础,因此我们对时间序列数据的建模主要聚焦于设备和传感器。
+
+## 时间序列数据的关键概念
+
+时间序列数据中涉及的主要概念可以自底向上分为:数据点、测量点和设备。
+
+![](/img/20240505154513.png)
+
+### 数据点
+
+- 定义:由一个时间戳和一个数值组成,其中时间戳为 long 类型,值可以是 BOOLEAN、FLOAT、INT32 等多种类型。
+- 示例:在上图中,表格形式中的一行时间序列,或图形形式中的一个时间序列上的点,都是一个数据点。
+
+![](/img/20240505154432.png)
+
+### 测量点
+
+- 定义:由多个按照时间戳递增排列的数据点构成的时间序列。通常一个测量点表示一个采集点,并能定期采集其所处环境中的物理量。
+- 也称为:物理量、时间序列、时间线、信号量、指标、测量值等。
+- 示例:
+  - 电力场景:电流、电压
+  - 能源场景:风速、转速
+  - 车联网场景:油耗、车速、经度、纬度
+  - 工厂场景:温度、湿度
+
+### 设备
+
+- 定义:对应实际场景中的一个物理设备,通常是多个测量点的集合,并通过一个或多个标签进行标识
+- 示例:
+  - 车联网场景:通过车辆识别码(VIN)标识的车辆
+  - 工厂场景:机械臂,通过物联网平台生成的唯一 ID 进行标识
+  - 能源场景:风电机组,通过区域、站点、线路、型号、实例等维度进行标识
+itoring scenario: CPU, identified by machine room, rack, Hostname, device type, etc
\ No newline at end of file
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
index be71a0620..9574787b7 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手
+# 快速上手 - C
 
 ## 依赖
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
index bb8e9432f..d91f3d824 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手
+# 快速上手 - Cpp
 
 ## 依赖
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index d249749bf..b0c195f06 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手
+# 快速上手 - Java
 
 ## 依赖
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index b42cfed02..6d0b32cd9 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手
+# 快速上手 - Python
 
 ## 依赖
 


(tsfile) 17/43: Modify ecological error information (#477)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit e21dd5c8aab80302e39e6ea6c6d567f4172ff97c
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Sun Apr 27 16:10:05 2025 +0800

    Modify ecological error information (#477)
---
 .../develop/Ecosystem Integration/Hive-TsFile.md   |   9 +-
 .../develop/Ecosystem Integration/Spark-TsFile.md  | 149 ++++++++++++++++++++-
 .../latest/Ecosystem Integration/Hive-TsFile.md    |   9 +-
 .../latest/Ecosystem Integration/Spark-TsFile.md   | 149 ++++++++++++++++++++-
 .../v1.x/Ecosystem Integration/Hive-TsFile.md      |   8 +-
 .../v1.x/Ecosystem Integration/Spark-TsFile.md     | 149 ++++++++++++++++++++-
 .../develop/Ecosystem Integration/Hive-TsFile.md   |   9 +-
 .../develop/Ecosystem Integration/Spark-TsFile.md  |   5 +-
 .../latest/Ecosystem Integration/Hive-TsFile.md    |   9 +-
 .../latest/Ecosystem Integration/Spark-TsFile.md   |   5 +-
 .../v1.x/Ecosystem Integration/Hive-TsFile.md      |   9 +-
 .../v1.x/Ecosystem Integration/Spark-TsFile.md     |   5 +-
 12 files changed, 467 insertions(+), 48 deletions(-)

diff --git a/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
index 227a1e383..f47303d34 100644
--- a/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
@@ -53,17 +53,18 @@ With this connector, you can
 
 ## 4. Add Dependency For Hive
 
+
 To use hive-connector in hive, we should add the hive-connector jar into hive.
 
-After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+After downloading the code of iotdb-extra from <https://github.com/apache/iotdb-extra>, you can use the command of `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`.
 
 Then in hive, use the command of `add jar XXX` to add the dependency. For example:
 
 ```
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 
diff --git a/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
index 6df313fcb..73f3962c1 100644
--- a/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,7 @@ With this connector, you can
 |:-------------: | :-------------: | :------------: |:------------: |
 | `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
 
-> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
 > Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
 
 ## 3. Quick Start
@@ -53,7 +53,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 
 ### 3.2 Distributed Mode
@@ -68,7 +68,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. Data Type Correspondence
 
@@ -94,7 +94,60 @@ The way to display TsFile is dependent on the schema. Take the following TsFile
 
 The existing data in the TsFile are:
 
-<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">device:root.In.wf01.wt01</th>
+            <th colspan="4">device:root.In.wf02.wt02</th>        
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+      </tr>
+            <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+      </tr>
+</tbody>
+</table>
 
 The corresponding SparkSQL table is:
 
@@ -239,7 +292,93 @@ The way to display TsFile is related to TsFile Schema. Take the following TsFile
 
 The existing data in the file are:
 
-<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">delta Lobject:root.In.wf01.wt01</th>
+            <th colspan="4">delta Lobject:root.In.wf02.wt02</th>
+            <th colspan="4">deltaLobject:root.sgcc.wf03.wt01</th>
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+            <td>2</td>
+            <td>True</td>
+            <td>3</td>
+            <td>3.3</td>
+      </tr>
+      <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+            <td>3</td>
+            <td>True</td>
+            <td>6</td>
+            <td>6.6</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+            <td>4</td>
+            <td>True</td>
+            <td>8</td>
+            <td>8.8</td>
+      </tr>
+      <tr>
+            <td>7</td>
+            <td>True</td>
+            <td>4</td>
+            <td>2.0</td>
+            <td>8</td>
+            <td>"ddd"</td>
+            <td>5</td>
+            <td>False</td>
+            <td>6</td>
+            <td>True</td>
+            <td>9</td>
+            <td>9.9</td>
+      </tr>
+</tbody>
+</table>
 
 A set of time-series data
 
diff --git a/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
index 227a1e383..f47303d34 100644
--- a/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
@@ -53,17 +53,18 @@ With this connector, you can
 
 ## 4. Add Dependency For Hive
 
+
 To use hive-connector in hive, we should add the hive-connector jar into hive.
 
-After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+After downloading the code of iotdb-extra from <https://github.com/apache/iotdb-extra>, you can use the command of `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`.
 
 Then in hive, use the command of `add jar XXX` to add the dependency. For example:
 
 ```
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 
diff --git a/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
index 6df313fcb..73f3962c1 100644
--- a/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,7 @@ With this connector, you can
 |:-------------: | :-------------: | :------------: |:------------: |
 | `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
 
-> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
 > Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
 
 ## 3. Quick Start
@@ -53,7 +53,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 
 ### 3.2 Distributed Mode
@@ -68,7 +68,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. Data Type Correspondence
 
@@ -94,7 +94,60 @@ The way to display TsFile is dependent on the schema. Take the following TsFile
 
 The existing data in the TsFile are:
 
-<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">device:root.In.wf01.wt01</th>
+            <th colspan="4">device:root.In.wf02.wt02</th>        
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+      </tr>
+            <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+      </tr>
+</tbody>
+</table>
 
 The corresponding SparkSQL table is:
 
@@ -239,7 +292,93 @@ The way to display TsFile is related to TsFile Schema. Take the following TsFile
 
 The existing data in the file are:
 
-<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">delta Lobject:root.In.wf01.wt01</th>
+            <th colspan="4">delta Lobject:root.In.wf02.wt02</th>
+            <th colspan="4">deltaLobject:root.sgcc.wf03.wt01</th>
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+            <td>2</td>
+            <td>True</td>
+            <td>3</td>
+            <td>3.3</td>
+      </tr>
+      <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+            <td>3</td>
+            <td>True</td>
+            <td>6</td>
+            <td>6.6</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+            <td>4</td>
+            <td>True</td>
+            <td>8</td>
+            <td>8.8</td>
+      </tr>
+      <tr>
+            <td>7</td>
+            <td>True</td>
+            <td>4</td>
+            <td>2.0</td>
+            <td>8</td>
+            <td>"ddd"</td>
+            <td>5</td>
+            <td>False</td>
+            <td>6</td>
+            <td>True</td>
+            <td>9</td>
+            <td>9.9</td>
+      </tr>
+</tbody>
+</table>
 
 A set of time-series data
 
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
index 227a1e383..0d43afd46 100644
--- a/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
@@ -55,15 +55,15 @@ With this connector, you can
 
 To use hive-connector in hive, we should add the hive-connector jar into hive.
 
-After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+After downloading the code of iotdb-extra from <https://github.com/apache/iotdb-extra>, you can use the command of `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`.
 
 Then in hive, use the command of `add jar XXX` to add the dependency. For example:
 
 ```
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
index 6df313fcb..73f3962c1 100644
--- a/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,7 @@ With this connector, you can
 |:-------------: | :-------------: | :------------: |:------------: |
 | `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
 
-> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
 > Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
 
 ## 3. Quick Start
@@ -53,7 +53,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 
 ### 3.2 Distributed Mode
@@ -68,7 +68,7 @@ Note:
 
 * \<spark-shell-path\> is the real path of your spark-shell.
 * Multiple jar packages are separated by commas without any spaces.
-* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+* For more detailed information on connectors, please refer to https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. Data Type Correspondence
 
@@ -94,7 +94,60 @@ The way to display TsFile is dependent on the schema. Take the following TsFile
 
 The existing data in the TsFile are:
 
-<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">device:root.In.wf01.wt01</th>
+            <th colspan="4">device:root.In.wf02.wt02</th>        
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+      </tr>
+            <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+      </tr>
+</tbody>
+</table>
 
 The corresponding SparkSQL table is:
 
@@ -239,7 +292,93 @@ The way to display TsFile is related to TsFile Schema. Take the following TsFile
 
 The existing data in the file are:
 
-<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+<table style="text-align: left;">
+  <tbody>
+     <tr>     
+            <th colspan="4">delta Lobject:root.In.wf01.wt01</th>
+            <th colspan="4">delta Lobject:root.In.wf02.wt02</th>
+            <th colspan="4">deltaLobject:root.sgcc.wf03.wt01</th>
+      </tr>
+      <tr>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+            <td colspan="2">hardware</td>
+            <td colspan="2">status</td>
+            <td colspan="2">status</td>
+            <td colspan="2">temperature</td>
+      </tr>
+      <tr>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+            <td>time</td>
+            <td>value</td>
+      </tr>
+       <tr>
+            <td>1</td>
+            <td>True</td>
+            <td>1</td>
+            <td>2.2</td>
+            <td>2</td>
+            <td>"aaa"</td>
+            <td>1</td>
+            <td>True</td>
+            <td>2</td>
+            <td>True</td>
+            <td>3</td>
+            <td>3.3</td>
+      </tr>
+      <tr>
+            <td>3</td>
+            <td>True</td>
+            <td>2</td>
+            <td>2.2</td>
+            <td>4</td>
+            <td>"bbb"</td>
+            <td>2</td>
+            <td>False</td>
+            <td>3</td>
+            <td>True</td>
+            <td>6</td>
+            <td>6.6</td>
+      </tr>
+       <tr>
+            <td>5</td>
+            <td>False</td>
+            <td>3</td>
+            <td>2.1</td>
+            <td>6</td>
+            <td>"ccc"</td>
+            <td>4</td>
+            <td>True</td>
+            <td>4</td>
+            <td>True</td>
+            <td>8</td>
+            <td>8.8</td>
+      </tr>
+      <tr>
+            <td>7</td>
+            <td>True</td>
+            <td>4</td>
+            <td>2.0</td>
+            <td>8</td>
+            <td>"ddd"</td>
+            <td>5</td>
+            <td>False</td>
+            <td>6</td>
+            <td>True</td>
+            <td>9</td>
+            <td>9.9</td>
+      </tr>
+</tbody>
+</table>
 
 A set of time-series data
 
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
index ce411bd4e..7ef3b7867 100644
--- a/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
@@ -53,15 +53,16 @@ TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件
 
 为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
 
-从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+从 https://github.com/apache/iotdb-extra下载完 iotdb-extra 后,你可以使用 `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` 命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
 
 然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
 
+
 ```shell
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 ## 5. 创建 Tsfile-backed 的 Hive 表
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
index e7fc54b3c..dac7706be 100644
--- a/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,6 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 | ------------- | ------------- | ------------ | -------- |
 | `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
 
-> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
 > 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
 
 ## 3. 快速开始
@@ -52,7 +51,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 - 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
 
 ### 3.2 分布式模式
@@ -67,7 +66,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. 数据类型对应
 
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
index ce411bd4e..7ef3b7867 100644
--- a/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
@@ -53,15 +53,16 @@ TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件
 
 为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
 
-从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+从 https://github.com/apache/iotdb-extra下载完 iotdb-extra 后,你可以使用 `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` 命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
 
 然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
 
+
 ```shell
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 ## 5. 创建 Tsfile-backed 的 Hive 表
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
index e7fc54b3c..dac7706be 100644
--- a/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,6 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 | ------------- | ------------- | ------------ | -------- |
 | `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
 
-> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
 > 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
 
 ## 3. 快速开始
@@ -52,7 +51,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 - 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
 
 ### 3.2 分布式模式
@@ -67,7 +66,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. 数据类型对应
 
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
index ce411bd4e..7ef3b7867 100644
--- a/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
+++ b/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
@@ -53,15 +53,16 @@ TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件
 
 为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
 
-从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+从 https://github.com/apache/iotdb-extra下载完 iotdb-extra 后,你可以使用 `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` 命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
 
 然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
 
+
 ```shell
-hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
 
-Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
 ```
 
 ## 5. 创建 Tsfile-backed 的 Hive 表
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
index e7fc54b3c..dac7706be 100644
--- a/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
+++ b/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
@@ -37,7 +37,6 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 | ------------- | ------------- | ------------ | -------- |
 | `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
 
-> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
 > 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
 
 ## 3. 快速开始
@@ -52,7 +51,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 - 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
 
 ### 3.2 分布式模式
@@ -67,7 +66,7 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
 
 - \<spark-shell-path\>是您的 spark-shell 的真实路径。
 - 多个 jar 包用逗号分隔,没有任何空格。
-- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 更多连接器的详细信息,请参见 https://github.com/apache/iotdb-extras/tree/master/connectors
 
 ## 4. 数据类型对应
 


(tsfile) 05/43: update download for 2.0.1 (#404)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit dfdcca07982408a9a345921b6fe5b4d36be228ca
Author: CritasWang <cr...@outlook.com>
AuthorDate: Mon Feb 10 16:40:56 2025 +0800

    update download for 2.0.1 (#404)
---
 src/Download/README.md    | 11 +++++------
 src/zh/Download/README.md | 12 +++++++++++-
 2 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index 8a9ed562d..831d0618c 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -21,11 +21,10 @@
 
 # Releases Version
 
-| Version  | Dependency                                                                    | Sources                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                         |
-| ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
-| 2.0.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.0.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.0/apache-tsfile-2.0.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.0/apache-tsfile-2.0.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.0/apache-tsfile-2.0.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.0.0) |
-| 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) |
-| 1.0.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.0.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.0.0/apache-tsfile-1.0.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.0.0/apache-tsfile-1.0.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.0.0/apache-tsfile-1.0.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.0.0) |
+| Version  | Dependency                                                                    | Sources                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                         | IoTDB adap [...]
+| ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
+| 2.0.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.0.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.0.1) | IoTDB V2.x |
+| 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
@@ -45,4 +44,4 @@ Add the following dependency section to your pom.xml:
  </dependency>
 ```
 
-The release note of 2.0.1 can be found in the Archives of the Apache Software Foundation: https://github.com/apache/tsfile/releases/tag/v2.0.1
+The release note of 2.0.1 can be found in the Archives of the Apache Software Foundation: https://github.com/apache/tsfile/releases/tag/v2.0.1
\ No newline at end of file
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index 37b6f83e4..71b1128c5 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -19,7 +19,17 @@
 
 -->
 
-# 下载
+# 发行版本
+
+| 版本  | 依赖引用                                                                    | 源代码                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                         [...]
+| ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
+| 2.0.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.0.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.0.1) | IoTDB V2.x |
+| 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
+
+完整历史版本: https://archive.apache.org/dist/tsfile/
+
+# 最新版本
+
 GitHub 仓库地址:https://github.com/apache/tsfile
 
 最新版本是2.0.1。


(tsfile) 02/43: releasev2.0.1 (#401)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 8e202635f2c8648bb684e702cc19233461232981
Author: CritasWang <cr...@outlook.com>
AuthorDate: Sat Feb 8 11:19:34 2025 +0800

    releasev2.0.1 (#401)
---
 .github/workflows/site-build.yaml                  |    9 +-
 .gitignore                                         |    4 +
 .mvn/develocity.xml                                |   50 -
 .mvn/extensions.xml                                |   33 -
 .mvn/wrapper/maven-wrapper.properties              |   19 -
 docs/deploy.cjs => deploy.cjs                      |    0
 docs/deploy_staging.cjs => deploy_staging.cjs      |    0
 docs/.gitignore                                    |    5 -
 .../docsearch/client/components/Docsearch.ts       |  156 -
 .../client/composables/useDocsearchShim.ts         |   81 -
 .../components/docsearch/client/config.js          |   28 -
 .../.vuepress/components/docsearch/client/index.ts |   22 -
 .../components/docsearch/client/shims.d.ts         |   26 -
 .../docsearch/client/styles/docsearch.css          |   44 -
 .../components/docsearch/node/docsearchPlugin.ts   |   56 -
 .../.vuepress/components/docsearch/node/index.ts   |   24 -
 .../.vuepress/components/docsearch/shared/index.ts |   20 -
 .../.vuepress/components/docsearch/shared/types.ts |   37 -
 docs/src/.vuepress/styles/palette.scss             |   22 -
 mvnw                                               |  316 --
 mvnw.cmd                                           |  188 -
 docs/package.json => package.json                  |   23 +-
 pnpm-lock.yaml                                     | 5187 ++++++++++++++++++++
 src/.vuepress/client.ts                            |   59 +
 src/.vuepress/components/DocSearch.vue             |   35 +
 .../.vuepress/components/PageFooter.vue            |    2 +-
 {docs/src => src}/.vuepress/config.ts              |   60 +-
 {docs/src => src}/.vuepress/navbar/en.ts           |    9 +-
 {docs/src => src}/.vuepress/navbar/index.ts        |    0
 {docs/src => src}/.vuepress/navbar/zh.ts           |    9 +-
 {docs/src => src}/.vuepress/public/.asf.yaml       |    0
 {docs/src => src}/.vuepress/public/bg.svg          |    0
 {docs/src => src}/.vuepress/public/favicon.ico     |  Bin
 {docs/src => src}/.vuepress/public/home_icon.svg   |    0
 {docs/src => src}/.vuepress/public/logo.svg        |    0
 {docs/src => src}/.vuepress/public/s.svg           |    0
 {docs/src => src}/.vuepress/sidebar/en.ts          |    7 +-
 {docs/src => src}/.vuepress/sidebar/index.ts       |    0
 .../V1.0.x => src/.vuepress/sidebar/v1.x}/en.ts    |    4 +-
 .../V1.0.x => src/.vuepress/sidebar/v1.x}/zh.ts    |    4 +-
 .../index.ts => src/.vuepress/sidebar/v2.x/en.ts   |   34 +-
 .../index.ts => src/.vuepress/sidebar/v2.x/zh.ts   |   34 +-
 {docs/src => src}/.vuepress/sidebar/zh.ts          |    7 +-
 {docs/src => src}/.vuepress/styles/config.scss     |    8 +-
 {docs/src => src}/.vuepress/styles/index.scss      |    0
 {docs/src => src}/.vuepress/theme.ts               |  119 +-
 src/.vuepress/utils/getDocVersion.ts               |   34 +
 src/.vuepress/utils/index.ts                       |    1 +
 {docs/src => src}/Community/About.md               |    0
 {docs/src => src}/Community/Feedback.md            |    0
 .../Development/Community-Project-Committers.md    |    0
 {docs/src => src}/Development/Powered-By.md        |    0
 {docs/src => src}/Download/README.md               |    0
 {docs/src => src}/README.md                        |    2 -
 .../UserGuide/develop/QuickStart/Data-Model.md     |    0
 .../develop/QuickStart/Interface-Definitions.md    |    0
 .../UserGuide/develop/QuickStart/QuickStart.md     |    0
 .../UserGuide/latest}/QuickStart/Data-Model.md     |   58 +-
 .../latest}/QuickStart/Interface-Definitions.md    |    0
 .../QuickStart/Navigating_Time_Series_Data.md      |    0
 .../UserGuide/latest}/QuickStart/QuickStart.md     |    0
 .../UserGuide/v1.x}/QuickStart/Data-Model.md       |   59 +-
 .../QuickStart/Navigating_Time_Series_Data.md      |    0
 .../UserGuide/v1.x}/QuickStart/QuickStart.md       |    0
 {docs/src => src}/stage/QuickStart.md              |    0
 {docs/src => src}/zh/Community/About.md            |    0
 {docs/src => src}/zh/Community/Feedback.md         |    0
 .../zh/Development/Community-Project-Committers.md |    0
 {docs/src => src}/zh/Development/Powered-By.md     |    0
 {docs/src => src}/zh/Download/README.md            |    0
 {docs/src => src}/zh/README.md                     |    2 -
 .../zh/UserGuide/develop/QuickStart/Data-Model.md  |    0
 .../develop/QuickStart/Interface-Definitions.md    |    0
 .../zh/UserGuide/develop/QuickStart/QuickStart.md  |    0
 .../zh/UserGuide/latest}/QuickStart/Data-Model.md  |   55 +-
 .../latest}/QuickStart/Interface-Definitions.md    |    0
 .../QuickStart/Navigating_Time_Series_Data.md      |    0
 .../zh/UserGuide/latest}/QuickStart/QuickStart.md  |    0
 .../zh/UserGuide/v1.x}/QuickStart/Data-Model.md    |   55 +-
 .../QuickStart/Navigating_Time_Series_Data.md      |    0
 .../zh/UserGuide/v1.x}/QuickStart/QuickStart.md    |    0
 {docs/src => src}/zh/stage/QuickStart.md           |    0
 82 files changed, 5581 insertions(+), 1426 deletions(-)

diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml
index a6065b698..8dcf979b4 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -29,7 +29,7 @@ jobs:
       - name: Install pnpm
         uses: pnpm/action-setup@v4
         with:
-          package_json_file: 'docs/package.json'
+          package_json_file: 'package.json'
           run_install: true
           version: 8
 
@@ -38,19 +38,17 @@ jobs:
         with:
           node-version: 20
           cache: pnpm
-          cache-dependency-path: docs/pnpm-lock.yaml
+          cache-dependency-path: pnpm-lock.yaml
 
 
       - name: Install deps
         run: |-
-          cd docs 
           pnpm install --frozen-lockfile
 
       - name: Test build Docs
         env:
           NODE_OPTIONS: --max_old_space_size=8192
         run: |-
-          cd docs
           pnpm run docs:build
           > src/.vuepress/dist/.nojekyll
 
@@ -77,14 +75,12 @@ jobs:
 
       - name: Install deps
         run: |-
-          cd docs 
           pnpm install --frozen-lockfile
 
       - name: Build Docs
         env:
           NODE_OPTIONS: --max_old_space_size=8192
         run: |-
-          cd docs
           pnpm run docs:build
           > src/.vuepress/dist/.nojekyll
 
@@ -92,7 +88,6 @@ jobs:
         env:
           TSFILE_WEBSITE_BUILD: ${{ secrets.TSFILE_WEBSITE_BUILD }}
         run: |
-          cd docs
           git config --global url."https://asf-ci-deploy:$TSFILE_WEBSITE_BUILD@github.com/apache/".insteadOf "https://github.com/apache/"
           git config --global user.name github-actions
           git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
diff --git a/.gitignore b/.gitignore
index a7bf3e195..37f7476df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,7 @@ cpp/cmake-build-debug-mingw/
 .vscode/
 
 build/*
+node_modules/
+src/.vuepress/.cache/
+src/.vuepress/.temp/
+src/.vuepress/dist/
diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
deleted file mode 100644
index f61a88ee7..000000000
--- a/.mvn/develocity.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-<develocity xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
-    <projectId>tsfile</projectId>
-    <server>
-        <url>https://develocity.apache.org</url>
-        <allowUntrusted>false</allowUntrusted>
-    </server>
-    <buildScan>
-        <capture>
-            <fileFingerprints>true</fileFingerprints>
-            <buildLogging>true</buildLogging>
-            <testLogging>true</testLogging>
-        </capture>
-        <backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
-        <publishing>
-            <onlyIf><![CDATA[authenticated]]></onlyIf>
-        </publishing>
-        <obfuscation>
-            <ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
-        </obfuscation>
-    </buildScan>
-    <buildCache>
-        <local>
-            <enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
-        </local>
-        <remote>
-            <enabled>false</enabled>
-        </remote>
-    </buildCache>
-</develocity>
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
deleted file mode 100644
index 1dd32d62d..000000000
--- a/.mvn/extensions.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
-    <extension>
-        <groupId>com.gradle</groupId>
-        <artifactId>develocity-maven-extension</artifactId>
-        <version>1.23.1</version>
-    </extension>
-    <extension>
-        <groupId>com.gradle</groupId>
-        <artifactId>common-custom-user-data-maven-extension</artifactId>
-        <version>2.0.1</version>
-    </extension>
-</extensions>
diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties
deleted file mode 100644
index 4c5df80a0..000000000
--- a/.mvn/wrapper/maven-wrapper.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-# 
-#   http://www.apache.org/licenses/LICENSE-2.0
-# 
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
-wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
\ No newline at end of file
diff --git a/docs/deploy.cjs b/deploy.cjs
similarity index 100%
rename from docs/deploy.cjs
rename to deploy.cjs
diff --git a/docs/deploy_staging.cjs b/deploy_staging.cjs
similarity index 100%
rename from docs/deploy_staging.cjs
rename to deploy_staging.cjs
diff --git a/docs/.gitignore b/docs/.gitignore
deleted file mode 100644
index 411fb0d34..000000000
--- a/docs/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-
-node_modules/
-src/.vuepress/.cache/
-src/.vuepress/.temp/
-src/.vuepress/dist/
diff --git a/docs/src/.vuepress/components/docsearch/client/components/Docsearch.ts b/docs/src/.vuepress/components/docsearch/client/components/Docsearch.ts
deleted file mode 100644
index 0da929749..000000000
--- a/docs/src/.vuepress/components/docsearch/client/components/Docsearch.ts
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-/* eslint-disable no-underscore-dangle */
-/* eslint-disable @typescript-eslint/naming-convention */
-// eslint-disable-next-line import/no-named-default
-import { default as docsearch } from '@docsearch/js';
-import { usePageLang, useRouteLocale, usePageData } from '@vuepress/client';
-import { isArray } from '@vuepress/shared';
-import {
-  computed, defineComponent, h, onMounted, watch,
-} from 'vue';
-import type { PropType } from 'vue';
-import type { DocsearchOptions } from '../../shared/index.js';
-import { useDocsearchShim } from '../composables/index.js';
-
-declare const __DOCSEARCH_INJECT_STYLES__: boolean;
-declare const __DOCSEARCH_OPTIONS__: DocsearchOptions;
-const options = __DOCSEARCH_OPTIONS__;
-const defaultBranch = 'latest';
-
-if (__DOCSEARCH_INJECT_STYLES__) {
-  import('@docsearch/css');
-  import('../styles/docsearch.css');
-}
-
-export const Docsearch = defineComponent({
-  name: 'Docsearch',
-
-  props: {
-    containerId: {
-      type: String,
-      required: false,
-      default: 'docsearch-container',
-    },
-    options: {
-      type: Object as PropType<DocsearchOptions>,
-      required: false,
-      default: () => options,
-    },
-  },
-
-  setup(props) {
-    const routeLocale = useRouteLocale();
-    const lang = usePageLang();
-    const docsearchShim = useDocsearchShim();
-    const pageData = usePageData();
-
-    // resolve docsearch options for current locale
-    const optionsLocale = computed(() => ({
-      ...props.options,
-      ...props.options.locales?.[routeLocale.value],
-    }));
-
-    const getDocVersion = (branch = 'latest', path = '') => {
-      if (path.indexOf('UserGuide/Master') > -1 || path.indexOf('UserGuide') === -1) {
-        return branch;
-      }
-      const branchRex = /UserGuide\/V(\d+\.\d+\.x)/;
-      if (branchRex.test(path)) {
-        const tag = branchRex.exec(path)![1];
-        return `rel/${tag.replace('.x', '')}`;
-      }
-      return branch;
-    };
-
-    const facetFilters: string[] = [];
-
-    const initialize = (): void => {
-      const rawFacetFilters = optionsLocale.value.searchParameters?.facetFilters ?? [];
-      facetFilters.splice(
-        0,
-        facetFilters.length,
-        `lang:${lang.value}`,
-        `version:${getDocVersion(defaultBranch, pageData.value.path)}`,
-        ...(isArray(rawFacetFilters) ? rawFacetFilters : [rawFacetFilters]),
-      );
-      // @ts-expect-error: https://github.com/microsoft/TypeScript/issues/50690
-      docsearch({
-        ...docsearchShim,
-        ...optionsLocale.value,
-        container: `#${props.containerId}`,
-        searchParameters: {
-          ...optionsLocale.value.searchParameters,
-          facetFilters,
-        },
-      });
-    };
-
-    onMounted(() => {
-      initialize();
-
-      // re-initialize if the options is changed
-      watch(
-        [routeLocale, optionsLocale],
-        (
-          [curRouteLocale, curPropsLocale],
-          [prevRouteLocale, prevPropsLocale],
-        ) => {
-          if (curRouteLocale === prevRouteLocale) return;
-          if (
-            JSON.stringify(curPropsLocale) !== JSON.stringify(prevPropsLocale)
-          ) {
-            initialize();
-          }
-        },
-      );
-
-      // modify the facetFilters in place to avoid re-initializing docsearch
-      // when page lang is changed
-      watch(lang, (curLang, prevLang) => {
-        if (curLang !== prevLang) {
-          const prevIndex = facetFilters.findIndex(
-            (item) => item === `lang:${prevLang}`,
-          );
-          if (prevIndex > -1) {
-            facetFilters.splice(prevIndex, 1, `lang:${curLang}`);
-          }
-        }
-      });
-
-      watch(pageData, (cur, prev) => {
-        const newVersion = getDocVersion(defaultBranch, cur.path);
-        const oldVersion = getDocVersion(defaultBranch, prev.path);
-        if (newVersion !== oldVersion) {
-          const prevIndex = facetFilters.findIndex(
-            (item) => item === `version:${oldVersion}`,
-          );
-          if (prevIndex > -1) {
-            facetFilters.splice(prevIndex, 1, `version:${newVersion}`);
-          } else {
-            facetFilters.push(`version:${newVersion}`);
-          }
-        }
-      });
-    });
-
-    return () => h('div', { id: props.containerId });
-  },
-});
diff --git a/docs/src/.vuepress/components/docsearch/client/composables/useDocsearchShim.ts b/docs/src/.vuepress/components/docsearch/client/composables/useDocsearchShim.ts
deleted file mode 100644
index 0af761bf7..000000000
--- a/docs/src/.vuepress/components/docsearch/client/composables/useDocsearchShim.ts
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-import type { DocSearchProps } from '@docsearch/react';
-import { resolveRoutePathFromUrl } from '@vuepress/shared';
-import { debounce } from 'ts-debounce';
-import { useRouter } from 'vue-router';
-
-// eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle
-declare const __DOCSEARCH_INDEX_BASE__: string;
-
-const isSpecialClick = (event: MouseEvent): boolean => event.button === 1
-  || event.altKey
-  || event.ctrlKey
-  || event.metaKey
-  || event.shiftKey;
-
-/**
- * Get docsearch options to be compatible with VuePress
- */
-export const useDocsearchShim = (): Partial<DocSearchProps> => {
-  const router = useRouter();
-
-  return {
-    // render the hit component with custom `onClick` handler
-    hitComponent: ({ hit, children }) => ({
-      type: 'a',
-      ref: undefined,
-      constructor: undefined,
-      key: undefined,
-      props: {
-        href: hit.url,
-        // handle `onClick` by `router.push`
-        onClick: (event: MouseEvent) => {
-          if (isSpecialClick(event)) {
-            return;
-          }
-          event.preventDefault();
-          router.push(
-            resolveRoutePathFromUrl(hit.url, __DOCSEARCH_INDEX_BASE__),
-          );
-        },
-        children,
-      },
-      __v: null,
-    } as unknown),
-
-    // navigation behavior triggered by `onKeyDown` internally
-    navigator: {
-      // when pressing Enter without metaKey
-      navigate: ({ itemUrl }) => {
-        router.push(resolveRoutePathFromUrl(itemUrl, __DOCSEARCH_INDEX_BASE__));
-      },
-    },
-
-    // add search debounce
-    transformSearchClient: (searchClient) => {
-      const searchWithDebounce = debounce(searchClient.search, 500);
-      return {
-        ...searchClient,
-        search: async (...args) => searchWithDebounce(...args),
-      };
-    },
-  } as Partial<DocSearchProps>;
-};
diff --git a/docs/src/.vuepress/components/docsearch/client/config.js b/docs/src/.vuepress/components/docsearch/client/config.js
deleted file mode 100644
index 4c3ec6d69..000000000
--- a/docs/src/.vuepress/components/docsearch/client/config.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-
-import { defineClientConfig } from '@vuepress/client';
-import { Docsearch } from './components/index';
-
-export default defineClientConfig({
-  enhance({ app }) {
-    app.component('Docsearch', Docsearch);
-  },
-});
diff --git a/docs/src/.vuepress/components/docsearch/client/index.ts b/docs/src/.vuepress/components/docsearch/client/index.ts
deleted file mode 100644
index 02f288373..000000000
--- a/docs/src/.vuepress/components/docsearch/client/index.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-
-export * from '../shared/index.js';
-export * from './components/index.js';
diff --git a/docs/src/.vuepress/components/docsearch/client/shims.d.ts b/docs/src/.vuepress/components/docsearch/client/shims.d.ts
deleted file mode 100644
index 8ca883c09..000000000
--- a/docs/src/.vuepress/components/docsearch/client/shims.d.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-declare module '@docsearch/css' {
-  export {};
-}
-
-declare module '*.css' {
-  export {};
-}
diff --git a/docs/src/.vuepress/components/docsearch/client/styles/docsearch.css b/docs/src/.vuepress/components/docsearch/client/styles/docsearch.css
deleted file mode 100644
index f9d0da493..000000000
--- a/docs/src/.vuepress/components/docsearch/client/styles/docsearch.css
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-@media (min-width: 751px) {
-  #docsearch-container {
-    /* use min-width to avoid layout shift after initializing docsearch */
-    /* the value will vary according to the length of the `buttonText` */
-    /* current value is for the default `buttonText` */
-    min-width: 171.36px;
-  }
-}
-
-@media (max-width: 750px) {
-  .DocSearch-Container {
-    /* fix the search modal on mobile */
-    position: fixed;
-  }
-  #docsearch-container {
-    /* use min-width to avoid layout shift after initializing docsearch */
-    min-width: 52px;
-  }
-}
-
-@media print {
-  #docsearch-container {
-    display: none;
-  }
-}
diff --git a/docs/src/.vuepress/components/docsearch/node/docsearchPlugin.ts b/docs/src/.vuepress/components/docsearch/node/docsearchPlugin.ts
deleted file mode 100644
index 60156c6eb..000000000
--- a/docs/src/.vuepress/components/docsearch/node/docsearchPlugin.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-import type { Plugin } from '@vuepress/core';
-import { getDirname, path } from '@vuepress/utils';
-import type { DocsearchOptions } from '../shared/index.js';
-
-// eslint-disable-next-line @typescript-eslint/naming-convention, no-underscore-dangle
-const __dirname = getDirname(import.meta.url);
-
-/**
- * Options for @vuepress/plugin-docsearch-iotdb
- */
-export interface DocsearchPluginOptions extends DocsearchOptions {
-  /**
-   * Base path of the search index
-   */
-  indexBase?: string
-
-  /**
-   * Whether to inject docsearch default styles
-   */
-  injectStyles?: boolean
-}
-
-export const docsearchPlugin = ({
-  injectStyles = true,
-  indexBase,
-  ...options
-}: DocsearchPluginOptions): Plugin => ({
-  name: '@vuepress/plugin-docsearch-iotdb',
-
-  clientConfigFile: path.resolve(__dirname, '../client/config.js'),
-
-  define: (app) => ({
-    __DOCSEARCH_INJECT_STYLES__: injectStyles,
-    __DOCSEARCH_INDEX_BASE__: indexBase || app.options.base,
-    __DOCSEARCH_OPTIONS__: options,
-  }),
-});
diff --git a/docs/src/.vuepress/components/docsearch/node/index.ts b/docs/src/.vuepress/components/docsearch/node/index.ts
deleted file mode 100644
index 490e6d691..000000000
--- a/docs/src/.vuepress/components/docsearch/node/index.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-import { docsearchPlugin } from './docsearchPlugin.js';
-
-export * from '../shared/index.js';
-export * from './docsearchPlugin.js';
-export default docsearchPlugin;
diff --git a/docs/src/.vuepress/components/docsearch/shared/index.ts b/docs/src/.vuepress/components/docsearch/shared/index.ts
deleted file mode 100644
index 1e96bdc5e..000000000
--- a/docs/src/.vuepress/components/docsearch/shared/index.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-export * from './types.js';
diff --git a/docs/src/.vuepress/components/docsearch/shared/types.ts b/docs/src/.vuepress/components/docsearch/shared/types.ts
deleted file mode 100644
index 69e1b10f5..000000000
--- a/docs/src/.vuepress/components/docsearch/shared/types.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-import type { DocSearchProps } from '@docsearch/react';
-import type { LocaleConfig } from '@vuepress/shared';
-
-export type DocsearchLocaleData = Pick<
-DocSearchProps,
-| 'appId'
-| 'apiKey'
-| 'indexName'
-| 'placeholder'
-| 'searchParameters'
-| 'disableUserPersonalization'
-| 'initialQuery'
-| 'translations'
->;
-
-export interface DocsearchOptions extends DocsearchLocaleData {
-  locales?: LocaleConfig<DocsearchLocaleData>
-}
diff --git a/docs/src/.vuepress/styles/palette.scss b/docs/src/.vuepress/styles/palette.scss
deleted file mode 100644
index d1b4079e6..000000000
--- a/docs/src/.vuepress/styles/palette.scss
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
- */
-
-// you can change colors here
-$theme-color: #6738BD;
-$home-page-width: 1280px;
diff --git a/mvnw b/mvnw
deleted file mode 100755
index 5643201c7..000000000
--- a/mvnw
+++ /dev/null
@@ -1,316 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-# ----------------------------------------------------------------------------
-
-# ----------------------------------------------------------------------------
-# Maven Start Up Batch script
-#
-# Required ENV vars:
-# ------------------
-#   JAVA_HOME - location of a JDK home dir
-#
-# Optional ENV vars
-# -----------------
-#   M2_HOME - location of maven2's installed home dir
-#   MAVEN_OPTS - parameters passed to the Java VM when running Maven
-#     e.g. to debug Maven itself, use
-#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-# ----------------------------------------------------------------------------
-
-if [ -z "$MAVEN_SKIP_RC" ] ; then
-
-  if [ -f /usr/local/etc/mavenrc ] ; then
-    . /usr/local/etc/mavenrc
-  fi
-
-  if [ -f /etc/mavenrc ] ; then
-    . /etc/mavenrc
-  fi
-
-  if [ -f "$HOME/.mavenrc" ] ; then
-    . "$HOME/.mavenrc"
-  fi
-
-fi
-
-# OS specific support.  $var _must_ be set to either true or false.
-cygwin=false;
-darwin=false;
-mingw=false
-case "`uname`" in
-  CYGWIN*) cygwin=true ;;
-  MINGW*) mingw=true;;
-  Darwin*) darwin=true
-    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
-    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
-    if [ -z "$JAVA_HOME" ]; then
-      if [ -x "/usr/libexec/java_home" ]; then
-        export JAVA_HOME="`/usr/libexec/java_home`"
-      else
-        export JAVA_HOME="/Library/Java/Home"
-      fi
-    fi
-    ;;
-esac
-
-if [ -z "$JAVA_HOME" ] ; then
-  if [ -r /etc/gentoo-release ] ; then
-    JAVA_HOME=`java-config --jre-home`
-  fi
-fi
-
-if [ -z "$M2_HOME" ] ; then
-  ## resolve links - $0 may be a link to maven's home
-  PRG="$0"
-
-  # need this for relative symlinks
-  while [ -h "$PRG" ] ; do
-    ls=`ls -ld "$PRG"`
-    link=`expr "$ls" : '.*-> \(.*\)$'`
-    if expr "$link" : '/.*' > /dev/null; then
-      PRG="$link"
-    else
-      PRG="`dirname "$PRG"`/$link"
-    fi
-  done
-
-  saveddir=`pwd`
-
-  M2_HOME=`dirname "$PRG"`/..
-
-  # make it fully qualified
-  M2_HOME=`cd "$M2_HOME" && pwd`
-
-  cd "$saveddir"
-  # echo Using m2 at $M2_HOME
-fi
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin ; then
-  [ -n "$M2_HOME" ] &&
-    M2_HOME=`cygpath --unix "$M2_HOME"`
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-  [ -n "$CLASSPATH" ] &&
-    CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
-fi
-
-# For Mingw, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
-  [ -n "$M2_HOME" ] &&
-    M2_HOME="`(cd "$M2_HOME"; pwd)`"
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-fi
-
-if [ -z "$JAVA_HOME" ]; then
-  javaExecutable="`which javac`"
-  if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then
-    # readlink(1) is not available as standard on Solaris 10.
-    readLink=`which readlink`
-    if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then
-      if $darwin ; then
-        javaHome="`dirname \"$javaExecutable\"`"
-        javaExecutable="`cd \"$javaHome\" && pwd -P`/javac"
-      else
-        javaExecutable="`readlink -f \"$javaExecutable\"`"
-      fi
-      javaHome="`dirname \"$javaExecutable\"`"
-      javaHome=`expr "$javaHome" : '\(.*\)/bin'`
-      JAVA_HOME="$javaHome"
-      export JAVA_HOME
-    fi
-  fi
-fi
-
-if [ -z "$JAVACMD" ] ; then
-  if [ -n "$JAVA_HOME"  ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-      # IBM's JDK on AIX uses strange locations for the executables
-      JAVACMD="$JAVA_HOME/jre/sh/java"
-    else
-      JAVACMD="$JAVA_HOME/bin/java"
-    fi
-  else
-    JAVACMD="`\\unset -f command; \\command -v java`"
-  fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
-  echo "Error: JAVA_HOME is not defined correctly." >&2
-  echo "  We cannot execute $JAVACMD" >&2
-  exit 1
-fi
-
-if [ -z "$JAVA_HOME" ] ; then
-  echo "Warning: JAVA_HOME environment variable is not set."
-fi
-
-CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
-
-# traverses directory structure from process work directory to filesystem root
-# first directory with .mvn subdirectory is considered project base directory
-find_maven_basedir() {
-
-  if [ -z "$1" ]
-  then
-    echo "Path not specified to find_maven_basedir"
-    return 1
-  fi
-
-  basedir="$1"
-  wdir="$1"
-  while [ "$wdir" != '/' ] ; do
-    if [ -d "$wdir"/.mvn ] ; then
-      basedir=$wdir
-      break
-    fi
-    # workaround for JBEAP-8937 (on Solaris 10/Sparc)
-    if [ -d "${wdir}" ]; then
-      wdir=`cd "$wdir/.."; pwd`
-    fi
-    # end of workaround
-  done
-  echo "${basedir}"
-}
-
-# concatenates all lines of a file
-concat_lines() {
-  if [ -f "$1" ]; then
-    echo "$(tr -s '\n' ' ' < "$1")"
-  fi
-}
-
-BASE_DIR=`find_maven_basedir "$(pwd)"`
-if [ -z "$BASE_DIR" ]; then
-  exit 1;
-fi
-
-##########################################################################################
-# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-# This allows using the maven wrapper in projects that prohibit checking in binary data.
-##########################################################################################
-if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then
-    if [ "$MVNW_VERBOSE" = true ]; then
-      echo "Found .mvn/wrapper/maven-wrapper.jar"
-    fi
-else
-    if [ "$MVNW_VERBOSE" = true ]; then
-      echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..."
-    fi
-    if [ -n "$MVNW_REPOURL" ]; then
-      jarUrl="$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-    else
-      jarUrl="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-    fi
-    while IFS="=" read key value; do
-      case "$key" in (wrapperUrl) jarUrl="$value"; break ;;
-      esac
-    done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties"
-    if [ "$MVNW_VERBOSE" = true ]; then
-      echo "Downloading from: $jarUrl"
-    fi
-    wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar"
-    if $cygwin; then
-      wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"`
-    fi
-
-    if command -v wget > /dev/null; then
-        if [ "$MVNW_VERBOSE" = true ]; then
-          echo "Found wget ... using wget"
-        fi
-        if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
-            wget "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
-        else
-            wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" || rm -f "$wrapperJarPath"
-        fi
-    elif command -v curl > /dev/null; then
-        if [ "$MVNW_VERBOSE" = true ]; then
-          echo "Found curl ... using curl"
-        fi
-        if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then
-            curl -o "$wrapperJarPath" "$jarUrl" -f
-        else
-            curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f
-        fi
-
-    else
-        if [ "$MVNW_VERBOSE" = true ]; then
-          echo "Falling back to using Java to download"
-        fi
-        javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java"
-        # For Cygwin, switch paths to Windows format before running javac
-        if $cygwin; then
-          javaClass=`cygpath --path --windows "$javaClass"`
-        fi
-        if [ -e "$javaClass" ]; then
-            if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
-                if [ "$MVNW_VERBOSE" = true ]; then
-                  echo " - Compiling MavenWrapperDownloader.java ..."
-                fi
-                # Compiling the Java class
-                ("$JAVA_HOME/bin/javac" "$javaClass")
-            fi
-            if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then
-                # Running the downloader
-                if [ "$MVNW_VERBOSE" = true ]; then
-                  echo " - Running MavenWrapperDownloader.java ..."
-                fi
-                ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR")
-            fi
-        fi
-    fi
-fi
-##########################################################################################
-# End of extension
-##########################################################################################
-
-export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"}
-if [ "$MVNW_VERBOSE" = true ]; then
-  echo $MAVEN_PROJECTBASEDIR
-fi
-MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS"
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
-  [ -n "$M2_HOME" ] &&
-    M2_HOME=`cygpath --path --windows "$M2_HOME"`
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
-  [ -n "$CLASSPATH" ] &&
-    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-  [ -n "$MAVEN_PROJECTBASEDIR" ] &&
-    MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"`
-fi
-
-# Provide a "standardized" way to retrieve the CLI args that will
-# work with both Windows and non-Windows executions.
-MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@"
-export MAVEN_CMD_LINE_ARGS
-
-WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-exec "$JAVACMD" \
-  $MAVEN_OPTS \
-  $MAVEN_DEBUG_OPTS \
-  -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \
-  "-Dmaven.home=${M2_HOME}" \
-  "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \
-  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@"
diff --git a/mvnw.cmd b/mvnw.cmd
deleted file mode 100755
index 8a15b7f31..000000000
--- a/mvnw.cmd
+++ /dev/null
@@ -1,188 +0,0 @@
-@REM ----------------------------------------------------------------------------
-@REM Licensed to the Apache Software Foundation (ASF) under one
-@REM or more contributor license agreements.  See the NOTICE file
-@REM distributed with this work for additional information
-@REM regarding copyright ownership.  The ASF licenses this file
-@REM to you under the Apache License, Version 2.0 (the
-@REM "License"); you may not use this file except in compliance
-@REM with the License.  You may obtain a copy of the License at
-@REM
-@REM    http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing,
-@REM software distributed under the License is distributed on an
-@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-@REM KIND, either express or implied.  See the License for the
-@REM specific language governing permissions and limitations
-@REM under the License.
-@REM ----------------------------------------------------------------------------
-
-@REM ----------------------------------------------------------------------------
-@REM Maven Start Up Batch script
-@REM
-@REM Required ENV vars:
-@REM JAVA_HOME - location of a JDK home dir
-@REM
-@REM Optional ENV vars
-@REM M2_HOME - location of maven2's installed home dir
-@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands
-@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending
-@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven
-@REM     e.g. to debug Maven itself, use
-@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
-@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files
-@REM ----------------------------------------------------------------------------
-
-@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
-@echo off
-@REM set title of command window
-title %0
-@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'
-@if "%MAVEN_BATCH_ECHO%" == "on"  echo %MAVEN_BATCH_ECHO%
-
-@REM set %HOME% to equivalent of $HOME
-if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%")
-
-@REM Execute a user defined script before this one
-if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
-@REM check for pre script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
-if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
-:skipRcPre
-
-@setlocal
-
-set ERROR_CODE=0
-
-@REM To isolate internal variables from possible post scripts, we use another setlocal
-@setlocal
-
-@REM ==== START VALIDATION ====
-if not "%JAVA_HOME%" == "" goto OkJHome
-
-echo.
-echo Error: JAVA_HOME not found in your environment. >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-:OkJHome
-if exist "%JAVA_HOME%\bin\java.exe" goto init
-
-echo.
-echo Error: JAVA_HOME is set to an invalid directory. >&2
-echo JAVA_HOME = "%JAVA_HOME%" >&2
-echo Please set the JAVA_HOME variable in your environment to match the >&2
-echo location of your Java installation. >&2
-echo.
-goto error
-
-@REM ==== END VALIDATION ====
-
-:init
-
-@REM Find the project base dir, i.e. the directory that contains the folder ".mvn".
-@REM Fallback to current working directory if not found.
-
-set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%
-IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir
-
-set EXEC_DIR=%CD%
-set WDIR=%EXEC_DIR%
-:findBaseDir
-IF EXIST "%WDIR%"\.mvn goto baseDirFound
-cd ..
-IF "%WDIR%"=="%CD%" goto baseDirNotFound
-set WDIR=%CD%
-goto findBaseDir
-
-:baseDirFound
-set MAVEN_PROJECTBASEDIR=%WDIR%
-cd "%EXEC_DIR%"
-goto endDetectBaseDir
-
-:baseDirNotFound
-set MAVEN_PROJECTBASEDIR=%EXEC_DIR%
-cd "%EXEC_DIR%"
-
-:endDetectBaseDir
-
-IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig
-
-@setlocal EnableExtensions EnableDelayedExpansion
-for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a
-@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%
-
-:endReadAdditionalConfig
-
-SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe"
-set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar"
-set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain
-
-set DOWNLOAD_URL="https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-
-FOR /F "usebackq tokens=1,2 delims==" %%A IN ("%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.properties") DO (
-    IF "%%A"=="wrapperUrl" SET DOWNLOAD_URL=%%B
-)
-
-@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central
-@REM This allows using the maven wrapper in projects that prohibit checking in binary data.
-if exist %WRAPPER_JAR% (
-    if "%MVNW_VERBOSE%" == "true" (
-        echo Found %WRAPPER_JAR%
-    )
-) else (
-    if not "%MVNW_REPOURL%" == "" (
-        SET DOWNLOAD_URL="%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
-    )
-    if "%MVNW_VERBOSE%" == "true" (
-        echo Couldn't find %WRAPPER_JAR%, downloading it ...
-        echo Downloading from: %DOWNLOAD_URL%
-    )
-
-    powershell -Command "&{"^
-		"$webclient = new-object System.Net.WebClient;"^
-		"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^
-		"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^
-		"}"^
-		"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')"^
-		"}"
-    if "%MVNW_VERBOSE%" == "true" (
-        echo Finished downloading %WRAPPER_JAR%
-    )
-)
-@REM End of extension
-
-@REM Provide a "standardized" way to retrieve the CLI args that will
-@REM work with both Windows and non-Windows executions.
-set MAVEN_CMD_LINE_ARGS=%*
-
-%MAVEN_JAVA_EXE% ^
-  %JVM_CONFIG_MAVEN_PROPS% ^
-  %MAVEN_OPTS% ^
-  %MAVEN_DEBUG_OPTS% ^
-  -classpath %WRAPPER_JAR% ^
-  "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" ^
-  %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*
-if ERRORLEVEL 1 goto error
-goto end
-
-:error
-set ERROR_CODE=1
-
-:end
-@endlocal & set ERROR_CODE=%ERROR_CODE%
-
-if not "%MAVEN_SKIP_RC%"=="" goto skipRcPost
-@REM check for post script, once with legacy .bat ending and once with .cmd ending
-if exist "%USERPROFILE%\mavenrc_post.bat" call "%USERPROFILE%\mavenrc_post.bat"
-if exist "%USERPROFILE%\mavenrc_post.cmd" call "%USERPROFILE%\mavenrc_post.cmd"
-:skipRcPost
-
-@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'
-if "%MAVEN_BATCH_PAUSE%"=="on" pause
-
-if "%MAVEN_TERMINATE_CMD%"=="on" exit %ERROR_CODE%
-
-cmd /C exit /B %ERROR_CODE%
diff --git a/docs/package.json b/package.json
similarity index 56%
rename from docs/package.json
rename to package.json
index 782a03fae..2353dabab 100644
--- a/docs/package.json
+++ b/package.json
@@ -13,18 +13,17 @@
     "deploy:staging": "node --max_old_space_size=6000 deploy_staging.cjs"
   },
   "devDependencies": {
-    "@docsearch/css": "^3.5.2",
-    "@docsearch/js": "^3.5.2",
-    "@docsearch/react": "^3.5.2",
-    "@vuepress/client": "2.0.0-rc.0",
-    "@vuepress/plugin-docsearch": "2.0.0-rc.0",
-    "@vuepress/shared": "2.0.0-rc.0",
-    "@vuepress/utils": "2.0.0-rc.0",
-    "gh-pages": "^6.1.1",
+    "@vuepress/bundler-vite": "2.0.0-rc.19",
+    "@vuepress/helper": "2.0.0-rc.74",
+    "@vuepress/plugin-docsearch": "2.0.0-rc.74",
+    "gh-pages": "^6.3.0",
+    "mathjax-full": "^3.2.2",
+    "sass-embedded": "^1.83.4",
     "ts-debounce": "^4.0.0",
-    "vue": "^3.4.3",
-    "vue-router": "^4.2.5",
-    "vuepress": "2.0.0-rc.0",
-    "vuepress-theme-hope": "2.0.0-rc.11"
+    "vue": "^3.5.13",
+    "vue-router": "^4.5.0",
+    "vue3-carousel": "^0.13.0",
+    "vuepress": "2.0.0-rc.19",
+    "vuepress-theme-hope": "2.0.0-rc.71"
   }
 }
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
new file mode 100644
index 000000000..01ba9085e
--- /dev/null
+++ b/pnpm-lock.yaml
@@ -0,0 +1,5187 @@
+lockfileVersion: '9.0'
+
+settings:
+  autoInstallPeers: true
+  excludeLinksFromLockfile: false
+
+importers:
+
+  .:
+    devDependencies:
+      '@vuepress/bundler-vite':
+        specifier: 2.0.0-rc.19
+        version: 2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0)
+      '@vuepress/helper':
+        specifier: 2.0.0-rc.74
+        version: 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-docsearch':
+        specifier: 2.0.0-rc.74
+        version: 2.0.0-rc.74(@algolia/client-search@5.20.1)(search-insights@2.17.3)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      gh-pages:
+        specifier: ^6.3.0
+        version: 6.3.0
+      mathjax-full:
+        specifier: ^3.2.2
+        version: 3.2.2
+      sass-embedded:
+        specifier: ^1.83.4
+        version: 1.83.4
+      ts-debounce:
+        specifier: ^4.0.0
+        version: 4.0.0
+      vue:
+        specifier: ^3.5.13
+        version: 3.5.13
+      vue-router:
+        specifier: ^4.5.0
+        version: 4.5.0(vue@3.5.13)
+      vue3-carousel:
+        specifier: ^0.13.0
+        version: 0.13.0(vue@3.5.13)
+      vuepress:
+        specifier: 2.0.0-rc.19
+        version: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+      vuepress-theme-hope:
+        specifier: 2.0.0-rc.71
+        version: 2.0.0-rc.71(@vuepress/plugin-docsearch@2.0.0-rc.74(@algolia/client-search@5.20.1)(search-insights@2.17.3)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)))(markdown-it@14.1.0)(mathjax-full@3.2.2)(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+
+packages:
+
+  '@algolia/autocomplete-core@1.17.9':
+    resolution: {integrity: sha512-O7BxrpLDPJWWHv/DLA9DRFWs+iY1uOJZkqUwjS5HSZAGcl0hIVCQ97LTLewiZmZ402JYUrun+8NqFP+hCknlbQ==}
+
+  '@algolia/autocomplete-plugin-algolia-insights@1.17.9':
+    resolution: {integrity: sha512-u1fEHkCbWF92DBeB/KHeMacsjsoI0wFhjZtlCq2ddZbAehshbZST6Hs0Avkc0s+4UyBGbMDnSuXHLuvRWK5iDQ==}
+    peerDependencies:
+      search-insights: '>= 1 < 3'
+
+  '@algolia/autocomplete-preset-algolia@1.17.9':
+    resolution: {integrity: sha512-Na1OuceSJeg8j7ZWn5ssMu/Ax3amtOwk76u4h5J4eK2Nx2KB5qt0Z4cOapCsxot9VcEN11ADV5aUSlQF4RhGjQ==}
+    peerDependencies:
+      '@algolia/client-search': '>= 4.9.1 < 6'
+      algoliasearch: '>= 4.9.1 < 6'
+
+  '@algolia/autocomplete-shared@1.17.9':
+    resolution: {integrity: sha512-iDf05JDQ7I0b7JEA/9IektxN/80a2MZ1ToohfmNS3rfeuQnIKI3IJlIafD0xu4StbtQTghx9T3Maa97ytkXenQ==}
+    peerDependencies:
+      '@algolia/client-search': '>= 4.9.1 < 6'
+      algoliasearch: '>= 4.9.1 < 6'
+
+  '@algolia/client-abtesting@5.20.1':
+    resolution: {integrity: sha512-73pnrUixMVnfjgldxhRi5eYLraMt95/MhQHevoFtqwy+t2hfayxYBZXJ2k6JJDld8UmjcWwq3wXnvZJCOm7vZA==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-analytics@5.20.1':
+    resolution: {integrity: sha512-BRiyL+AwPfGTlo3HbrFDMeTK2z5SaJmB8PBd1JI66d6MeP85+38Mux2FFw+nvDOfBwlGaN/uw2AQTOZ9r4JYtA==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-common@5.20.1':
+    resolution: {integrity: sha512-Dk4RhklaAbqLzOeJO/MoIFUjcKYGECiAJYYqDzmE/sbXICk5Uo6dGlv8w4z09lmvsASpNUoMvGYHGBK+WkEGpA==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-insights@5.20.1':
+    resolution: {integrity: sha512-eu5vhmyYgzZjFIPmkoLo/TU4s+IdsjQ+bEfLj2jcMvyfBD4DcqySKp03TrXjdrHPGO2I3fF7dPZOoCgEi1j2/g==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-personalization@5.20.1':
+    resolution: {integrity: sha512-TrUCJ0nVqE0PnOGoRG/RCirxWZ6pF+skZgaaESN2IBnJtk/In14xVmoj8Yzck81bGUY/UI+5dUUOOS7YTSVEhQ==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-query-suggestions@5.20.1':
+    resolution: {integrity: sha512-rHHX/30R3Kkx2aZeR7/8+jU0s6h1cNPMAKOvcMUGVmoiuh46F1sxzmiswHLg6CuLrQ0ikhpdhn3ehFSJwHgp2Q==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/client-search@5.20.1':
+    resolution: {integrity: sha512-YzHD0Nqp7AjvzbFrMIjhCUl6apHkWfZxKDSlMqf80mXkuG52wY289zFlvTfHjHK1nEiDslH3uHYAR/poOOa21Q==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/ingestion@1.20.1':
+    resolution: {integrity: sha512-sHNZ8b5tK7TvXMiiKK+89UsXnFthnAZc0vpwvDKygdTqvsfmfJPhthx36eHTAVYfh7NnA1+eqZsT/hMUGeZFkQ==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/monitoring@1.20.1':
+    resolution: {integrity: sha512-+fHd1U3gSeszCH03UtyUZmprpmcJH6aJKyUTOfY73lKKRR7hVofmV812ahScR0T4xUkBlGjTLeGnsKY0IG6K6Q==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/recommend@5.20.1':
+    resolution: {integrity: sha512-+IuiUv3OSOFFKoXFMlZHfFzXGqEQbKhncpAcRSAtJmN4pupY4aNblvJ9Wv0SMm7/MSFRy2JLIoYWRSBpSV2yEg==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/requester-browser-xhr@5.20.1':
+    resolution: {integrity: sha512-+RaJa5MpJqPHaSbBw0nrHeyIAd5C4YC9C1LfDbZJqrn5ZwOvHMUTod852XmzX/1S8oi1jTynB4FjicmauZIKwA==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/requester-fetch@5.20.1':
+    resolution: {integrity: sha512-4l1cba8t02rNkLeX/B7bmgDg3CwuRunmuCSgN2zORDtepjg9YAU1qcyRTyc/rAuNJ54AduRfoBplmKXjowYzbQ==}
+    engines: {node: '>= 14.0.0'}
+
+  '@algolia/requester-node-http@5.20.1':
+    resolution: {integrity: sha512-4npKo1qpLG5xusFoFUj4xIIR/6y3YoCuS/uhagv2blGFotDj+D6OLTML3Pp6JCVcES4zDbkoY7pmNBA8ARtidQ==}
+    engines: {node: '>= 14.0.0'}
+
+  '@babel/helper-string-parser@7.25.9':
+    resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}
+    engines: {node: '>=6.9.0'}
+
+  '@babel/helper-validator-identifier@7.25.9':
+    resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}
+    engines: {node: '>=6.9.0'}
+
+  '@babel/parser@7.26.7':
+    resolution: {integrity: sha512-kEvgGGgEjRUutvdVvZhbn/BxVt+5VSpwXz1j3WYXQbXDo8KzFOPNG2GQbdAiNq8g6wn1yKk7C/qrke03a84V+w==}
+    engines: {node: '>=6.0.0'}
+    hasBin: true
+
+  '@babel/types@7.26.7':
+    resolution: {integrity: sha512-t8kDRGrKXyp6+tjUh7hw2RLyclsW4TRoRvRHtSyAX9Bb5ldlFh+90YAYY6awRXrlB4G5G2izNeGySpATlFzmOg==}
+    engines: {node: '>=6.9.0'}
+
+  '@bufbuild/protobuf@2.2.3':
+    resolution: {integrity: sha512-tFQoXHJdkEOSwj5tRIZSPNUuXK3RaR7T1nUrPgbYX1pUbvqqaaZAsfo+NXBPsz5rZMSKVFrgK1WL8Q/MSLvprg==}
+
+  '@docsearch/css@3.8.3':
+    resolution: {integrity: sha512-1nELpMV40JDLJ6rpVVFX48R1jsBFIQ6RnEQDsLFGmzOjPWTOMlZqUcXcvRx8VmYV/TqnS1l784Ofz+ZEb+wEOQ==}
+
+  '@docsearch/js@3.8.3':
+    resolution: {integrity: sha512-CQsX1zeoPJIWxN3IGoDSWOqzRc0JsOE9Bclegf9llwjYN2rzzJF93zagGcT3uI3tF31oCqTuUOVGW/mVFb7arw==}
+
+  '@docsearch/react@3.8.3':
+    resolution: {integrity: sha512-6UNrg88K7lJWmuS6zFPL/xgL+n326qXqZ7Ybyy4E8P/6Rcblk3GE8RXxeol4Pd5pFpKMhOhBhzABKKwHtbJCIg==}
+    peerDependencies:
+      '@types/react': '>= 16.8.0 < 19.0.0'
+      react: '>= 16.8.0 < 19.0.0'
+      react-dom: '>= 16.8.0 < 19.0.0'
+      search-insights: '>= 1 < 3'
+    peerDependenciesMeta:
+      '@types/react':
+        optional: true
+      react:
+        optional: true
+      react-dom:
+        optional: true
+      search-insights:
+        optional: true
+
+  '@esbuild/aix-ppc64@0.21.5':
+    resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==}
+    engines: {node: '>=12'}
+    cpu: [ppc64]
+    os: [aix]
+
+  '@esbuild/aix-ppc64@0.24.2':
+    resolution: {integrity: sha512-thpVCb/rhxE/BnMLQ7GReQLLN8q9qbHmI55F4489/ByVg2aQaQ6kbcLb6FHkocZzQhxc4gx0sCk0tJkKBFzDhA==}
+    engines: {node: '>=18'}
+    cpu: [ppc64]
+    os: [aix]
+
+  '@esbuild/android-arm64@0.21.5':
+    resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==}
+    engines: {node: '>=12'}
+    cpu: [arm64]
+    os: [android]
+
+  '@esbuild/android-arm64@0.24.2':
+    resolution: {integrity: sha512-cNLgeqCqV8WxfcTIOeL4OAtSmL8JjcN6m09XIgro1Wi7cF4t/THaWEa7eL5CMoMBdjoHOTh/vwTO/o2TRXIyzg==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [android]
+
+  '@esbuild/android-arm@0.21.5':
+    resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==}
+    engines: {node: '>=12'}
+    cpu: [arm]
+    os: [android]
+
+  '@esbuild/android-arm@0.24.2':
+    resolution: {integrity: sha512-tmwl4hJkCfNHwFB3nBa8z1Uy3ypZpxqxfTQOcHX+xRByyYgunVbZ9MzUUfb0RxaHIMnbHagwAxuTL+tnNM+1/Q==}
+    engines: {node: '>=18'}
+    cpu: [arm]
+    os: [android]
+
+  '@esbuild/android-x64@0.21.5':
+    resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [android]
+
+  '@esbuild/android-x64@0.24.2':
+    resolution: {integrity: sha512-B6Q0YQDqMx9D7rvIcsXfmJfvUYLoP722bgfBlO5cGvNVb5V/+Y7nhBE3mHV9OpxBf4eAS2S68KZztiPaWq4XYw==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [android]
+
+  '@esbuild/darwin-arm64@0.21.5':
+    resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==}
+    engines: {node: '>=12'}
+    cpu: [arm64]
+    os: [darwin]
+
+  '@esbuild/darwin-arm64@0.24.2':
+    resolution: {integrity: sha512-kj3AnYWc+CekmZnS5IPu9D+HWtUI49hbnyqk0FLEJDbzCIQt7hg7ucF1SQAilhtYpIujfaHr6O0UHlzzSPdOeA==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [darwin]
+
+  '@esbuild/darwin-x64@0.21.5':
+    resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [darwin]
+
+  '@esbuild/darwin-x64@0.24.2':
+    resolution: {integrity: sha512-WeSrmwwHaPkNR5H3yYfowhZcbriGqooyu3zI/3GGpF8AyUdsrrP0X6KumITGA9WOyiJavnGZUwPGvxvwfWPHIA==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [darwin]
+
+  '@esbuild/freebsd-arm64@0.21.5':
+    resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==}
+    engines: {node: '>=12'}
+    cpu: [arm64]
+    os: [freebsd]
+
+  '@esbuild/freebsd-arm64@0.24.2':
+    resolution: {integrity: sha512-UN8HXjtJ0k/Mj6a9+5u6+2eZ2ERD7Edt1Q9IZiB5UZAIdPnVKDoG7mdTVGhHJIeEml60JteamR3qhsr1r8gXvg==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [freebsd]
+
+  '@esbuild/freebsd-x64@0.21.5':
+    resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [freebsd]
+
+  '@esbuild/freebsd-x64@0.24.2':
+    resolution: {integrity: sha512-TvW7wE/89PYW+IevEJXZ5sF6gJRDY/14hyIGFXdIucxCsbRmLUcjseQu1SyTko+2idmCw94TgyaEZi9HUSOe3Q==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [freebsd]
+
+  '@esbuild/linux-arm64@0.21.5':
+    resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==}
+    engines: {node: '>=12'}
+    cpu: [arm64]
+    os: [linux]
+
+  '@esbuild/linux-arm64@0.24.2':
+    resolution: {integrity: sha512-7HnAD6074BW43YvvUmE/35Id9/NB7BeX5EoNkK9obndmZBUk8xmJJeU7DwmUeN7tkysslb2eSl6CTrYz6oEMQg==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [linux]
+
+  '@esbuild/linux-arm@0.21.5':
+    resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==}
+    engines: {node: '>=12'}
+    cpu: [arm]
+    os: [linux]
+
+  '@esbuild/linux-arm@0.24.2':
+    resolution: {integrity: sha512-n0WRM/gWIdU29J57hJyUdIsk0WarGd6To0s+Y+LwvlC55wt+GT/OgkwoXCXvIue1i1sSNWblHEig00GBWiJgfA==}
+    engines: {node: '>=18'}
+    cpu: [arm]
+    os: [linux]
+
+  '@esbuild/linux-ia32@0.21.5':
+    resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==}
+    engines: {node: '>=12'}
+    cpu: [ia32]
+    os: [linux]
+
+  '@esbuild/linux-ia32@0.24.2':
+    resolution: {integrity: sha512-sfv0tGPQhcZOgTKO3oBE9xpHuUqguHvSo4jl+wjnKwFpapx+vUDcawbwPNuBIAYdRAvIDBfZVvXprIj3HA+Ugw==}
+    engines: {node: '>=18'}
+    cpu: [ia32]
+    os: [linux]
+
+  '@esbuild/linux-loong64@0.21.5':
+    resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==}
+    engines: {node: '>=12'}
+    cpu: [loong64]
+    os: [linux]
+
+  '@esbuild/linux-loong64@0.24.2':
+    resolution: {integrity: sha512-CN9AZr8kEndGooS35ntToZLTQLHEjtVB5n7dl8ZcTZMonJ7CCfStrYhrzF97eAecqVbVJ7APOEe18RPI4KLhwQ==}
+    engines: {node: '>=18'}
+    cpu: [loong64]
+    os: [linux]
+
+  '@esbuild/linux-mips64el@0.21.5':
+    resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==}
+    engines: {node: '>=12'}
+    cpu: [mips64el]
+    os: [linux]
+
+  '@esbuild/linux-mips64el@0.24.2':
+    resolution: {integrity: sha512-iMkk7qr/wl3exJATwkISxI7kTcmHKE+BlymIAbHO8xanq/TjHaaVThFF6ipWzPHryoFsesNQJPE/3wFJw4+huw==}
+    engines: {node: '>=18'}
+    cpu: [mips64el]
+    os: [linux]
+
+  '@esbuild/linux-ppc64@0.21.5':
+    resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==}
+    engines: {node: '>=12'}
+    cpu: [ppc64]
+    os: [linux]
+
+  '@esbuild/linux-ppc64@0.24.2':
+    resolution: {integrity: sha512-shsVrgCZ57Vr2L8mm39kO5PPIb+843FStGt7sGGoqiiWYconSxwTiuswC1VJZLCjNiMLAMh34jg4VSEQb+iEbw==}
+    engines: {node: '>=18'}
+    cpu: [ppc64]
+    os: [linux]
+
+  '@esbuild/linux-riscv64@0.21.5':
+    resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==}
+    engines: {node: '>=12'}
+    cpu: [riscv64]
+    os: [linux]
+
+  '@esbuild/linux-riscv64@0.24.2':
+    resolution: {integrity: sha512-4eSFWnU9Hhd68fW16GD0TINewo1L6dRrB+oLNNbYyMUAeOD2yCK5KXGK1GH4qD/kT+bTEXjsyTCiJGHPZ3eM9Q==}
+    engines: {node: '>=18'}
+    cpu: [riscv64]
+    os: [linux]
+
+  '@esbuild/linux-s390x@0.21.5':
+    resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==}
+    engines: {node: '>=12'}
+    cpu: [s390x]
+    os: [linux]
+
+  '@esbuild/linux-s390x@0.24.2':
+    resolution: {integrity: sha512-S0Bh0A53b0YHL2XEXC20bHLuGMOhFDO6GN4b3YjRLK//Ep3ql3erpNcPlEFed93hsQAjAQDNsvcK+hV90FubSw==}
+    engines: {node: '>=18'}
+    cpu: [s390x]
+    os: [linux]
+
+  '@esbuild/linux-x64@0.21.5':
+    resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [linux]
+
+  '@esbuild/linux-x64@0.24.2':
+    resolution: {integrity: sha512-8Qi4nQcCTbLnK9WoMjdC9NiTG6/E38RNICU6sUNqK0QFxCYgoARqVqxdFmWkdonVsvGqWhmm7MO0jyTqLqwj0Q==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [linux]
+
+  '@esbuild/netbsd-arm64@0.24.2':
+    resolution: {integrity: sha512-wuLK/VztRRpMt9zyHSazyCVdCXlpHkKm34WUyinD2lzK07FAHTq0KQvZZlXikNWkDGoT6x3TD51jKQ7gMVpopw==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [netbsd]
+
+  '@esbuild/netbsd-x64@0.21.5':
+    resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [netbsd]
+
+  '@esbuild/netbsd-x64@0.24.2':
+    resolution: {integrity: sha512-VefFaQUc4FMmJuAxmIHgUmfNiLXY438XrL4GDNV1Y1H/RW3qow68xTwjZKfj/+Plp9NANmzbH5R40Meudu8mmw==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [netbsd]
+
+  '@esbuild/openbsd-arm64@0.24.2':
+    resolution: {integrity: sha512-YQbi46SBct6iKnszhSvdluqDmxCJA+Pu280Av9WICNwQmMxV7nLRHZfjQzwbPs3jeWnuAhE9Jy0NrnJ12Oz+0A==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [openbsd]
+
+  '@esbuild/openbsd-x64@0.21.5':
+    resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [openbsd]
+
+  '@esbuild/openbsd-x64@0.24.2':
+    resolution: {integrity: sha512-+iDS6zpNM6EnJyWv0bMGLWSWeXGN/HTaF/LXHXHwejGsVi+ooqDfMCCTerNFxEkM3wYVcExkeGXNqshc9iMaOA==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [openbsd]
+
+  '@esbuild/sunos-x64@0.21.5':
+    resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [sunos]
+
+  '@esbuild/sunos-x64@0.24.2':
+    resolution: {integrity: sha512-hTdsW27jcktEvpwNHJU4ZwWFGkz2zRJUz8pvddmXPtXDzVKTTINmlmga3ZzwcuMpUvLw7JkLy9QLKyGpD2Yxig==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [sunos]
+
+  '@esbuild/win32-arm64@0.21.5':
+    resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==}
+    engines: {node: '>=12'}
+    cpu: [arm64]
+    os: [win32]
+
+  '@esbuild/win32-arm64@0.24.2':
+    resolution: {integrity: sha512-LihEQ2BBKVFLOC9ZItT9iFprsE9tqjDjnbulhHoFxYQtQfai7qfluVODIYxt1PgdoyQkz23+01rzwNwYfutxUQ==}
+    engines: {node: '>=18'}
+    cpu: [arm64]
+    os: [win32]
+
+  '@esbuild/win32-ia32@0.21.5':
+    resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==}
+    engines: {node: '>=12'}
+    cpu: [ia32]
+    os: [win32]
+
+  '@esbuild/win32-ia32@0.24.2':
+    resolution: {integrity: sha512-q+iGUwfs8tncmFC9pcnD5IvRHAzmbwQ3GPS5/ceCyHdjXubwQWI12MKWSNSMYLJMq23/IUCvJMS76PDqXe1fxA==}
+    engines: {node: '>=18'}
+    cpu: [ia32]
+    os: [win32]
+
+  '@esbuild/win32-x64@0.21.5':
+    resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==}
+    engines: {node: '>=12'}
+    cpu: [x64]
+    os: [win32]
+
+  '@esbuild/win32-x64@0.24.2':
+    resolution: {integrity: sha512-7VTgWzgMGvup6aSqDPLiW5zHaxYJGTO4OokMjIlrCtf+VpEL+cXKtCvg723iguPYI5oaUNdS+/V7OU2gvXVWEg==}
+    engines: {node: '>=18'}
+    cpu: [x64]
+    os: [win32]
+
+  '@jridgewell/sourcemap-codec@1.5.0':
+    resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
+
+  '@lit-labs/ssr-dom-shim@1.3.0':
+    resolution: {integrity: sha512-nQIWonJ6eFAvUUrSlwyHDm/aE8PBDu5kRpL0vHMg6K8fK3Diq1xdPjTnsJSwxABhaZ+5eBi1btQB5ShUTKo4nQ==}
+
+  '@lit/reactive-element@2.0.4':
+    resolution: {integrity: sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ==}
+
+  '@mdit-vue/plugin-component@2.1.3':
+    resolution: {integrity: sha512-9AG17beCgpEw/4ldo/M6Y/1Rh4E1bqMmr/rCkWKmCAxy9tJz3lzY7HQJanyHMJufwsb3WL5Lp7Om/aPcQTZ9SA==}
+
+  '@mdit-vue/plugin-frontmatter@2.1.3':
+    resolution: {integrity: sha512-KxsSCUVBEmn6sJcchSTiI5v9bWaoRxe68RBYRDGcSEY1GTnfQ5gQPMIsM48P4q1luLEIWurVGGrRu7u93//LDQ==}
+
+  '@mdit-vue/plugin-headers@2.1.3':
+    resolution: {integrity: sha512-AcL7a7LHQR3ISINhfjGJNE/bHyM0dcl6MYm1Sr//zF7ZgokPGwD/HhD7TzwmrKA9YNYCcO9P3QmF/RN9XyA6CA==}
+
+  '@mdit-vue/plugin-sfc@2.1.3':
+    resolution: {integrity: sha512-Ezl0dNvQNS639Yl4siXm+cnWtQvlqHrg+u+lnau/OHpj9Xh3LVap/BSQVugKIV37eR13jXXYf3VaAOP1fXPN+w==}
+
+  '@mdit-vue/plugin-title@2.1.3':
+    resolution: {integrity: sha512-XWVOQoZqczoN97xCDrnQicmXKoqwOjIymIm9HQnRXhHnYKOgJPW1CxSGhkcOGzvDU1v0mD/adojVyyj/s6ggWw==}
+
+  '@mdit-vue/plugin-toc@2.1.3':
+    resolution: {integrity: sha512-41Q+iXpLHZt0zJdApVwoVt7WF6za/xUjtjEPf90Z3KLzQO01TXsv48Xp9BsrFHPcPcm8tiZ0+O1/ICJO80V/MQ==}
+
+  '@mdit-vue/shared@2.1.3':
+    resolution: {integrity: sha512-27YI8b0VVZsAlNwaWoaOCWbr4eL8B04HxiYk/y2ktblO/nMcOEOLt4p0RjuobvdyUyjHvGOS09RKhq7qHm1CHQ==}
+
+  '@mdit-vue/types@2.1.0':
+    resolution: {integrity: sha512-TMBB/BQWVvwtpBdWD75rkZx4ZphQ6MN0O4QB2Bc0oI5PC2uE57QerhNxdRZ7cvBHE2iY2C+BUNUziCfJbjIRRA==}
+
+  '@mdit/helper@0.16.0':
+    resolution: {integrity: sha512-vUmLSZp+7UXJIYxOya9BkD0OgjgQ+6gpX+htEnc4SKaDPx4S1E7h5TE6Wy4E9Gm/JhkMHoD6TdeoQwrN/I9cLQ==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-alert@0.16.0':
+    resolution: {integrity: sha512-T+0BUVhKjp+Azp6sNdDbiZwydDIcZP6/NAg9uivPvcsDnI9u4lMRCdXI090xNJOdhHO3l/lOsoO//s+++MJNtA==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-align@0.16.0':
+    resolution: {integrity: sha512-BJhOjX4Zobs+ZKEpDtxGrUCnppkFCTGIBLjXkCPmxeLf4Tsh7dqv5vVhbRueSOz/EIzc2RJzR0dlMLofsaCFeA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-attrs@0.16.7':
+    resolution: {integrity: sha512-N0zqyuDUO+VeM+vpmVCjujxAbuvE9DhYJoMV9GzLhzmJAP431JMsBBs/sRrJG9tvZrVFZbUMuq4uZz2CHAdkxQ==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-container@0.16.0':
+    resolution: {integrity: sha512-NCsyEiOmoJvXSEVJSY6vaEcvbE11sciRSx5qXBvQQZxUYGYsB+ObYSFVZDFPezsEN35X3b07rurLx8P2Mi9DgQ==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-demo@0.16.0':
+    resolution: {integrity: sha512-EoSpHz8ViLk5HLBCSzQZGOa36JXGHM4q5zOJ0ppgZymxnzRr6vUo+GX022uLivxyNMW1+l30IiF+jbse+JtBGw==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-figure@0.16.0':
+    resolution: {integrity: sha512-0lYZX3cCUNaygtQXXZH2fHXzmF7sMZ5Jbk5MXDxEDIk1Nkxj8ADo/SctvXN5exwyGpJyw8nTbm7CGgMqifDpmQ==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-footnote@0.16.0':
+    resolution: {integrity: sha512-vaJWhOsya7bYfplLlMHYBxGTbME0e46/eTVKBROemWtAf873DTkV4IhkAq7MzGqeYrw0L9gxQPgGDFphGfySMA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+
+  '@mdit/plugin-icon@0.16.5':
+    resolution: {integrity: sha512-9T34gnNrjCMdqNLnC1oi+kZT1iCnwlHAtH3D7sjVkcP8Cw4GoDoAGy50oyryivDlczrKubOFtF05lYAfXZauuA==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-img-lazyload@0.16.0':
+    resolution: {integrity: sha512-Ilf3e5SKG7hd+RAoYQalpjoz8LMCxCe3BBHFYerv8u4wLnKe/L0Gqc8kXSpR37flzv3Ncw/NMqmD4ZZ0QQnK9A==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-img-mark@0.16.0':
+    resolution: {integrity: sha512-BUYqQRWUxNKB0BbMb8SZtlTeDZNXxuJ9AuiuB54RIWlbx3iRlQkbQI3B/AxTT5/EbRMDhxOq0R8PumBuA1gNFA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-img-size@0.16.0':
+    resolution: {integrity: sha512-4FBvIHYWT22bjU+kO1I00xLtnCi7aXdZ7QD3CJnK4Xl6gN8/WB9IkfqYnBPv8yDiaZrabduQo8Dh8Dm8hPOm2A==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-include@0.16.0':
+    resolution: {integrity: sha512-9ESwsc+/jYkS0hIzpWqMQ9bHgHG//35datnfp0KUOql/DSuLVhufPtNkKNe/SVNO/+AOBTTlRYzej9Jl7JjD7g==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-katex-slim@0.16.7':
+    resolution: {integrity: sha512-pHaaz0WVhBepyKLRNtk1GyZU+kf3oQ7qWoESOoLBEOkOakZJuVVT4oNfrFgbfW2obW983q3z9l4kHjMRx/bn5g==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      katex: ^0.16.9
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      katex:
+        optional: true
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-mark@0.16.0':
+    resolution: {integrity: sha512-VY8HhLaNw6iO6E1pSZr3bG6MzyxcAdQmQ+S0r/l87S0EKHCBrUJusaUjxa9aTVHiBcgGUjg9aumribGrWfuitA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-mathjax-slim@0.16.0':
+    resolution: {integrity: sha512-bbo6HtNOFdNMGZH/pxc3X1vZOvOW1FF9RMiAW2pkmyk7sPnMziB8uwxm0Ra1RajEC/NDxJ3wcF7xynkLmS6PfA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+      mathjax-full: ^3.2.2
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+      mathjax-full:
+        optional: true
+
+  '@mdit/plugin-plantuml@0.16.0':
+    resolution: {integrity: sha512-ZjGOWYxPcGFq/TAJ2wOU6vCYH82685ERFQAC+xUsd/f6G41oGmk5i2aNqfNYYPmoQvcPvimGUPky9L6k2IXKXw==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-spoiler@0.16.0':
+    resolution: {integrity: sha512-lm2lLx5H6649igzmbEe7KGsYfS6EOHn3Ps1ZdOHIFo0AY9eEh//gbjPOuJNJU58vtMnzLYzQHQKp/JqViYTIQQ==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-stylize@0.16.0':
+    resolution: {integrity: sha512-uxM9aFdgS5YCXOSNSdYyC+uXyCnmqv1VUPRNAv0g/iOts0pUp63ZEUEO2sNlbXj1rGGEWylXyXqh3OU9rRngzg==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-sub@0.16.0':
+    resolution: {integrity: sha512-XpGcZW11SAWuiWtx9aYugM67OLtQJSfN87Q/aZbEfm6ahgdbO5lAe/vBFTBmL9aDc2EVatytGeZL3kA7pfHlOA==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-sup@0.16.0':
+    resolution: {integrity: sha512-45Sws9TC9h9ZRB/IcXAae+uYXb+FkVr/rkr9eMYKMFKksjMBddN+WY3Gpl9O7LhaGPipqTkm68QZnRSS1jvFkw==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-tab@0.16.0':
+    resolution: {integrity: sha512-c+/oT319DIWaMHyx5chueW8cy4pjC7E09QOg3qp86abTCdG2ljGLOlMAQbst5i/iH684QG/i8EJpB4oUeQdhkw==}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-tasklist@0.16.0':
+    resolution: {integrity: sha512-pxVxartDd8LYxhdYxyrh4c7JEAq+4cEMLI1HNCHTMK9cfO+SoVd/YpibfrDUg+LHvffc8Pf2Yc8pWXNoW34B1g==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-tex@0.16.0':
+    resolution: {integrity: sha512-VWb5rJYP0eBRRjYhcaRE3r8UQkUaBXzu0l42ck7DOp+MSPsgXfS+bmk8/tyHG6/X/Mig9H92Lh1jzTqp3f5yKg==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@mdit/plugin-uml@0.16.0':
+    resolution: {integrity: sha512-BIsq6PpmRgoThtVR2j4BGiRGis6jrcxxqQW3RICacrG52Ps2RWEGwu7B/IvXs+KJZJLJsrKFQ2Pqaxttbjx3kw==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      markdown-it: ^14.1.0
+    peerDependenciesMeta:
+      markdown-it:
+        optional: true
+
+  '@nodelib/fs.scandir@2.1.5':
+    resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
+    engines: {node: '>= 8'}
+
+  '@nodelib/fs.stat@2.0.5':
+    resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==}
+    engines: {node: '>= 8'}
+
+  '@nodelib/fs.walk@1.2.8':
+    resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
+    engines: {node: '>= 8'}
+
+  '@parcel/watcher-android-arm64@2.5.1':
+    resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm64]
+    os: [android]
+
+  '@parcel/watcher-darwin-arm64@2.5.1':
+    resolution: {integrity: sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm64]
+    os: [darwin]
+
+  '@parcel/watcher-darwin-x64@2.5.1':
+    resolution: {integrity: sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [x64]
+    os: [darwin]
+
+  '@parcel/watcher-freebsd-x64@2.5.1':
+    resolution: {integrity: sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [x64]
+    os: [freebsd]
+
+  '@parcel/watcher-linux-arm-glibc@2.5.1':
+    resolution: {integrity: sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm]
+    os: [linux]
+
+  '@parcel/watcher-linux-arm-musl@2.5.1':
+    resolution: {integrity: sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm]
+    os: [linux]
+
+  '@parcel/watcher-linux-arm64-glibc@2.5.1':
+    resolution: {integrity: sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm64]
+    os: [linux]
+
+  '@parcel/watcher-linux-arm64-musl@2.5.1':
+    resolution: {integrity: sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm64]
+    os: [linux]
+
+  '@parcel/watcher-linux-x64-glibc@2.5.1':
+    resolution: {integrity: sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [x64]
+    os: [linux]
+
+  '@parcel/watcher-linux-x64-musl@2.5.1':
+    resolution: {integrity: sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [x64]
+    os: [linux]
+
+  '@parcel/watcher-win32-arm64@2.5.1':
+    resolution: {integrity: sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [arm64]
+    os: [win32]
+
+  '@parcel/watcher-win32-ia32@2.5.1':
+    resolution: {integrity: sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [ia32]
+    os: [win32]
+
+  '@parcel/watcher-win32-x64@2.5.1':
+    resolution: {integrity: sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA==}
+    engines: {node: '>= 10.0.0'}
+    cpu: [x64]
+    os: [win32]
+
+  '@parcel/watcher@2.5.1':
+    resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
+    engines: {node: '>= 10.0.0'}
+
+  '@pkgr/core@0.1.1':
+    resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==}
+    engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0}
+
+  '@rollup/rollup-android-arm-eabi@4.34.6':
+    resolution: {integrity: sha512-+GcCXtOQoWuC7hhX1P00LqjjIiS/iOouHXhMdiDSnq/1DGTox4SpUvO52Xm+div6+106r+TcvOeo/cxvyEyTgg==}
+    cpu: [arm]
+    os: [android]
+
+  '@rollup/rollup-android-arm64@4.34.6':
+    resolution: {integrity: sha512-E8+2qCIjciYUnCa1AiVF1BkRgqIGW9KzJeesQqVfyRITGQN+dFuoivO0hnro1DjT74wXLRZ7QF8MIbz+luGaJA==}
+    cpu: [arm64]
+    os: [android]
+
+  '@rollup/rollup-darwin-arm64@4.34.6':
+    resolution: {integrity: sha512-z9Ib+OzqN3DZEjX7PDQMHEhtF+t6Mi2z/ueChQPLS/qUMKY7Ybn5A2ggFoKRNRh1q1T03YTQfBTQCJZiepESAg==}
+    cpu: [arm64]
+    os: [darwin]
+
+  '@rollup/rollup-darwin-x64@4.34.6':
+    resolution: {integrity: sha512-PShKVY4u0FDAR7jskyFIYVyHEPCPnIQY8s5OcXkdU8mz3Y7eXDJPdyM/ZWjkYdR2m0izD9HHWA8sGcXn+Qrsyg==}
+    cpu: [x64]
+    os: [darwin]
+
+  '@rollup/rollup-freebsd-arm64@4.34.6':
+    resolution: {integrity: sha512-YSwyOqlDAdKqs0iKuqvRHLN4SrD2TiswfoLfvYXseKbL47ht1grQpq46MSiQAx6rQEN8o8URtpXARCpqabqxGQ==}
+    cpu: [arm64]
+    os: [freebsd]
+
+  '@rollup/rollup-freebsd-x64@4.34.6':
+    resolution: {integrity: sha512-HEP4CgPAY1RxXwwL5sPFv6BBM3tVeLnshF03HMhJYCNc6kvSqBgTMmsEjb72RkZBAWIqiPUyF1JpEBv5XT9wKQ==}
+    cpu: [x64]
+    os: [freebsd]
+
+  '@rollup/rollup-linux-arm-gnueabihf@4.34.6':
+    resolution: {integrity: sha512-88fSzjC5xeH9S2Vg3rPgXJULkHcLYMkh8faix8DX4h4TIAL65ekwuQMA/g2CXq8W+NJC43V6fUpYZNjaX3+IIg==}
+    cpu: [arm]
+    os: [linux]
+
+  '@rollup/rollup-linux-arm-musleabihf@4.34.6':
+    resolution: {integrity: sha512-wM4ztnutBqYFyvNeR7Av+reWI/enK9tDOTKNF+6Kk2Q96k9bwhDDOlnCUNRPvromlVXo04riSliMBs/Z7RteEg==}
+    cpu: [arm]
+    os: [linux]
+
+  '@rollup/rollup-linux-arm64-gnu@4.34.6':
+    resolution: {integrity: sha512-9RyprECbRa9zEjXLtvvshhw4CMrRa3K+0wcp3KME0zmBe1ILmvcVHnypZ/aIDXpRyfhSYSuN4EPdCCj5Du8FIA==}
+    cpu: [arm64]
+    os: [linux]
+
+  '@rollup/rollup-linux-arm64-musl@4.34.6':
+    resolution: {integrity: sha512-qTmklhCTyaJSB05S+iSovfo++EwnIEZxHkzv5dep4qoszUMX5Ca4WM4zAVUMbfdviLgCSQOu5oU8YoGk1s6M9Q==}
+    cpu: [arm64]
+    os: [linux]
+
+  '@rollup/rollup-linux-loongarch64-gnu@4.34.6':
+    resolution: {integrity: sha512-4Qmkaps9yqmpjY5pvpkfOerYgKNUGzQpFxV6rnS7c/JfYbDSU0y6WpbbredB5cCpLFGJEqYX40WUmxMkwhWCjw==}
+    cpu: [loong64]
+    os: [linux]
+
+  '@rollup/rollup-linux-powerpc64le-gnu@4.34.6':
+    resolution: {integrity: sha512-Zsrtux3PuaxuBTX/zHdLaFmcofWGzaWW1scwLU3ZbW/X+hSsFbz9wDIp6XvnT7pzYRl9MezWqEqKy7ssmDEnuQ==}
+    cpu: [ppc64]
+    os: [linux]
+
+  '@rollup/rollup-linux-riscv64-gnu@4.34.6':
+    resolution: {integrity: sha512-aK+Zp+CRM55iPrlyKiU3/zyhgzWBxLVrw2mwiQSYJRobCURb781+XstzvA8Gkjg/hbdQFuDw44aUOxVQFycrAg==}
+    cpu: [riscv64]
+    os: [linux]
+
+  '@rollup/rollup-linux-s390x-gnu@4.34.6':
+    resolution: {integrity: sha512-WoKLVrY9ogmaYPXwTH326+ErlCIgMmsoRSx6bO+l68YgJnlOXhygDYSZe/qbUJCSiCiZAQ+tKm88NcWuUXqOzw==}
+    cpu: [s390x]
+    os: [linux]
+
+  '@rollup/rollup-linux-x64-gnu@4.34.6':
+    resolution: {integrity: sha512-Sht4aFvmA4ToHd2vFzwMFaQCiYm2lDFho5rPcvPBT5pCdC+GwHG6CMch4GQfmWTQ1SwRKS0dhDYb54khSrjDWw==}
+    cpu: [x64]
+    os: [linux]
+
+  '@rollup/rollup-linux-x64-musl@4.34.6':
+    resolution: {integrity: sha512-zmmpOQh8vXc2QITsnCiODCDGXFC8LMi64+/oPpPx5qz3pqv0s6x46ps4xoycfUiVZps5PFn1gksZzo4RGTKT+A==}
+    cpu: [x64]
+    os: [linux]
+
+  '@rollup/rollup-win32-arm64-msvc@4.34.6':
+    resolution: {integrity: sha512-3/q1qUsO/tLqGBaD4uXsB6coVGB3usxw3qyeVb59aArCgedSF66MPdgRStUd7vbZOsko/CgVaY5fo2vkvPLWiA==}
+    cpu: [arm64]
+    os: [win32]
+
+  '@rollup/rollup-win32-ia32-msvc@4.34.6':
+    resolution: {integrity: sha512-oLHxuyywc6efdKVTxvc0135zPrRdtYVjtVD5GUm55I3ODxhU/PwkQFD97z16Xzxa1Fz0AEe4W/2hzRtd+IfpOA==}
+    cpu: [ia32]
+    os: [win32]
+
+  '@rollup/rollup-win32-x64-msvc@4.34.6':
+    resolution: {integrity: sha512-0PVwmgzZ8+TZ9oGBmdZoQVXflbvuwzN/HRclujpl4N/q3i+y0lqLw8n1bXA8ru3sApDjlmONaNAuYr38y1Kr9w==}
+    cpu: [x64]
+    os: [win32]
+
+  '@sec-ant/readable-stream@0.4.1':
+    resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==}
+
+  '@shikijs/core@2.3.2':
+    resolution: {integrity: sha512-s7vyL3LzUKm3Qwf36zRWlavX9BQMZTIq9B1almM63M5xBuSldnsTHCmsXzoF/Kyw4k7Xgas7yAyJz9VR/vcP1A==}
+
+  '@shikijs/engine-javascript@2.3.2':
+    resolution: {integrity: sha512-w3IEMu5HfL/OaJTsMbIfZ1HRPnWVYRANeDtmsdIIEgUOcLjzFJFQwlnkckGjKHekEzNqlMLbgB/twnfZ/EEAGg==}
+
+  '@shikijs/engine-oniguruma@2.3.2':
+    resolution: {integrity: sha512-vikMY1TroyZXUHIXbMnvY/mjtOxMn+tavcfAeQPgWS9FHcgFSUoEtywF5B5sOLb9NXb8P2vb7odkh3nj15/00A==}
+
+  '@shikijs/langs@2.3.2':
+    resolution: {integrity: sha512-UqI6bSxFzhexIJficZLKeB1L2Sc3xoNiAV0yHpfbg5meck93du+EKQtsGbBv66Ki53XZPhnR/kYkOr85elIuFw==}
+
+  '@shikijs/themes@2.3.2':
+    resolution: {integrity: sha512-QAh7D/hhfYKHibkG2tti8vxNt3ekAH5EqkXJeJbTh7FGvTCWEI7BHqNCtMdjFvZ0vav5nvUgdvA7/HI7pfsB4w==}
+
+  '@shikijs/transformers@2.3.2':
+    resolution: {integrity: sha512-2HDnJumw8A/9GecRpTgvfqSbPjEbJ4DPWq5J++OVP1gNMLvbV0MqFsP4canqRNM1LqB7VmWY45Stipb0ZIJ+0A==}
+
+  '@shikijs/types@2.3.2':
+    resolution: {integrity: sha512-CBaMY+a3pepyC4SETi7+bSzO0f6hxEQJUUuS4uD7zppzjmrN4ZRtBqxaT+wOan26CR9eeJ5iBhc4qvWEwn7Eeg==}
+
+  '@shikijs/vscode-textmate@10.0.1':
+    resolution: {integrity: sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg==}
+
+  '@sindresorhus/merge-streams@2.3.0':
+    resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
+    engines: {node: '>=18'}
+
+  '@sindresorhus/merge-streams@4.0.0':
+    resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==}
+    engines: {node: '>=18'}
+
+  '@stackblitz/sdk@1.11.0':
+    resolution: {integrity: sha512-DFQGANNkEZRzFk1/rDP6TcFdM82ycHE+zfl9C/M/jXlH68jiqHWHFMQURLELoD8koxvu/eW5uhg94NSAZlYrUQ==}
+
+  '@types/debug@4.1.12':
+    resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
+
+  '@types/estree@1.0.6':
+    resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
+
+  '@types/fs-extra@11.0.4':
+    resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
+
+  '@types/hash-sum@1.0.2':
+    resolution: {integrity: sha512-UP28RddqY8xcU0SCEp9YKutQICXpaAq9N8U2klqF5hegGha7KzTOL8EdhIIV3bOSGBzjEpN9bU/d+nNZBdJYVw==}
+
+  '@types/hast@3.0.4':
+    resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}
+
+  '@types/jsonfile@6.1.4':
+    resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==}
+
+  '@types/linkify-it@5.0.0':
+    resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==}
+
+  '@types/markdown-it-emoji@3.0.1':
+    resolution: {integrity: sha512-cz1j8R35XivBqq9mwnsrP2fsz2yicLhB8+PDtuVkKOExwEdsVBNI+ROL3sbhtR5occRZ66vT0QnwFZCqdjf3pA==}
+
+  '@types/markdown-it@14.1.2':
+    resolution: {integrity: sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==}
+
+  '@types/mdast@4.0.4':
+    resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}
+
+  '@types/mdurl@2.0.0':
+    resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==}
+
+  '@types/ms@2.1.0':
+    resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
+
+  '@types/node@17.0.45':
+    resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
+
+  '@types/node@22.13.1':
+    resolution: {integrity: sha512-jK8uzQlrvXqEU91UxiK5J7pKHyzgnI1Qnl0QDHIgVGuolJhRb9EEl28Cj9b3rGR8B2lhFCtvIm5os8lFnO/1Ew==}
+
+  '@types/sax@1.2.7':
+    resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==}
+
+  '@types/trusted-types@2.0.7':
+    resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==}
+
+  '@types/unist@3.0.3':
+    resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==}
+
+  '@types/web-bluetooth@0.0.20':
+    resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==}
+
+  '@ungap/structured-clone@1.3.0':
+    resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
+
+  '@vitejs/plugin-vue@5.2.1':
+    resolution: {integrity: sha512-cxh314tzaWwOLqVes2gnnCtvBDcM1UMdn+iFR+UjAn411dPT3tOmqrJjbMd7koZpMAmBM/GqeV4n9ge7JSiJJQ==}
+    engines: {node: ^18.0.0 || >=20.0.0}
+    peerDependencies:
+      vite: ^5.0.0 || ^6.0.0
+      vue: ^3.2.25
+
+  '@vue/compiler-core@3.5.13':
+    resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==}
+
+  '@vue/compiler-dom@3.5.13':
+    resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==}
+
+  '@vue/compiler-sfc@3.5.13':
+    resolution: {integrity: sha512-6VdaljMpD82w6c2749Zhf5T9u5uLBWKnVue6XWxprDobftnletJ8+oel7sexFfM3qIxNmVE7LSFGTpv6obNyaQ==}
+
+  '@vue/compiler-ssr@3.5.13':
+    resolution: {integrity: sha512-wMH6vrYHxQl/IybKJagqbquvxpWCuVYpoUJfCqFZwa/JY1GdATAQ+TgVtgrwwMZ0D07QhA99rs/EAAWfvG6KpA==}
+
+  '@vue/devtools-api@6.6.4':
+    resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==}
+
+  '@vue/devtools-api@7.7.1':
+    resolution: {integrity: sha512-Cexc8GimowoDkJ6eNelOPdYIzsu2mgNyp0scOQ3tiaYSb9iok6LOESSsJvHaI+ib3joRfqRJNLkHFjhNuWA5dg==}
+
+  '@vue/devtools-kit@7.7.1':
+    resolution: {integrity: sha512-yhZ4NPnK/tmxGtLNQxmll90jIIXdb2jAhPF76anvn5M/UkZCiLJy28bYgPIACKZ7FCosyKoaope89/RsFJll1w==}
+
+  '@vue/devtools-shared@7.7.1':
+    resolution: {integrity: sha512-BtgF7kHq4BHG23Lezc/3W2UhK2ga7a8ohAIAGJMBr4BkxUFzhqntQtCiuL1ijo2ztWnmusymkirgqUrXoQKumA==}
+
+  '@vue/reactivity@3.5.13':
+    resolution: {integrity: sha512-NaCwtw8o48B9I6L1zl2p41OHo/2Z4wqYGGIK1Khu5T7yxrn+ATOixn/Udn2m+6kZKB/J7cuT9DbWWhRxqixACg==}
+
+  '@vue/runtime-core@3.5.13':
+    resolution: {integrity: sha512-Fj4YRQ3Az0WTZw1sFe+QDb0aXCerigEpw418pw1HBUKFtnQHWzwojaukAs2X/c9DQz4MQ4bsXTGlcpGxU/RCIw==}
+
+  '@vue/runtime-dom@3.5.13':
+    resolution: {integrity: sha512-dLaj94s93NYLqjLiyFzVs9X6dWhTdAlEAciC3Moq7gzAc13VJUdCnjjRurNM6uTLFATRHexHCTu/Xp3eW6yoog==}
+
+  '@vue/server-renderer@3.5.13':
+    resolution: {integrity: sha512-wAi4IRJV/2SAW3htkTlB+dHeRmpTiVIK1OGLWV1yeStVSebSQQOwGwIq0D3ZIoBj2C2qpgz5+vX9iEBkTdk5YA==}
+    peerDependencies:
+      vue: 3.5.13
+
+  '@vue/shared@3.5.13':
+    resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==}
+
+  '@vuepress/bundler-vite@2.0.0-rc.19':
+    resolution: {integrity: sha512-Vn0wEVRcdAld+8NJeELSwrj5JEPObRn0xpRWtAau/UwVWHmMLo16RRkTvXdjSiwpDWeP/9ztC5buyTXVoeb7Dw==}
+
+  '@vuepress/bundlerutils@2.0.0-rc.19':
+    resolution: {integrity: sha512-ln5htptK14OMJV3yeGRxAwYhSkVxrTwEHEaifeWrFvjuNxj2kLmkCl7MDdzr232jSOWwkCcmbOyafbxMsaRDkQ==}
+
+  '@vuepress/cli@2.0.0-rc.19':
+    resolution: {integrity: sha512-QFicPNIj3RZAJbHoLbeYlPJsPchnQLGuw0n8xv0eeUi9ejEXO1huWA8sLoPbTGdiDW+PHr1MHnaVMkyUfwaKcQ==}
+    hasBin: true
+
+  '@vuepress/client@2.0.0-rc.19':
+    resolution: {integrity: sha512-vUAU6n4qmtXqthxkb4LHq0D+VWSDenwBDf0jUs7RaBLuOVrbPtmH/hs4k1vLIlGdwC3Zs/G6tlB4UmuZiiwR8Q==}
+
+  '@vuepress/core@2.0.0-rc.19':
+    resolution: {integrity: sha512-rvmBPMIWS2dey/2QjxZoO0OcrUU46NE3mSLk3oU7JOP0cG7xvRxf6U1OXiwYLC3fPO4g6XbHiKe6gihkmL6VDA==}
+
+  '@vuepress/helper@2.0.0-rc.74':
+    resolution: {integrity: sha512-k0FjkM9TKggcWkyZwXj4cLUIF3FBJ5iZGnC+Ln4OJVGD7k3SvT7TL7IaCZoFBIXTlepZwytsIN7K5Lbmpx0GfQ==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/highlighter-helper@2.0.0-rc.71':
+    resolution: {integrity: sha512-Hi9ira4VmX1MuRcagbSIZ/hHtwB4Fduz/NfiFGmOYX68zWIsQ1e90Ntku8GeI2MEDWlFxGU8PY/7VcXwINjoXQ==}
+    peerDependencies:
+      '@vueuse/core': ^12.2.0
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      '@vueuse/core':
+        optional: true
+
+  '@vuepress/markdown@2.0.0-rc.19':
+    resolution: {integrity: sha512-6jgUXhpEK55PEEGtPhz7Hq/JqTbLU8n9w2D7emXiK2FYcbeKpjoRIbVRzmzB/dXeK3NzHChANu2IIqpOT6Ba1w==}
+
+  '@vuepress/plugin-active-header-links@2.0.0-rc.74':
+    resolution: {integrity: sha512-ErXPpq52hKS0AubppT8HOqST5BBr2ibMK8LF2ctmoS7fZr8VlRysVn6jpLRGdDG+hBIHqbHsitBwMp5y1k99ag==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-back-to-top@2.0.0-rc.74':
+    resolution: {integrity: sha512-/r7pUarK67s3ZedfoUQ7JxcOcrSTxcSMiu6ozQW5vfe7s3d2WzIeaW/dsXPlmAdCEU0MZcb5RXRCNHBdZ9Zo2Q==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-blog@2.0.0-rc.74':
+    resolution: {integrity: sha512-CxVrkwLT3BHkwWaEyaaqeZ5YZ9kdqLaNjTidw9zMK0LAFCm62MrCUrhJnUeSEy233Gi3YYSiCV8hPRnUDMMa7A==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-catalog@2.0.0-rc.74':
+    resolution: {integrity: sha512-Oqz5BXVVdGfGlfTg+wxwUn5RFCPIVkLykBejMJy6E5oLeQC7Ofp9tg9KJze6nPoknXJWY78MEwRq0UQIC9oX9g==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-comment@2.0.0-rc.74':
+    resolution: {integrity: sha512-pBDe4Ua5UOme3C4FWW1ZCXiTMGjOL5YppOtwexmrPxFMZ3G5OpN2Eli5AHQjsl2lQADtDwciKuVFspTpNWbdFw==}
+    peerDependencies:
+      '@waline/client': ^3.5.0
+      artalk: ^2.9.0
+      twikoo: ^1.6.39
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      '@waline/client':
+        optional: true
+      artalk:
+        optional: true
+      twikoo:
+        optional: true
+
+  '@vuepress/plugin-copy-code@2.0.0-rc.74':
+    resolution: {integrity: sha512-flyUj8Xwj0G2jKMTtTrdJGpMS4By90kJGgEbxDTobV4t/98hpBBvEiL1AQ8oGIcQFHH6U+eNRPytde6/7NxKlw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-copyright@2.0.0-rc.74':
+    resolution: {integrity: sha512-T0KM753aiJsfXPgWSRIdKHit4CB9pNDCXcz1xRBMKRtI2WdajWPHpF7clrmgIwmZzvgNhxz5DtW80vDbyp0G0A==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-docsearch@2.0.0-rc.74':
+    resolution: {integrity: sha512-Cu2gIiNPRu5VA5Y/RPJVfAeKmlYaHbI+Yd1KmdlJnmt2pa5VLLIuQa63tWX7zC7A9sZWUaRjPp4oyPM+2afHig==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-git@2.0.0-rc.68':
+    resolution: {integrity: sha512-k/tXBSIyQM26UrmDK/mN1/q6gw8PmF2uLyIaso+B39qCOFQKUBq4uJF2a0oYTq9tpjM5AHwwBpytPE5cdV/BPQ==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-icon@2.0.0-rc.74':
+    resolution: {integrity: sha512-JwodDsB5jQuoqFEW7cAWNyJG1GyiEaHiaLphIPjZZaO+QIt5wgRakhydd8VK/PqICzav/WO8LknN/i6OqhpUYw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-links-check@2.0.0-rc.74':
+    resolution: {integrity: sha512-/g+mosEv2iqbTVD7QpPIP0f0OGC8cQEO6VZgwxj25Swcnq0ndsuq0NOO+SIRasdYZe2xTZ94eNXcZEcKlCA9uw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-ext@2.0.0-rc.74':
+    resolution: {integrity: sha512-+SrSu95GKoGSCvIG1EAMctF7YKbbPAc3phbz0DuywuJjhEo7dC8T74tYGwj+AG8BFTVPFr3rMJTssdpHiUogNw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-hint@2.0.0-rc.74':
+    resolution: {integrity: sha512-1vC11eie+85XoIxQNWFgevpkYCcnc3DMi+x7WAc89+7yk0gP7zJVolWaPH1lLNfmoMxmpfms5ssEnUpr3vHMEQ==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-image@2.0.0-rc.74':
+    resolution: {integrity: sha512-x0j3FNBoexTRurgy0ycPnW8na4FR5pJC1n/vAInqu5w6U2O7PANr7tgKUz2r+XXfRpNh3j5JyLKWmJLvHdu8UA==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-include@2.0.0-rc.74':
+    resolution: {integrity: sha512-yLoWBhlOoWLQrMD30hFKquNt7IZvQiW45O5unztEy2F9bI1MicyBxUnbSMe8d+HNkuAaKxIeDqyt5pVFbqLb0w==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-math@2.0.0-rc.74':
+    resolution: {integrity: sha512-C0rG1A1I3fxrQ1VQtNepnoPuUnnjtNd9lFaW8WeEIKuLQVt2jWKjPXK6yMeu/0OwtyYYPZ5PJmofn0mFLbOZTw==}
+    peerDependencies:
+      katex: ^0.16.10
+      mathjax-full: ^3.2.2
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      katex:
+        optional: true
+      mathjax-full:
+        optional: true
+
+  '@vuepress/plugin-markdown-stylize@2.0.0-rc.75':
+    resolution: {integrity: sha512-ratBXmz4TeOANsjyC4/F0K3kUe0YpFF8+OoPmX6GqqnVnk0UAM50BALYy+ca1R2imC0HRXSWp2jEmsKRCTt6OQ==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-markdown-tab@2.0.0-rc.74':
+    resolution: {integrity: sha512-LhsOEVDfOLpyjBKwx9ZsMbWD8NVQkHgjT+AbZMd2f+fnOaTw7cvWtJxTsg6yQZt2c0Wc3268WtaqxeuqaHTZ6w==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-notice@2.0.0-rc.74':
+    resolution: {integrity: sha512-6cVP7x5zDup+65tjkRnZhBy3tHXhN7pNcBcACKrLE/G3p1rb6SZiSoNk1H2Iva0RAFARzP1fztgTgasLWurofg==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-nprogress@2.0.0-rc.74':
+    resolution: {integrity: sha512-tgbMm2+MwJaUzqTBioeXYs8gaPXS9gYbvTg6HpFU0B4dJJ3CBq62CZEuord6T3Q6m/PnZz1H98bb3BmosKg1OA==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-photo-swipe@2.0.0-rc.74':
+    resolution: {integrity: sha512-yeFIXmlzefQOrKBFWKN4KYi8YM8rKRMD2M/L1hqtPp1rBudhfOva4c6ZKqgYnTyf7A1KlZRer1QCUQ3GWdRxew==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-reading-time@2.0.0-rc.74':
+    resolution: {integrity: sha512-VK7hwq077eiZ4igVLzX01Dioxy40DXqCSgNHtoycfrsQjqBuxyokVEQHe2+q0jvGLBXcrt381x/ZCDsUwVZhDw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-redirect@2.0.0-rc.74':
+    resolution: {integrity: sha512-zSfwcKD25MBGC2BZ/VD6XxJtpgDeUoAbZvkn3kuhakYllUHz94cFmxgbu+RukwL78Nam/UFj6ukyh4YCH3mMgg==}
+    hasBin: true
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-rtl@2.0.0-rc.74':
+    resolution: {integrity: sha512-T77zrw5htxe3uwjgqPKN1iU2zQlPnXl/YrQPVqIWEJJ4uNt93ZLyU892SiGWXNFMmqn8wes9PziCzBEAXqlKkQ==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-sass-palette@2.0.0-rc.74':
+    resolution: {integrity: sha512-bNXw/mMQrgRhhWGKx/W+agFORLbR33Z6FyNbGk6u7ZCSkuKlMcu8A5H+GLl4Jr0uvTTF6UESAxsJZVtRGZcTSQ==}
+    peerDependencies:
+      sass: ^1.80.3
+      sass-embedded: ^1.80.3
+      sass-loader: ^16.0.2
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      sass-loader:
+        optional: true
+
+  '@vuepress/plugin-seo@2.0.0-rc.74':
+    resolution: {integrity: sha512-Z5Q35Y3TALhfhOs8DocBtQcyRCp0/Btjec7DfnDih5p5rhRI7dHI7DIdf9aJHTuz1VxpzCfru6sApqSdbPlc5g==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-shiki@2.0.0-rc.74':
+    resolution: {integrity: sha512-75wMcxa18JhFdTpGPzCeKJl0bc6gZ/ODKRbJo7wRRNLo3UOFBAcqTER3az2hi5b1xVUKrLWkbULSGivfeyvPSw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-sitemap@2.0.0-rc.74':
+    resolution: {integrity: sha512-Kbr9u3fryw34s9ZdxY4fKsCQcN74aFal34CJ4xPxx5E6liE9Rp+gOWevOl89qYXfXgPfyHHJlW5KYfonaZe9Sw==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/plugin-theme-data@2.0.0-rc.74':
+    resolution: {integrity: sha512-6uQPv4kRakqcEPWmL3ZYKqjXqzOVycAdlr7oQlxs23E8CO59/QyIcrkloHPsdI+VhAA3v46NdiVD2TIrESRm6A==}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  '@vuepress/shared@2.0.0-rc.19':
+    resolution: {integrity: sha512-xaDeZxX0Qetc2Y6/lrzO6M/40i3LmMm7Fk85bOftBBOaNehZ24RdsmIHBJDDv+bTUv+DBF++1/mOtbt6DBRzEA==}
+
+  '@vuepress/utils@2.0.0-rc.19':
+    resolution: {integrity: sha512-cgzk8/aJquZKgFMNTuqdjbU5NrCzrPmdTyhYBcmliL/6N/He1OTWn3PD9QWUGJNODb1sPRJpklZnCpU07waLmg==}
+
+  '@vueuse/core@12.5.0':
+    resolution: {integrity: sha512-GVyH1iYqNANwcahAx8JBm6awaNgvR/SwZ1fjr10b8l1HIgDp82ngNbfzJUgOgWEoxjL+URAggnlilAEXwCOZtg==}
+
+  '@vueuse/metadata@12.5.0':
+    resolution: {integrity: sha512-Ui7Lo2a7AxrMAXRF+fAp9QsXuwTeeZ8fIB9wsLHqzq9MQk+2gMYE2IGJW48VMJ8ecvCB3z3GsGLKLbSasQ5Qlg==}
+
+  '@vueuse/shared@12.5.0':
+    resolution: {integrity: sha512-vMpcL1lStUU6O+kdj6YdHDixh0odjPAUM15uJ9f7MY781jcYkIwFA4iv2EfoIPO6vBmvutI1HxxAwmf0cx5ISQ==}
+
+  algoliasearch@5.20.1:
+    resolution: {integrity: sha512-SiCOCVBCQUg/aWkfMnjT+8TQxNNFlPZTI7v8y4+aZXzJg6zDIzKy9KcYVS4sc+xk5cwW5hyJ+9z836f4+wvgzA==}
+    engines: {node: '>= 14.0.0'}
+
+  ansi-regex@5.0.1:
+    resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
+    engines: {node: '>=8'}
+
+  ansi-regex@6.1.0:
+    resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
+    engines: {node: '>=12'}
+
+  ansi-styles@4.3.0:
+    resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
+    engines: {node: '>=8'}
+
+  anymatch@3.1.3:
+    resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
+    engines: {node: '>= 8'}
+
+  arg@5.0.2:
+    resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}
+
+  argparse@1.0.10:
+    resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}
+
+  argparse@2.0.1:
+    resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}
+
+  array-union@2.1.0:
+    resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==}
+    engines: {node: '>=8'}
+
+  async@3.2.6:
+    resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==}
+
+  autoprefixer@10.4.20:
+    resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==}
+    engines: {node: ^10 || ^12 || >=14}
+    hasBin: true
+    peerDependencies:
+      postcss: ^8.1.0
+
+  balloon-css@1.2.0:
+    resolution: {integrity: sha512-urXwkHgwp6GsXVF+it01485Z2Cj4pnW02ICnM0TemOlkKmCNnDLmyy+ZZiRXBpwldUXO+aRNr7Hdia4CBvXJ5A==}
+
+  bcrypt-ts@5.0.3:
+    resolution: {integrity: sha512-2FcgD12xPbwCoe5i9/HK0jJ1xA1m+QfC1e6htG9Bl/hNOnLyaFmQSlqLKcfe3QdnoMPKpKEGFCbESBTg+SJNOw==}
+    engines: {node: '>=18'}
+
+  binary-extensions@2.3.0:
+    resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}
+    engines: {node: '>=8'}
+
+  birpc@0.2.19:
+    resolution: {integrity: sha512-5WeXXAvTmitV1RqJFppT5QtUiz2p1mRSYU000Jkft5ZUCLJIk4uQriYNO50HknxKwM6jd8utNc66K1qGIwwWBQ==}
+
+  boolbase@1.0.0:
+    resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}
+
+  braces@3.0.3:
+    resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
+    engines: {node: '>=8'}
+
+  browserslist@4.24.4:
+    resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==}
+    engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
+    hasBin: true
+
+  buffer-builder@0.2.0:
+    resolution: {integrity: sha512-7VPMEPuYznPSoR21NE1zvd2Xna6c/CloiZCfcMXR1Jny6PjX0N4Nsa38zcBFo/FMK+BlA+FLKbJCQ0i2yxp+Xg==}
+
+  cac@6.7.14:
+    resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
+    engines: {node: '>=8'}
+
+  camelcase@5.3.1:
+    resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==}
+    engines: {node: '>=6'}
+
+  caniuse-lite@1.0.30001698:
+    resolution: {integrity: sha512-xJ3km2oiG/MbNU8G6zIq6XRZ6HtAOVXsbOrP/blGazi52kc5Yy7b6sDA5O+FbROzRrV7BSTllLHuNvmawYUJjw==}
+
+  ccount@2.0.1:
+    resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
+
+  chalk@5.4.1:
+    resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==}
+    engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
+
+  character-entities-html4@2.1.0:
+    resolution: {integrity: sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==}
+
+  character-entities-legacy@3.0.0:
+    resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==}
+
+  cheerio-select@2.1.0:
+    resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==}
+
+  cheerio@1.0.0:
+    resolution: {integrity: sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==}
+    engines: {node: '>=18.17'}
+
+  chokidar@3.6.0:
+    resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}
+    engines: {node: '>= 8.10.0'}
+
+  chokidar@4.0.3:
+    resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}
+    engines: {node: '>= 14.16.0'}
+
+  cli-cursor@5.0.0:
+    resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
+    engines: {node: '>=18'}
+
+  cli-spinners@2.9.2:
+    resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
+    engines: {node: '>=6'}
+
+  cliui@6.0.0:
+    resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==}
+
+  color-convert@2.0.1:
+    resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==}
+    engines: {node: '>=7.0.0'}
+
+  color-name@1.1.4:
+    resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==}
+
+  colorjs.io@0.5.2:
+    resolution: {integrity: sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==}
+
+  comma-separated-tokens@2.0.3:
+    resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}
+
+  commander@13.1.0:
+    resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}
+    engines: {node: '>=18'}
+
+  commander@9.2.0:
+    resolution: {integrity: sha512-e2i4wANQiSXgnrBlIatyHtP1odfUp0BbV5Y5nEGbxtIrStkEOAAzCUirvLBNXHLr7kwLvJl6V+4V3XV9x7Wd9w==}
+    engines: {node: ^12.20.0 || >=14}
+
+  commondir@1.0.1:
+    resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==}
+
+  connect-history-api-fallback@2.0.0:
+    resolution: {integrity: sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA==}
+    engines: {node: '>=0.8'}
+
+  copy-anything@3.0.5:
+    resolution: {integrity: sha512-yCEafptTtb4bk7GLEQoM8KVJpxAfdBJYaXyzQEgQQQgYrZiDp8SJmGKlYza6CYjEDNstAdNdKA3UuoULlEbS6w==}
+    engines: {node: '>=12.13'}
+
+  create-codepen@2.0.0:
+    resolution: {integrity: sha512-ehJ0Zw5RSV2G4+/azUb7vEZWRSA/K9cW7HDock1Y9ViDexkgSJUZJRcObdw/YAWeXKjreEQV9l/igNSsJ1yw5A==}
+    engines: {node: '>=18'}
+
+  cross-spawn@7.0.6:
+    resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
+    engines: {node: '>= 8'}
+
+  css-select@5.1.0:
+    resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==}
+
+  css-what@6.1.0:
+    resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==}
+    engines: {node: '>= 6'}
+
+  csstype@3.1.3:
+    resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==}
+
+  dayjs@1.11.13:
+    resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==}
+
+  debug@4.4.0:
+    resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
+    engines: {node: '>=6.0'}
+    peerDependencies:
+      supports-color: '*'
+    peerDependenciesMeta:
+      supports-color:
+        optional: true
+
+  decamelize@1.2.0:
+    resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==}
+    engines: {node: '>=0.10.0'}
+
+  dequal@2.0.3:
+    resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==}
+    engines: {node: '>=6'}
+
+  detect-libc@1.0.3:
+    resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==}
+    engines: {node: '>=0.10'}
+    hasBin: true
+
+  devlop@1.1.0:
+    resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}
+
+  dijkstrajs@1.0.3:
+    resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==}
+
+  dir-glob@3.0.1:
+    resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
+    engines: {node: '>=8'}
+
+  dom-serializer@2.0.0:
+    resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
+
+  domelementtype@2.3.0:
+    resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}
+
+  domhandler@5.0.3:
+    resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}
+    engines: {node: '>= 4'}
+
+  domutils@3.2.2:
+    resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}
+
+  electron-to-chromium@1.5.96:
+    resolution: {integrity: sha512-8AJUW6dh75Fm/ny8+kZKJzI1pgoE8bKLZlzDU2W1ENd+DXKJrx7I7l9hb8UWR4ojlnb5OlixMt00QWiYJoVw1w==}
+
+  email-addresses@5.0.0:
+    resolution: {integrity: sha512-4OIPYlA6JXqtVn8zpHpGiI7vE6EQOAg16aGnDMIAlZVinnoZ8208tW1hAbjWydgN/4PLTT9q+O1K6AH/vALJGw==}
+
+  emoji-regex-xs@1.0.0:
+    resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==}
+
+  emoji-regex@10.4.0:
+    resolution: {integrity: sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==}
+
+  emoji-regex@8.0.0:
+    resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}
+
+  encoding-sniffer@0.2.0:
+    resolution: {integrity: sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==}
+
+  entities@4.5.0:
+    resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}
+    engines: {node: '>=0.12'}
+
+  envinfo@7.14.0:
+    resolution: {integrity: sha512-CO40UI41xDQzhLB1hWyqUKgFhs250pNcGbyGKe1l/e4FSaI/+YE4IMG76GDt0In67WLPACIITC+sOi08x4wIvg==}
+    engines: {node: '>=4'}
+    hasBin: true
+
+  esbuild@0.21.5:
+    resolution: {integrity: sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==}
+    engines: {node: '>=12'}
+    hasBin: true
+
+  esbuild@0.24.2:
+    resolution: {integrity: sha512-+9egpBW8I3CD5XPe0n6BfT5fxLzxrlDzqydF3aviG+9ni1lDC/OvMHcxqEFV0+LANZG5R1bFMWfUrjVsdwxJvA==}
+    engines: {node: '>=18'}
+    hasBin: true
+
+  escalade@3.2.0:
+    resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}
+    engines: {node: '>=6'}
+
+  escape-string-regexp@1.0.5:
+    resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==}
+    engines: {node: '>=0.8.0'}
+
+  esm@3.2.25:
+    resolution: {integrity: sha512-U1suiZ2oDVWv4zPO56S0NcR5QriEahGtdN2OR6FiOG4WJvcjBVFB0qI4+eKoWFH483PKGuLuu6V8Z4T5g63UVA==}
+    engines: {node: '>=6'}
+
+  esprima@4.0.1:
+    resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
+    engines: {node: '>=4'}
+    hasBin: true
+
+  estree-walker@2.0.2:
+    resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
+
+  execa@9.5.2:
+    resolution: {integrity: sha512-EHlpxMCpHWSAh1dgS6bVeoLAXGnJNdR93aabr4QCGbzOM73o5XmRfM/e5FUqsw3aagP8S8XEWUWFAxnRBnAF0Q==}
+    engines: {node: ^18.19.0 || >=20.5.0}
+
+  extend-shallow@2.0.1:
+    resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==}
+    engines: {node: '>=0.10.0'}
+
+  fast-glob@3.3.3:
+    resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==}
+    engines: {node: '>=8.6.0'}
+
+  fastq@1.19.0:
+    resolution: {integrity: sha512-7SFSRCNjBQIZH/xZR3iy5iQYR8aGBE0h3VG6/cwlbrpdciNYBMotQav8c1XI3HjHH+NikUpP53nPdlZSdWmFzA==}
+
+  fflate@0.8.2:
+    resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==}
+
+  figures@6.1.0:
+    resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==}
+    engines: {node: '>=18'}
+
+  filename-reserved-regex@2.0.0:
+    resolution: {integrity: sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==}
+    engines: {node: '>=4'}
+
+  filenamify@4.3.0:
+    resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==}
+    engines: {node: '>=8'}
+
+  fill-range@7.1.1:
+    resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==}
+    engines: {node: '>=8'}
+
+  find-cache-dir@3.3.2:
+    resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==}
+    engines: {node: '>=8'}
+
+  find-up@4.1.0:
+    resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==}
+    engines: {node: '>=8'}
+
+  fraction.js@4.3.7:
+    resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}
+
+  fs-extra@11.3.0:
+    resolution: {integrity: sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==}
+    engines: {node: '>=14.14'}
+
+  fsevents@2.3.3:
+    resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==}
+    engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+    os: [darwin]
+
+  get-caller-file@2.0.5:
+    resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}
+    engines: {node: 6.* || 8.* || >= 10.*}
+
+  get-east-asian-width@1.3.0:
+    resolution: {integrity: sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==}
+    engines: {node: '>=18'}
+
+  get-stream@9.0.1:
+    resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==}
+    engines: {node: '>=18'}
+
+  gh-pages@6.3.0:
+    resolution: {integrity: sha512-Ot5lU6jK0Eb+sszG8pciXdjMXdBJ5wODvgjR+imihTqsUWF2K6dJ9HST55lgqcs8wWcw6o6wAsUzfcYRhJPXbA==}
+    engines: {node: '>=10'}
+    hasBin: true
+
+  giscus@1.6.0:
+    resolution: {integrity: sha512-Zrsi8r4t1LVW950keaWcsURuZUQwUaMKjvJgTCY125vkW6OiEBkatE7ScJDbpqKHdZwb///7FVC21SE3iFK3PQ==}
+
+  glob-parent@5.1.2:
+    resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}
+    engines: {node: '>= 6'}
+
+  globby@11.1.0:
+    resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}
+    engines: {node: '>=10'}
+
+  globby@14.0.2:
+    resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==}
+    engines: {node: '>=18'}
+
+  graceful-fs@4.2.11:
+    resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
+  gray-matter@4.0.3:
+    resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}
+    engines: {node: '>=6.0'}
+
+  has-flag@4.0.0:
+    resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}
+    engines: {node: '>=8'}
+
+  hash-sum@2.0.0:
+    resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
+
+  hast-util-to-html@9.0.4:
+    resolution: {integrity: sha512-wxQzXtdbhiwGAUKrnQJXlOPmHnEehzphwkK7aluUPQ+lEc1xefC8pblMgpp2w5ldBTEfveRIrADcrhGIWrlTDA==}
+
+  hast-util-whitespace@3.0.0:
+    resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}
+
+  hookable@5.5.3:
+    resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==}
+
+  html-void-elements@3.0.0:
+    resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}
+
+  htmlparser2@9.1.0:
+    resolution: {integrity: sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==}
+
+  human-signals@8.0.0:
+    resolution: {integrity: sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==}
+    engines: {node: '>=18.18.0'}
+
+  iconv-lite@0.6.3:
+    resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==}
+    engines: {node: '>=0.10.0'}
+
+  ignore@5.3.2:
+    resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==}
+    engines: {node: '>= 4'}
+
+  immutable@5.0.3:
+    resolution: {integrity: sha512-P8IdPQHq3lA1xVeBRi5VPqUm5HDgKnx0Ru51wZz5mjxHr5n3RWhjIpOFU7ybkUxfB+5IToy+OLaHYDBIWsv+uw==}
+
+  is-binary-path@2.1.0:
+    resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
+    engines: {node: '>=8'}
+
+  is-extendable@0.1.1:
+    resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==}
+    engines: {node: '>=0.10.0'}
+
+  is-extglob@2.1.1:
+    resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
+    engines: {node: '>=0.10.0'}
+
+  is-fullwidth-code-point@3.0.0:
+    resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==}
+    engines: {node: '>=8'}
+
+  is-glob@4.0.3:
+    resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==}
+    engines: {node: '>=0.10.0'}
+
+  is-interactive@2.0.0:
+    resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==}
+    engines: {node: '>=12'}
+
+  is-number@7.0.0:
+    resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}
+    engines: {node: '>=0.12.0'}
+
+  is-plain-obj@4.1.0:
+    resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==}
+    engines: {node: '>=12'}
+
+  is-stream@4.0.1:
+    resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==}
+    engines: {node: '>=18'}
+
+  is-unicode-supported@1.3.0:
+    resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==}
+    engines: {node: '>=12'}
+
+  is-unicode-supported@2.1.0:
+    resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==}
+    engines: {node: '>=18'}
+
+  is-what@4.1.16:
+    resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==}
+    engines: {node: '>=12.13'}
+
+  isexe@2.0.0:
+    resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
+
+  js-yaml@3.14.1:
+    resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==}
+    hasBin: true
+
+  js-yaml@4.1.0:
+    resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
+    hasBin: true
+
+  jsonfile@6.1.0:
+    resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==}
+
+  kind-of@6.0.3:
+    resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}
+    engines: {node: '>=0.10.0'}
+
+  lilconfig@3.1.3:
+    resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
+    engines: {node: '>=14'}
+
+  linkify-it@5.0.0:
+    resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}
+
+  lit-element@4.1.1:
+    resolution: {integrity: sha512-HO9Tkkh34QkTeUmEdNYhMT8hzLid7YlMlATSi1q4q17HE5d9mrrEHJ/o8O2D0cMi182zK1F3v7x0PWFjrhXFew==}
+
+  lit-html@3.2.1:
+    resolution: {integrity: sha512-qI/3lziaPMSKsrwlxH/xMgikhQ0EGOX2ICU73Bi/YHFvz2j/yMCIrw4+puF2IpQ4+upd3EWbvnHM9+PnJn48YA==}
+
+  lit@3.2.1:
+    resolution: {integrity: sha512-1BBa1E/z0O9ye5fZprPtdqnc0BFzxIxTTOO/tQFmyC/hj1O3jL4TfmLBw0WEwjAokdLwpclkvGgDJwTIh0/22w==}
+
+  locate-path@5.0.0:
+    resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==}
+    engines: {node: '>=8'}
+
+  log-symbols@6.0.0:
+    resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}
+    engines: {node: '>=18'}
+
+  magic-string@0.30.17:
+    resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}
+
+  make-dir@3.1.0:
+    resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
+    engines: {node: '>=8'}
+
+  markdown-it-anchor@9.2.0:
+    resolution: {integrity: sha512-sa2ErMQ6kKOA4l31gLGYliFQrMKkqSO0ZJgGhDHKijPf0pNFM9vghjAh3gn26pS4JDRs7Iwa9S36gxm3vgZTzg==}
+    peerDependencies:
+      '@types/markdown-it': '*'
+      markdown-it: '*'
+
+  markdown-it-emoji@3.0.0:
+    resolution: {integrity: sha512-+rUD93bXHubA4arpEZO3q80so0qgoFJEKRkRbjKX8RTdca89v2kfyF+xR3i2sQTwql9tpPZPOQN5B+PunspXRg==}
+
+  markdown-it@14.1.0:
+    resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==}
+    hasBin: true
+
+  mathjax-full@3.2.2:
+    resolution: {integrity: sha512-+LfG9Fik+OuI8SLwsiR02IVdjcnRCy5MufYLi0C3TdMT56L/pjB0alMVGgoWJF8pN9Rc7FESycZB9BMNWIid5w==}
+
+  mdast-util-to-hast@13.2.0:
+    resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==}
+
+  mdurl@2.0.0:
+    resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==}
+
+  merge2@1.4.1:
+    resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
+    engines: {node: '>= 8'}
+
+  mhchemparser@4.2.1:
+    resolution: {integrity: sha512-kYmyrCirqJf3zZ9t/0wGgRZ4/ZJw//VwaRVGA75C4nhE60vtnIzhl9J9ndkX/h6hxSN7pjg/cE0VxbnNM+bnDQ==}
+
+  micromark-util-character@2.1.1:
+    resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==}
+
+  micromark-util-encode@2.0.1:
+    resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==}
+
+  micromark-util-sanitize-uri@2.0.1:
+    resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==}
+
+  micromark-util-symbol@2.0.1:
+    resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==}
+
+  micromark-util-types@2.0.1:
+    resolution: {integrity: sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==}
+
+  micromatch@4.0.8:
+    resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}
+    engines: {node: '>=8.6'}
+
+  mimic-function@5.0.1:
+    resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
+    engines: {node: '>=18'}
+
+  mitt@3.0.1:
+    resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==}
+
+  mj-context-menu@0.6.1:
+    resolution: {integrity: sha512-7NO5s6n10TIV96d4g2uDpG7ZDpIhMh0QNfGdJw/W47JswFcosz457wqz/b5sAKvl12sxINGFCn80NZHKwxQEXA==}
+
+  ms@2.1.3:
+    resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+
+  nanoid@3.3.8:
+    resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==}
+    engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+    hasBin: true
+
+  nanoid@5.0.9:
+    resolution: {integrity: sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==}
+    engines: {node: ^18 || >=20}
+    hasBin: true
+
+  node-addon-api@7.1.1:
+    resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==}
+
+  node-releases@2.0.19:
+    resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}
+
+  normalize-path@3.0.0:
+    resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}
+    engines: {node: '>=0.10.0'}
+
+  normalize-range@0.1.2:
+    resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==}
+    engines: {node: '>=0.10.0'}
+
+  npm-run-path@6.0.0:
+    resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==}
+    engines: {node: '>=18'}
+
+  nth-check@2.1.1:
+    resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}
+
+  onetime@7.0.0:
+    resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==}
+    engines: {node: '>=18'}
+
+  oniguruma-to-es@3.1.0:
+    resolution: {integrity: sha512-BJ3Jy22YlgejHSO7Fvmz1kKazlaPmRSUH+4adTDUS/dKQ4wLxI+gALZ8updbaux7/m7fIlpgOZ5fp/Inq5jUAw==}
+
+  ora@8.2.0:
+    resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}
+    engines: {node: '>=18'}
+
+  p-limit@2.3.0:
+    resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==}
+    engines: {node: '>=6'}
+
+  p-locate@4.1.0:
+    resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==}
+    engines: {node: '>=8'}
+
+  p-try@2.2.0:
+    resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==}
+    engines: {node: '>=6'}
+
+  parse-ms@4.0.0:
+    resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==}
+    engines: {node: '>=18'}
+
+  parse5-htmlparser2-tree-adapter@7.1.0:
+    resolution: {integrity: sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g==}
+
+  parse5-parser-stream@7.1.2:
+    resolution: {integrity: sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==}
+
+  parse5@7.2.1:
+    resolution: {integrity: sha512-BuBYQYlv1ckiPdQi/ohiivi9Sagc9JG+Ozs0r7b/0iK3sKmrb0b9FdWdBbOdx6hBCM/F9Ir82ofnBhtZOjCRPQ==}
+
+  path-exists@4.0.0:
+    resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}
+    engines: {node: '>=8'}
+
+  path-key@3.1.1:
+    resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}
+    engines: {node: '>=8'}
+
+  path-key@4.0.0:
+    resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==}
+    engines: {node: '>=12'}
+
+  path-type@4.0.0:
+    resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==}
+    engines: {node: '>=8'}
+
+  path-type@5.0.0:
+    resolution: {integrity: sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==}
+    engines: {node: '>=12'}
+
+  perfect-debounce@1.0.0:
+    resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==}
+
+  photoswipe@5.4.4:
+    resolution: {integrity: sha512-WNFHoKrkZNnvFFhbHL93WDkW3ifwVOXSW3w1UuZZelSmgXpIGiZSNlZJq37rR8YejqME2rHs9EhH9ZvlvFH2NA==}
+    engines: {node: '>= 0.12.0'}
+
+  picocolors@1.1.1:
+    resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+  picomatch@2.3.1:
+    resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
+    engines: {node: '>=8.6'}
+
+  pkg-dir@4.2.0:
+    resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==}
+    engines: {node: '>=8'}
+
+  pngjs@5.0.0:
+    resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
+    engines: {node: '>=10.13.0'}
+
+  postcss-load-config@6.0.1:
+    resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==}
+    engines: {node: '>= 18'}
+    peerDependencies:
+      jiti: '>=1.21.0'
+      postcss: '>=8.0.9'
+      tsx: ^4.8.1
+      yaml: ^2.4.2
+    peerDependenciesMeta:
+      jiti:
+        optional: true
+      postcss:
+        optional: true
+      tsx:
+        optional: true
+      yaml:
+        optional: true
+
+  postcss-value-parser@4.2.0:
+    resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}
+
+  postcss@8.5.1:
+    resolution: {integrity: sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==}
+    engines: {node: ^10 || ^12 || >=14}
+
+  preact@10.25.4:
+    resolution: {integrity: sha512-jLdZDb+Q+odkHJ+MpW/9U5cODzqnB+fy2EiHSZES7ldV5LK7yjlVzTp7R8Xy6W6y75kfK8iWYtFVH7lvjwrCMA==}
+
+  pretty-ms@9.2.0:
+    resolution: {integrity: sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==}
+    engines: {node: '>=18'}
+
+  property-information@6.5.0:
+    resolution: {integrity: sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==}
+
+  punycode.js@2.3.1:
+    resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==}
+    engines: {node: '>=6'}
+
+  qrcode@1.5.4:
+    resolution: {integrity: sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==}
+    engines: {node: '>=10.13.0'}
+    hasBin: true
+
+  queue-microtask@1.2.3:
+    resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}
+
+  readdirp@3.6.0:
+    resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}
+    engines: {node: '>=8.10.0'}
+
+  readdirp@4.1.1:
+    resolution: {integrity: sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==}
+    engines: {node: '>= 14.18.0'}
+
+  regex-recursion@6.0.2:
+    resolution: {integrity: sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==}
+
+  regex-utilities@2.3.0:
+    resolution: {integrity: sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==}
+
+  regex@6.0.1:
+    resolution: {integrity: sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==}
+
+  require-directory@2.1.1:
+    resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==}
+    engines: {node: '>=0.10.0'}
+
+  require-main-filename@2.0.0:
+    resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==}
+
+  restore-cursor@5.1.0:
+    resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==}
+    engines: {node: '>=18'}
+
+  reusify@1.0.4:
+    resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
+    engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
+
+  rfdc@1.4.1:
+    resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
+
+  rollup@4.34.6:
+    resolution: {integrity: sha512-wc2cBWqJgkU3Iz5oztRkQbfVkbxoz5EhnCGOrnJvnLnQ7O0WhQUYyv18qQI79O8L7DdHrrlJNeCHd4VGpnaXKQ==}
+    engines: {node: '>=18.0.0', npm: '>=8.0.0'}
+    hasBin: true
+
+  run-parallel@1.2.0:
+    resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==}
+
+  rxjs@7.8.1:
+    resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==}
+
+  safer-buffer@2.1.2:
+    resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
+
+  sass-embedded-android-arm64@1.83.4:
+    resolution: {integrity: sha512-tgX4FzmbVqnQmD67ZxQDvI+qFNABrboOQgwsG05E5bA/US42zGajW9AxpECJYiMXVOHmg+d81ICbjb0fsVHskw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm64]
+    os: [android]
+
+  sass-embedded-android-arm@1.83.4:
+    resolution: {integrity: sha512-9Z4pJAOgEkXa3VDY/o+U6l5XvV0mZTJcSl0l/mSPHihjAHSpLYnOW6+KOWeM8dxqrsqTYcd6COzhanI/a++5Gw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm]
+    os: [android]
+
+  sass-embedded-android-ia32@1.83.4:
+    resolution: {integrity: sha512-RsFOziFqPcfZXdFRULC4Ayzy9aK6R6FwQ411broCjlOBX+b0gurjRadkue3cfUEUR5mmy0KeCbp7zVKPLTK+5Q==}
+    engines: {node: '>=14.0.0'}
+    cpu: [ia32]
+    os: [android]
+
+  sass-embedded-android-riscv64@1.83.4:
+    resolution: {integrity: sha512-EHwh0nmQarBBrMRU928eTZkFGx19k/XW2YwbPR4gBVdWLkbTgCA5aGe8hTE6/1zStyx++3nDGvTZ78+b/VvvLg==}
+    engines: {node: '>=14.0.0'}
+    cpu: [riscv64]
+    os: [android]
+
+  sass-embedded-android-x64@1.83.4:
+    resolution: {integrity: sha512-0PgQNuPWYy1jEOEPDVsV89KfqOsMLIp9CSbjBY7jRcwRhyVAcigqrUG6bDeNtojHUYKA1kU+Eh/85WxOHUOgBw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [x64]
+    os: [android]
+
+  sass-embedded-darwin-arm64@1.83.4:
+    resolution: {integrity: sha512-rp2ywymWc3nymnSnAFG5R/8hvxWCsuhK3wOnD10IDlmNB7o4rzKby1c+2ZfpQGowlYGWsWWTgz8FW2qzmZsQRw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm64]
+    os: [darwin]
+
+  sass-embedded-darwin-x64@1.83.4:
+    resolution: {integrity: sha512-kLkN2lXz9PCgGfDS8Ev5YVcl/V2173L6379en/CaFuJJi7WiyPgBymW7hOmfCt4uO4R1y7CP2Uc08DRtZsBlAA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [x64]
+    os: [darwin]
+
+  sass-embedded-linux-arm64@1.83.4:
+    resolution: {integrity: sha512-E0zjsZX2HgESwyqw31EHtI39DKa7RgK7nvIhIRco1d0QEw227WnoR9pjH3M/ZQy4gQj3GKilOFHM5Krs/omeIA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm64]
+    os: [linux]
+
+  sass-embedded-linux-arm@1.83.4:
+    resolution: {integrity: sha512-nL90ryxX2lNmFucr9jYUyHHx21AoAgdCL1O5Ltx2rKg2xTdytAGHYo2MT5S0LIeKLa/yKP/hjuSvrbICYNDvtA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm]
+    os: [linux]
+
+  sass-embedded-linux-ia32@1.83.4:
+    resolution: {integrity: sha512-ew5HpchSzgAYbQoriRh8QhlWn5Kw2nQ2jHoV9YLwGKe3fwwOWA0KDedssvDv7FWnY/FCqXyymhLd6Bxae4Xquw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [ia32]
+    os: [linux]
+
+  sass-embedded-linux-musl-arm64@1.83.4:
+    resolution: {integrity: sha512-IzMgalf6MZOxgp4AVCgsaWAFDP/IVWOrgVXxkyhw29fyAEoSWBJH4k87wyPhEtxSuzVHLxKNbc8k3UzdWmlBFg==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm64]
+    os: [linux]
+
+  sass-embedded-linux-musl-arm@1.83.4:
+    resolution: {integrity: sha512-0RrJRwMrmm+gG0VOB5b5Cjs7Sd+lhqpQJa6EJNEaZHljJokEfpE5GejZsGMRMIQLxEvVphZnnxl6sonCGFE/QQ==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm]
+    os: [linux]
+
+  sass-embedded-linux-musl-ia32@1.83.4:
+    resolution: {integrity: sha512-LLb4lYbcxPzX4UaJymYXC+WwokxUlfTJEFUv5VF0OTuSsHAGNRs/rslPtzVBTvMeG9TtlOQDhku1F7G6iaDotA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [ia32]
+    os: [linux]
+
+  sass-embedded-linux-musl-riscv64@1.83.4:
+    resolution: {integrity: sha512-zoKlPzD5Z13HKin1UGR74QkEy+kZEk2AkGX5RelRG494mi+IWwRuWCppXIovor9+BQb9eDWPYPoMVahwN5F7VA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [riscv64]
+    os: [linux]
+
+  sass-embedded-linux-musl-x64@1.83.4:
+    resolution: {integrity: sha512-hB8+/PYhfEf2zTIcidO5Bpof9trK6WJjZ4T8g2MrxQh8REVtdPcgIkoxczRynqybf9+fbqbUwzXtiUao2GV+vQ==}
+    engines: {node: '>=14.0.0'}
+    cpu: [x64]
+    os: [linux]
+
+  sass-embedded-linux-riscv64@1.83.4:
+    resolution: {integrity: sha512-83fL4n+oeDJ0Y4KjASmZ9jHS1Vl9ESVQYHMhJE0i4xDi/P3BNarm2rsKljq/QtrwGpbqwn8ujzOu7DsNCMDSHA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [riscv64]
+    os: [linux]
+
+  sass-embedded-linux-x64@1.83.4:
+    resolution: {integrity: sha512-NlnGdvCmTD5PK+LKXlK3sAuxOgbRIEoZfnHvxd157imCm/s2SYF/R28D0DAAjEViyI8DovIWghgbcqwuertXsA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [x64]
+    os: [linux]
+
+  sass-embedded-win32-arm64@1.83.4:
+    resolution: {integrity: sha512-J2BFKrEaeSrVazU2qTjyQdAk+MvbzJeTuCET0uAJEXSKtvQ3AzxvzndS7LqkDPbF32eXAHLw8GVpwcBwKbB3Uw==}
+    engines: {node: '>=14.0.0'}
+    cpu: [arm64]
+    os: [win32]
+
+  sass-embedded-win32-ia32@1.83.4:
+    resolution: {integrity: sha512-uPAe9T/5sANFhJS5dcfAOhOJy8/l2TRYG4r+UO3Wp4yhqbN7bggPvY9c7zMYS0OC8tU/bCvfYUDFHYMCl91FgA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [ia32]
+    os: [win32]
+
+  sass-embedded-win32-x64@1.83.4:
+    resolution: {integrity: sha512-C9fkDY0jKITdJFij4UbfPFswxoXN9O/Dr79v17fJnstVwtUojzVJWKHUXvF0Zg2LIR7TCc4ju3adejKFxj7ueA==}
+    engines: {node: '>=14.0.0'}
+    cpu: [x64]
+    os: [win32]
+
+  sass-embedded@1.83.4:
+    resolution: {integrity: sha512-Hf2burRA/y5PGxsg6jB9UpoK/xZ6g/pgrkOcdl6j+rRg1Zj8XhGKZ1MTysZGtTPUUmiiErqzkP5+Kzp95yv9GQ==}
+    engines: {node: '>=16.0.0'}
+    hasBin: true
+
+  sass@1.83.4:
+    resolution: {integrity: sha512-B1bozCeNQiOgDcLd33e2Cs2U60wZwjUUXzh900ZyQF5qUasvMdDZYbQ566LJu7cqR+sAHlAfO6RMkaID5s6qpA==}
+    engines: {node: '>=14.0.0'}
+    hasBin: true
+
+  sax@1.4.1:
+    resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==}
+
+  search-insights@2.17.3:
+    resolution: {integrity: sha512-RQPdCYTa8A68uM2jwxoY842xDhvx3E5LFL1LxvxCNMev4o5mLuokczhzjAgGwUZBAmOKZknArSxLKmXtIi2AxQ==}
+
+  section-matter@1.0.0:
+    resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
+    engines: {node: '>=4'}
+
+  semver@6.3.1:
+    resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}
+    hasBin: true
+
+  set-blocking@2.0.0:
+    resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+
+  shebang-command@2.0.0:
+    resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==}
+    engines: {node: '>=8'}
+
+  shebang-regex@3.0.0:
+    resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}
+    engines: {node: '>=8'}
+
+  shiki@2.3.2:
+    resolution: {integrity: sha512-UZhz/gsUz7DHFbQBOJP7eXqvKyYvMGramxQiSDc83M/7OkWm6OdVHAReEc3vMLh6L6TRhgL9dvhXz9XDkCDaaw==}
+
+  signal-exit@4.1.0:
+    resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}
+    engines: {node: '>=14'}
+
+  sitemap@8.0.0:
+    resolution: {integrity: sha512-+AbdxhM9kJsHtruUF39bwS/B0Fytw6Fr1o4ZAIAEqA6cke2xcoO2GleBw9Zw7nRzILVEgz7zBM5GiTJjie1G9A==}
+    engines: {node: '>=14.0.0', npm: '>=6.0.0'}
+    hasBin: true
+
+  slash@3.0.0:
+    resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}
+    engines: {node: '>=8'}
+
+  slash@5.1.0:
+    resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}
+    engines: {node: '>=14.16'}
+
+  source-map-js@1.2.1:
+    resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
+    engines: {node: '>=0.10.0'}
+
+  space-separated-tokens@2.0.2:
+    resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}
+
+  speakingurl@14.0.1:
+    resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==}
+    engines: {node: '>=0.10.0'}
+
+  speech-rule-engine@4.0.7:
+    resolution: {integrity: sha512-sJrL3/wHzNwJRLBdf6CjJWIlxC04iYKkyXvYSVsWVOiC2DSkHmxsqOhEeMsBA9XK+CHuNcsdkbFDnoUfAsmp9g==}
+    hasBin: true
+
+  sprintf-js@1.0.3:
+    resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
+
+  stdin-discarder@0.2.2:
+    resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}
+    engines: {node: '>=18'}
+
+  string-width@4.2.3:
+    resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}
+    engines: {node: '>=8'}
+
+  string-width@7.2.0:
+    resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}
+    engines: {node: '>=18'}
+
+  stringify-entities@4.0.4:
+    resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==}
+
+  strip-ansi@6.0.1:
+    resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
+    engines: {node: '>=8'}
+
+  strip-ansi@7.1.0:
+    resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
+    engines: {node: '>=12'}
+
+  strip-bom-string@1.0.0:
+    resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==}
+    engines: {node: '>=0.10.0'}
+
+  strip-final-newline@4.0.0:
+    resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==}
+    engines: {node: '>=18'}
+
+  strip-outer@1.0.1:
+    resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==}
+    engines: {node: '>=0.10.0'}
+
+  superjson@2.2.2:
+    resolution: {integrity: sha512-5JRxVqC8I8NuOUjzBbvVJAKNM8qoVuH0O77h4WInc/qC2q5IreqKxYwgkga3PfA22OayK2ikceb/B26dztPl+Q==}
+    engines: {node: '>=16'}
+
+  supports-color@8.1.1:
+    resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}
+    engines: {node: '>=10'}
+
+  sync-child-process@1.0.2:
+    resolution: {integrity: sha512-8lD+t2KrrScJ/7KXCSyfhT3/hRq78rC0wBFqNJXv3mZyn6hW2ypM05JmlSvtqRbeq6jqA94oHbxAr2vYsJ8vDA==}
+    engines: {node: '>=16.0.0'}
+
+  sync-message-port@1.1.3:
+    resolution: {integrity: sha512-GTt8rSKje5FilG+wEdfCkOcLL7LWqpMlr2c3LRuKt/YXxcJ52aGSbGBAdI4L3aaqfrBt6y711El53ItyH1NWzg==}
+    engines: {node: '>=16.0.0'}
+
+  synckit@0.9.2:
+    resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==}
+    engines: {node: ^14.18.0 || >=16.0.0}
+
+  to-regex-range@5.0.1:
+    resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
+    engines: {node: '>=8.0'}
+
+  trim-lines@3.0.1:
+    resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}
+
+  trim-repeated@1.0.0:
+    resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==}
+    engines: {node: '>=0.10.0'}
+
+  ts-debounce@4.0.0:
+    resolution: {integrity: sha512-+1iDGY6NmOGidq7i7xZGA4cm8DAa6fqdYcvO5Z6yBevH++Bdo9Qt/mN0TzHUgcCcKv1gmh9+W5dHqz8pMWbCbg==}
+
+  tslib@2.8.1:
+    resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+  uc.micro@2.1.0:
+    resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
+
+  undici-types@6.20.0:
+    resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==}
+
+  undici@6.21.1:
+    resolution: {integrity: sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==}
+    engines: {node: '>=18.17'}
+
+  unicorn-magic@0.1.0:
+    resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}
+    engines: {node: '>=18'}
+
+  unicorn-magic@0.3.0:
+    resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==}
+    engines: {node: '>=18'}
+
+  unist-util-is@6.0.0:
+    resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==}
+
+  unist-util-position@5.0.0:
+    resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==}
+
+  unist-util-stringify-position@4.0.0:
+    resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==}
+
+  unist-util-visit-parents@6.0.1:
+    resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==}
+
+  unist-util-visit@5.0.0:
+    resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==}
+
+  universalify@2.0.1:
+    resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==}
+    engines: {node: '>= 10.0.0'}
+
+  upath@2.0.1:
+    resolution: {integrity: sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==}
+    engines: {node: '>=4'}
+
+  update-browserslist-db@1.1.2:
+    resolution: {integrity: sha512-PPypAm5qvlD7XMZC3BujecnaOxwhrtoFR+Dqkk5Aa/6DssiH0ibKoketaj9w8LP7Bont1rYeoV5plxD7RTEPRg==}
+    hasBin: true
+    peerDependencies:
+      browserslist: '>= 4.21.0'
+
+  varint@6.0.0:
+    resolution: {integrity: sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==}
+
+  vfile-message@4.0.2:
+    resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==}
+
+  vfile@6.0.3:
+    resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
+
+  vite@6.0.11:
+    resolution: {integrity: sha512-4VL9mQPKoHy4+FE0NnRE/kbY51TOfaknxAjt3fJbGJxhIpBZiqVzlZDEesWWsuREXHwNdAoOFZ9MkPEVXczHwg==}
+    engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0}
+    hasBin: true
+    peerDependencies:
+      '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0
+      jiti: '>=1.21.0'
+      less: '*'
+      lightningcss: ^1.21.0
+      sass: '*'
+      sass-embedded: '*'
+      stylus: '*'
+      sugarss: '*'
+      terser: ^5.16.0
+      tsx: ^4.8.1
+      yaml: ^2.4.2
+    peerDependenciesMeta:
+      '@types/node':
+        optional: true
+      jiti:
+        optional: true
+      less:
+        optional: true
+      lightningcss:
+        optional: true
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      stylus:
+        optional: true
+      sugarss:
+        optional: true
+      terser:
+        optional: true
+      tsx:
+        optional: true
+      yaml:
+        optional: true
+
+  vue-router@4.5.0:
+    resolution: {integrity: sha512-HDuk+PuH5monfNuY+ct49mNmkCRK4xJAV9Ts4z9UFc4rzdDnxQLyCMGGc8pKhZhHTVzfanpNwB/lwqevcBwI4w==}
+    peerDependencies:
+      vue: ^3.2.0
+
+  vue3-carousel@0.13.0:
+    resolution: {integrity: sha512-vio91KI4mVMlCDbVhGzW9nIyYqxu0moqroPR/OrJeaCvAK3SJYxqvH36a4/t1oEJYJsTgh+IuNiNi6c+7DVKZg==}
+    peerDependencies:
+      vue: ^3.5.0
+
+  vue@3.5.13:
+    resolution: {integrity: sha512-wmeiSMxkZCSc+PM2w2VRsOYAZC8GdipNFRTsLSfodVqI9mbejKeXEGr8SckuLnrQPGe3oJN5c3K0vpoU9q/wCQ==}
+    peerDependencies:
+      typescript: '*'
+    peerDependenciesMeta:
+      typescript:
+        optional: true
+
+  vuepress-plugin-components@2.0.0-rc.71:
+    resolution: {integrity: sha512-0EN/RgVUpinQaoLwqozYEzxhI8xHT+oDv0B6bw4DI6pFSlUzDP2adE1rw9UYeZDbVMZ9CD1SxuCLvc0dGEIGbw==}
+    engines: {node: '>=18.19.0', npm: '>=8', pnpm: '>=7', yarn: '>=2'}
+    peerDependencies:
+      artplayer: ^5.0.0
+      dashjs: 4.7.4
+      hls.js: ^1.4.12
+      mpegts.js: ^1.7.3
+      sass: ^1.81.0
+      sass-embedded: ^1.81.0
+      sass-loader: ^16.0.2
+      vidstack: ^1.12.9
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      artplayer:
+        optional: true
+      dashjs:
+        optional: true
+      hls.js:
+        optional: true
+      mpegts.js:
+        optional: true
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      sass-loader:
+        optional: true
+      vidstack:
+        optional: true
+
+  vuepress-plugin-md-enhance@2.0.0-rc.71:
+    resolution: {integrity: sha512-0w5PAXUE4z9hFcM7ig/BlBn874JzX+7B59TPUWrehyeVfdldPPGA5m1v0+30+9jGotANk5cwfhqtI0KT7Lrn3Q==}
+    engines: {node: '>=18.19.0', npm: '>=8', pnpm: '>=7', yarn: '>=2'}
+    peerDependencies:
+      '@vue/repl': ^4.1.1
+      chart.js: ^4.0.0
+      echarts: ^5.0.0
+      flowchart.ts: ^3.0.0
+      kotlin-playground: ^1.23.0
+      markmap-lib: ^0.18.5
+      markmap-toolbar: ^0.18.5
+      markmap-view: ^0.18.5
+      mermaid: ^11.2.0
+      sandpack-vue3: ^3.0.0
+      sass: ^1.81.0
+      sass-embedded: ^1.81.0
+      sass-loader: ^16.0.2
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      '@vue/repl':
+        optional: true
+      chart.js:
+        optional: true
+      echarts:
+        optional: true
+      flowchart.ts:
+        optional: true
+      kotlin-playground:
+        optional: true
+      markmap-lib:
+        optional: true
+      markmap-toolbar:
+        optional: true
+      markmap-view:
+        optional: true
+      mermaid:
+        optional: true
+      sandpack-vue3:
+        optional: true
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      sass-loader:
+        optional: true
+
+  vuepress-shared@2.0.0-rc.71:
+    resolution: {integrity: sha512-hdRZx4Qtr5uSVs8Tx61il8pXgeBpa5BnruEIFvcy/kjOUblqPjX/NwxThWPSHO4AjRAz4zQ8Gq9JcXh2c/m7Ow==}
+    engines: {node: '>=18.19.0', npm: '>=8', pnpm: '>=7', yarn: '>=2'}
+    peerDependencies:
+      vuepress: 2.0.0-rc.19
+
+  vuepress-theme-hope@2.0.0-rc.71:
+    resolution: {integrity: sha512-tZbdXIYiYZHYLIhNdxWTHnbjCKhJWTFFkCqC73jBqBr9gqYyuzfQ/fSPWh/xaqwe/v33AUzJ2QHKao86m78mjg==}
+    engines: {node: '>=18.19.0', npm: '>=8', pnpm: '>=7', yarn: '>=2'}
+    peerDependencies:
+      '@vuepress/plugin-docsearch': 2.0.0-rc.74
+      '@vuepress/plugin-feed': 2.0.0-rc.74
+      '@vuepress/plugin-prismjs': 2.0.0-rc.74
+      '@vuepress/plugin-pwa': 2.0.0-rc.74
+      '@vuepress/plugin-revealjs': 2.0.0-rc.74
+      '@vuepress/plugin-search': 2.0.0-rc.74
+      '@vuepress/plugin-slimsearch': 2.0.0-rc.74
+      '@vuepress/plugin-watermark': 2.0.0-rc.74
+      nodejs-jieba: ^0.2.1
+      sass: ^1.81.0
+      sass-embedded: ^1.81.0
+      sass-loader: ^16.0.2
+      vuepress: 2.0.0-rc.19
+    peerDependenciesMeta:
+      '@vuepress/plugin-docsearch':
+        optional: true
+      '@vuepress/plugin-feed':
+        optional: true
+      '@vuepress/plugin-prismjs':
+        optional: true
+      '@vuepress/plugin-pwa':
+        optional: true
+      '@vuepress/plugin-revealjs':
+        optional: true
+      '@vuepress/plugin-search':
+        optional: true
+      '@vuepress/plugin-slimsearch':
+        optional: true
+      '@vuepress/plugin-watermark':
+        optional: true
+      nodejs-jieba:
+        optional: true
+      sass:
+        optional: true
+      sass-embedded:
+        optional: true
+      sass-loader:
+        optional: true
+
+  vuepress@2.0.0-rc.19:
+    resolution: {integrity: sha512-JDeuPTu14Kprdqx2geAryjFJvUzVaMnOLewlAgwVuZTygDWb8cgXhu9/p6rqzzdHETtIrvjbASBhH7JPyqmxmA==}
+    engines: {node: ^18.19.0 || >=20.4.0}
+    hasBin: true
+    peerDependencies:
+      '@vuepress/bundler-vite': 2.0.0-rc.19
+      '@vuepress/bundler-webpack': 2.0.0-rc.19
+      vue: ^3.5.0
+    peerDependenciesMeta:
+      '@vuepress/bundler-vite':
+        optional: true
+      '@vuepress/bundler-webpack':
+        optional: true
+
+  whatwg-encoding@3.1.1:
+    resolution: {integrity: sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==}
+    engines: {node: '>=18'}
+
+  whatwg-mimetype@4.0.0:
+    resolution: {integrity: sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==}
+    engines: {node: '>=18'}
+
+  which-module@2.0.1:
+    resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==}
+
+  which@2.0.2:
+    resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}
+    engines: {node: '>= 8'}
+    hasBin: true
+
+  wicked-good-xpath@1.3.0:
+    resolution: {integrity: sha512-Gd9+TUn5nXdwj/hFsPVx5cuHHiF5Bwuc30jZ4+ronF1qHK5O7HD0sgmXWSEgwKquT3ClLoKPVbO6qGwVwLzvAw==}
+
+  wrap-ansi@6.2.0:
+    resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
+    engines: {node: '>=8'}
+
+  xmldom-sre@0.1.31:
+    resolution: {integrity: sha512-f9s+fUkX04BxQf+7mMWAp5zk61pciie+fFLC9hX9UVvCeJQfNHRHXpeo5MPcR0EUf57PYLdt+ZO4f3Ipk2oZUw==}
+    engines: {node: '>=0.1'}
+
+  y18n@4.0.3:
+    resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==}
+
+  yaml@2.7.0:
+    resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==}
+    engines: {node: '>= 14'}
+    hasBin: true
+
+  yargs-parser@18.1.3:
+    resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==}
+    engines: {node: '>=6'}
+
+  yargs@15.4.1:
+    resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==}
+    engines: {node: '>=8'}
+
+  yoctocolors@2.1.1:
+    resolution: {integrity: sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==}
+    engines: {node: '>=18'}
+
+  zwitch@2.0.4:
+    resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
+
+snapshots:
+
+  '@algolia/autocomplete-core@1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)(search-insights@2.17.3)':
+    dependencies:
+      '@algolia/autocomplete-plugin-algolia-insights': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)(search-insights@2.17.3)
+      '@algolia/autocomplete-shared': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+      - algoliasearch
+      - search-insights
+
+  '@algolia/autocomplete-plugin-algolia-insights@1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)(search-insights@2.17.3)':
+    dependencies:
+      '@algolia/autocomplete-shared': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)
+      search-insights: 2.17.3
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+      - algoliasearch
+
+  '@algolia/autocomplete-preset-algolia@1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)':
+    dependencies:
+      '@algolia/autocomplete-shared': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)
+      '@algolia/client-search': 5.20.1
+      algoliasearch: 5.20.1
+
+  '@algolia/autocomplete-shared@1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)':
+    dependencies:
+      '@algolia/client-search': 5.20.1
+      algoliasearch: 5.20.1
+
+  '@algolia/client-abtesting@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/client-analytics@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/client-common@5.20.1': {}
+
+  '@algolia/client-insights@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/client-personalization@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/client-query-suggestions@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/client-search@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/ingestion@1.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/monitoring@1.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/recommend@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  '@algolia/requester-browser-xhr@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+
+  '@algolia/requester-fetch@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+
+  '@algolia/requester-node-http@5.20.1':
+    dependencies:
+      '@algolia/client-common': 5.20.1
+
+  '@babel/helper-string-parser@7.25.9': {}
+
+  '@babel/helper-validator-identifier@7.25.9': {}
+
+  '@babel/parser@7.26.7':
+    dependencies:
+      '@babel/types': 7.26.7
+
+  '@babel/types@7.26.7':
+    dependencies:
+      '@babel/helper-string-parser': 7.25.9
+      '@babel/helper-validator-identifier': 7.25.9
+
+  '@bufbuild/protobuf@2.2.3': {}
+
+  '@docsearch/css@3.8.3': {}
+
+  '@docsearch/js@3.8.3(@algolia/client-search@5.20.1)(search-insights@2.17.3)':
+    dependencies:
+      '@docsearch/react': 3.8.3(@algolia/client-search@5.20.1)(search-insights@2.17.3)
+      preact: 10.25.4
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+      - '@types/react'
+      - react
+      - react-dom
+      - search-insights
+
+  '@docsearch/react@3.8.3(@algolia/client-search@5.20.1)(search-insights@2.17.3)':
+    dependencies:
+      '@algolia/autocomplete-core': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)(search-insights@2.17.3)
+      '@algolia/autocomplete-preset-algolia': 1.17.9(@algolia/client-search@5.20.1)(algoliasearch@5.20.1)
+      '@docsearch/css': 3.8.3
+      algoliasearch: 5.20.1
+    optionalDependencies:
+      search-insights: 2.17.3
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+
+  '@esbuild/aix-ppc64@0.21.5':
+    optional: true
+
+  '@esbuild/aix-ppc64@0.24.2':
+    optional: true
+
+  '@esbuild/android-arm64@0.21.5':
+    optional: true
+
+  '@esbuild/android-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/android-arm@0.21.5':
+    optional: true
+
+  '@esbuild/android-arm@0.24.2':
+    optional: true
+
+  '@esbuild/android-x64@0.21.5':
+    optional: true
+
+  '@esbuild/android-x64@0.24.2':
+    optional: true
+
+  '@esbuild/darwin-arm64@0.21.5':
+    optional: true
+
+  '@esbuild/darwin-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/darwin-x64@0.21.5':
+    optional: true
+
+  '@esbuild/darwin-x64@0.24.2':
+    optional: true
+
+  '@esbuild/freebsd-arm64@0.21.5':
+    optional: true
+
+  '@esbuild/freebsd-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/freebsd-x64@0.21.5':
+    optional: true
+
+  '@esbuild/freebsd-x64@0.24.2':
+    optional: true
+
+  '@esbuild/linux-arm64@0.21.5':
+    optional: true
+
+  '@esbuild/linux-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/linux-arm@0.21.5':
+    optional: true
+
+  '@esbuild/linux-arm@0.24.2':
+    optional: true
+
+  '@esbuild/linux-ia32@0.21.5':
+    optional: true
+
+  '@esbuild/linux-ia32@0.24.2':
+    optional: true
+
+  '@esbuild/linux-loong64@0.21.5':
+    optional: true
+
+  '@esbuild/linux-loong64@0.24.2':
+    optional: true
+
+  '@esbuild/linux-mips64el@0.21.5':
+    optional: true
+
+  '@esbuild/linux-mips64el@0.24.2':
+    optional: true
+
+  '@esbuild/linux-ppc64@0.21.5':
+    optional: true
+
+  '@esbuild/linux-ppc64@0.24.2':
+    optional: true
+
+  '@esbuild/linux-riscv64@0.21.5':
+    optional: true
+
+  '@esbuild/linux-riscv64@0.24.2':
+    optional: true
+
+  '@esbuild/linux-s390x@0.21.5':
+    optional: true
+
+  '@esbuild/linux-s390x@0.24.2':
+    optional: true
+
+  '@esbuild/linux-x64@0.21.5':
+    optional: true
+
+  '@esbuild/linux-x64@0.24.2':
+    optional: true
+
+  '@esbuild/netbsd-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/netbsd-x64@0.21.5':
+    optional: true
+
+  '@esbuild/netbsd-x64@0.24.2':
+    optional: true
+
+  '@esbuild/openbsd-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/openbsd-x64@0.21.5':
+    optional: true
+
+  '@esbuild/openbsd-x64@0.24.2':
+    optional: true
+
+  '@esbuild/sunos-x64@0.21.5':
+    optional: true
+
+  '@esbuild/sunos-x64@0.24.2':
+    optional: true
+
+  '@esbuild/win32-arm64@0.21.5':
+    optional: true
+
+  '@esbuild/win32-arm64@0.24.2':
+    optional: true
+
+  '@esbuild/win32-ia32@0.21.5':
+    optional: true
+
+  '@esbuild/win32-ia32@0.24.2':
+    optional: true
+
+  '@esbuild/win32-x64@0.21.5':
+    optional: true
+
+  '@esbuild/win32-x64@0.24.2':
+    optional: true
+
+  '@jridgewell/sourcemap-codec@1.5.0': {}
+
+  '@lit-labs/ssr-dom-shim@1.3.0': {}
+
+  '@lit/reactive-element@2.0.4':
+    dependencies:
+      '@lit-labs/ssr-dom-shim': 1.3.0
+
+  '@mdit-vue/plugin-component@2.1.3':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/plugin-frontmatter@2.1.3':
+    dependencies:
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      gray-matter: 4.0.3
+      markdown-it: 14.1.0
+
+  '@mdit-vue/plugin-headers@2.1.3':
+    dependencies:
+      '@mdit-vue/shared': 2.1.3
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/plugin-sfc@2.1.3':
+    dependencies:
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/plugin-title@2.1.3':
+    dependencies:
+      '@mdit-vue/shared': 2.1.3
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/plugin-toc@2.1.3':
+    dependencies:
+      '@mdit-vue/shared': 2.1.3
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/shared@2.1.3':
+    dependencies:
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit-vue/types@2.1.0': {}
+
+  '@mdit/helper@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-alert@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-align@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/plugin-container': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-attrs@0.16.7(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-container@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-demo@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-figure@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-footnote@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-icon@0.16.5(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-img-lazyload@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-img-mark@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-img-size@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-include@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      upath: 2.0.1
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-katex-slim@0.16.7(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-tex': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-mark@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-mathjax-slim@0.16.0(markdown-it@14.1.0)(mathjax-full@3.2.2)':
+    dependencies:
+      '@mdit/plugin-tex': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      upath: 2.0.1
+    optionalDependencies:
+      markdown-it: 14.1.0
+      mathjax-full: 3.2.2
+
+  '@mdit/plugin-plantuml@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/plugin-uml': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-spoiler@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-stylize@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-sub@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-sup@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-tab@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-tasklist@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-tex@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@mdit/plugin-uml@0.16.0(markdown-it@14.1.0)':
+    dependencies:
+      '@mdit/helper': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+    optionalDependencies:
+      markdown-it: 14.1.0
+
+  '@nodelib/fs.scandir@2.1.5':
+    dependencies:
+      '@nodelib/fs.stat': 2.0.5
+      run-parallel: 1.2.0
+
+  '@nodelib/fs.stat@2.0.5': {}
+
+  '@nodelib/fs.walk@1.2.8':
+    dependencies:
+      '@nodelib/fs.scandir': 2.1.5
+      fastq: 1.19.0
+
+  '@parcel/watcher-android-arm64@2.5.1':
+    optional: true
+
+  '@parcel/watcher-darwin-arm64@2.5.1':
+    optional: true
+
+  '@parcel/watcher-darwin-x64@2.5.1':
+    optional: true
+
+  '@parcel/watcher-freebsd-x64@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-arm-glibc@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-arm-musl@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-arm64-glibc@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-arm64-musl@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-x64-glibc@2.5.1':
+    optional: true
+
+  '@parcel/watcher-linux-x64-musl@2.5.1':
+    optional: true
+
+  '@parcel/watcher-win32-arm64@2.5.1':
+    optional: true
+
+  '@parcel/watcher-win32-ia32@2.5.1':
+    optional: true
+
+  '@parcel/watcher-win32-x64@2.5.1':
+    optional: true
+
+  '@parcel/watcher@2.5.1':
+    dependencies:
+      detect-libc: 1.0.3
+      is-glob: 4.0.3
+      micromatch: 4.0.8
+      node-addon-api: 7.1.1
+    optionalDependencies:
+      '@parcel/watcher-android-arm64': 2.5.1
+      '@parcel/watcher-darwin-arm64': 2.5.1
+      '@parcel/watcher-darwin-x64': 2.5.1
+      '@parcel/watcher-freebsd-x64': 2.5.1
+      '@parcel/watcher-linux-arm-glibc': 2.5.1
+      '@parcel/watcher-linux-arm-musl': 2.5.1
+      '@parcel/watcher-linux-arm64-glibc': 2.5.1
+      '@parcel/watcher-linux-arm64-musl': 2.5.1
+      '@parcel/watcher-linux-x64-glibc': 2.5.1
+      '@parcel/watcher-linux-x64-musl': 2.5.1
+      '@parcel/watcher-win32-arm64': 2.5.1
+      '@parcel/watcher-win32-ia32': 2.5.1
+      '@parcel/watcher-win32-x64': 2.5.1
+    optional: true
+
+  '@pkgr/core@0.1.1': {}
+
+  '@rollup/rollup-android-arm-eabi@4.34.6':
+    optional: true
+
+  '@rollup/rollup-android-arm64@4.34.6':
+    optional: true
+
+  '@rollup/rollup-darwin-arm64@4.34.6':
+    optional: true
+
+  '@rollup/rollup-darwin-x64@4.34.6':
+    optional: true
+
+  '@rollup/rollup-freebsd-arm64@4.34.6':
+    optional: true
+
+  '@rollup/rollup-freebsd-x64@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-arm-gnueabihf@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-arm-musleabihf@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-arm64-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-arm64-musl@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-loongarch64-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-powerpc64le-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-riscv64-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-s390x-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-x64-gnu@4.34.6':
+    optional: true
+
+  '@rollup/rollup-linux-x64-musl@4.34.6':
+    optional: true
+
+  '@rollup/rollup-win32-arm64-msvc@4.34.6':
+    optional: true
+
+  '@rollup/rollup-win32-ia32-msvc@4.34.6':
+    optional: true
+
+  '@rollup/rollup-win32-x64-msvc@4.34.6':
+    optional: true
+
+  '@sec-ant/readable-stream@0.4.1': {}
+
+  '@shikijs/core@2.3.2':
+    dependencies:
+      '@shikijs/engine-javascript': 2.3.2
+      '@shikijs/engine-oniguruma': 2.3.2
+      '@shikijs/types': 2.3.2
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+      hast-util-to-html: 9.0.4
+
+  '@shikijs/engine-javascript@2.3.2':
+    dependencies:
+      '@shikijs/types': 2.3.2
+      '@shikijs/vscode-textmate': 10.0.1
+      oniguruma-to-es: 3.1.0
+
+  '@shikijs/engine-oniguruma@2.3.2':
+    dependencies:
+      '@shikijs/types': 2.3.2
+      '@shikijs/vscode-textmate': 10.0.1
+
+  '@shikijs/langs@2.3.2':
+    dependencies:
+      '@shikijs/types': 2.3.2
+
+  '@shikijs/themes@2.3.2':
+    dependencies:
+      '@shikijs/types': 2.3.2
+
+  '@shikijs/transformers@2.3.2':
+    dependencies:
+      '@shikijs/core': 2.3.2
+      '@shikijs/types': 2.3.2
+
+  '@shikijs/types@2.3.2':
+    dependencies:
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+
+  '@shikijs/vscode-textmate@10.0.1': {}
+
+  '@sindresorhus/merge-streams@2.3.0': {}
+
+  '@sindresorhus/merge-streams@4.0.0': {}
+
+  '@stackblitz/sdk@1.11.0': {}
+
+  '@types/debug@4.1.12':
+    dependencies:
+      '@types/ms': 2.1.0
+
+  '@types/estree@1.0.6': {}
+
+  '@types/fs-extra@11.0.4':
+    dependencies:
+      '@types/jsonfile': 6.1.4
+      '@types/node': 22.13.1
+
+  '@types/hash-sum@1.0.2': {}
+
+  '@types/hast@3.0.4':
+    dependencies:
+      '@types/unist': 3.0.3
+
+  '@types/jsonfile@6.1.4':
+    dependencies:
+      '@types/node': 22.13.1
+
+  '@types/linkify-it@5.0.0': {}
+
+  '@types/markdown-it-emoji@3.0.1':
+    dependencies:
+      '@types/markdown-it': 14.1.2
+
+  '@types/markdown-it@14.1.2':
+    dependencies:
+      '@types/linkify-it': 5.0.0
+      '@types/mdurl': 2.0.0
+
+  '@types/mdast@4.0.4':
+    dependencies:
+      '@types/unist': 3.0.3
+
+  '@types/mdurl@2.0.0': {}
+
+  '@types/ms@2.1.0': {}
+
+  '@types/node@17.0.45': {}
+
+  '@types/node@22.13.1':
+    dependencies:
+      undici-types: 6.20.0
+
+  '@types/sax@1.2.7':
+    dependencies:
+      '@types/node': 17.0.45
+
+  '@types/trusted-types@2.0.7': {}
+
+  '@types/unist@3.0.3': {}
+
+  '@types/web-bluetooth@0.0.20': {}
+
+  '@ungap/structured-clone@1.3.0': {}
+
+  '@vitejs/plugin-vue@5.2.1(vite@6.0.11(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)':
+    dependencies:
+      vite: 6.0.11(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0)
+      vue: 3.5.13
+
+  '@vue/compiler-core@3.5.13':
+    dependencies:
+      '@babel/parser': 7.26.7
+      '@vue/shared': 3.5.13
+      entities: 4.5.0
+      estree-walker: 2.0.2
+      source-map-js: 1.2.1
+
+  '@vue/compiler-dom@3.5.13':
+    dependencies:
+      '@vue/compiler-core': 3.5.13
+      '@vue/shared': 3.5.13
+
+  '@vue/compiler-sfc@3.5.13':
+    dependencies:
+      '@babel/parser': 7.26.7
+      '@vue/compiler-core': 3.5.13
+      '@vue/compiler-dom': 3.5.13
+      '@vue/compiler-ssr': 3.5.13
+      '@vue/shared': 3.5.13
+      estree-walker: 2.0.2
+      magic-string: 0.30.17
+      postcss: 8.5.1
+      source-map-js: 1.2.1
+
+  '@vue/compiler-ssr@3.5.13':
+    dependencies:
+      '@vue/compiler-dom': 3.5.13
+      '@vue/shared': 3.5.13
+
+  '@vue/devtools-api@6.6.4': {}
+
+  '@vue/devtools-api@7.7.1':
+    dependencies:
+      '@vue/devtools-kit': 7.7.1
+
+  '@vue/devtools-kit@7.7.1':
+    dependencies:
+      '@vue/devtools-shared': 7.7.1
+      birpc: 0.2.19
+      hookable: 5.5.3
+      mitt: 3.0.1
+      perfect-debounce: 1.0.0
+      speakingurl: 14.0.1
+      superjson: 2.2.2
+
+  '@vue/devtools-shared@7.7.1':
+    dependencies:
+      rfdc: 1.4.1
+
+  '@vue/reactivity@3.5.13':
+    dependencies:
+      '@vue/shared': 3.5.13
+
+  '@vue/runtime-core@3.5.13':
+    dependencies:
+      '@vue/reactivity': 3.5.13
+      '@vue/shared': 3.5.13
+
+  '@vue/runtime-dom@3.5.13':
+    dependencies:
+      '@vue/reactivity': 3.5.13
+      '@vue/runtime-core': 3.5.13
+      '@vue/shared': 3.5.13
+      csstype: 3.1.3
+
+  '@vue/server-renderer@3.5.13(vue@3.5.13)':
+    dependencies:
+      '@vue/compiler-ssr': 3.5.13
+      '@vue/shared': 3.5.13
+      vue: 3.5.13
+
+  '@vue/shared@3.5.13': {}
+
+  '@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0)':
+    dependencies:
+      '@vitejs/plugin-vue': 5.2.1(vite@6.0.11(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+      '@vuepress/bundlerutils': 2.0.0-rc.19
+      '@vuepress/client': 2.0.0-rc.19
+      '@vuepress/core': 2.0.0-rc.19
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      autoprefixer: 10.4.20(postcss@8.5.1)
+      connect-history-api-fallback: 2.0.0
+      postcss: 8.5.1
+      postcss-load-config: 6.0.1(postcss@8.5.1)(yaml@2.7.0)
+      rollup: 4.34.6
+      vite: 6.0.11(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0)
+      vue: 3.5.13
+      vue-router: 4.5.0(vue@3.5.13)
+    transitivePeerDependencies:
+      - '@types/node'
+      - jiti
+      - less
+      - lightningcss
+      - sass
+      - sass-embedded
+      - stylus
+      - sugarss
+      - supports-color
+      - terser
+      - tsx
+      - typescript
+      - yaml
+
+  '@vuepress/bundlerutils@2.0.0-rc.19':
+    dependencies:
+      '@vuepress/client': 2.0.0-rc.19
+      '@vuepress/core': 2.0.0-rc.19
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      vue: 3.5.13
+      vue-router: 4.5.0(vue@3.5.13)
+    transitivePeerDependencies:
+      - supports-color
+      - typescript
+
+  '@vuepress/cli@2.0.0-rc.19':
+    dependencies:
+      '@vuepress/core': 2.0.0-rc.19
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      cac: 6.7.14
+      chokidar: 3.6.0
+      envinfo: 7.14.0
+      esbuild: 0.21.5
+    transitivePeerDependencies:
+      - supports-color
+      - typescript
+
+  '@vuepress/client@2.0.0-rc.19':
+    dependencies:
+      '@vue/devtools-api': 7.7.1
+      '@vuepress/shared': 2.0.0-rc.19
+      vue: 3.5.13
+      vue-router: 4.5.0(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/core@2.0.0-rc.19':
+    dependencies:
+      '@vuepress/client': 2.0.0-rc.19
+      '@vuepress/markdown': 2.0.0-rc.19
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      vue: 3.5.13
+    transitivePeerDependencies:
+      - supports-color
+      - typescript
+
+  '@vuepress/helper@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vue/shared': 3.5.13
+      '@vueuse/core': 12.5.0
+      cheerio: 1.0.0
+      fflate: 0.8.2
+      gray-matter: 4.0.3
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/highlighter-helper@2.0.0-rc.71(@vueuse/core@12.5.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    optionalDependencies:
+      '@vueuse/core': 12.5.0
+
+  '@vuepress/markdown@2.0.0-rc.19':
+    dependencies:
+      '@mdit-vue/plugin-component': 2.1.3
+      '@mdit-vue/plugin-frontmatter': 2.1.3
+      '@mdit-vue/plugin-headers': 2.1.3
+      '@mdit-vue/plugin-sfc': 2.1.3
+      '@mdit-vue/plugin-title': 2.1.3
+      '@mdit-vue/plugin-toc': 2.1.3
+      '@mdit-vue/shared': 2.1.3
+      '@mdit-vue/types': 2.1.0
+      '@types/markdown-it': 14.1.2
+      '@types/markdown-it-emoji': 3.0.1
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      markdown-it: 14.1.0
+      markdown-it-anchor: 9.2.0(@types/markdown-it@14.1.2)(markdown-it@14.1.0)
+      markdown-it-emoji: 3.0.0
+      mdurl: 2.0.0
+    transitivePeerDependencies:
+      - supports-color
+
+  '@vuepress/plugin-active-header-links@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-back-to-top@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-blog@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      chokidar: 3.6.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-catalog@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-comment@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      giscus: 1.6.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-copy-code@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-copyright@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-docsearch@2.0.0-rc.74(@algolia/client-search@5.20.1)(search-insights@2.17.3)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@docsearch/css': 3.8.3
+      '@docsearch/js': 3.8.3(@algolia/client-search@5.20.1)(search-insights@2.17.3)
+      '@docsearch/react': 3.8.3(@algolia/client-search@5.20.1)(search-insights@2.17.3)
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      ts-debounce: 4.0.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - '@algolia/client-search'
+      - '@types/react'
+      - react
+      - react-dom
+      - search-insights
+      - typescript
+
+  '@vuepress/plugin-git@2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      execa: 9.5.2
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+
+  '@vuepress/plugin-icon@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-icon': 0.16.5(markdown-it@14.1.0)
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-links-check@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-markdown-ext@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-container': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-footnote': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-tasklist': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      js-yaml: 4.1.0
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-hint@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-alert': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-container': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-image@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-figure': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-img-lazyload': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-img-mark': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-img-size': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-include@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-include': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-math@2.0.0-rc.74(markdown-it@14.1.0)(mathjax-full@3.2.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-katex-slim': 0.16.7(markdown-it@14.1.0)
+      '@mdit/plugin-mathjax-slim': 0.16.0(markdown-it@14.1.0)(mathjax-full@3.2.2)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    optionalDependencies:
+      mathjax-full: 3.2.2
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-stylize@2.0.0-rc.75(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-align': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-attrs': 0.16.7(markdown-it@14.1.0)
+      '@mdit/plugin-mark': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-spoiler': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-stylize': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-sub': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-sup': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-markdown-tab@2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@mdit/plugin-tab': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  '@vuepress/plugin-notice@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-nprogress@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-photo-swipe@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      photoswipe: 5.4.4
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-reading-time@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-redirect@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      commander: 13.1.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-rtl@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-sass-palette@2.0.0-rc.74(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      chokidar: 4.0.3
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    optionalDependencies:
+      sass: 1.83.4
+      sass-embedded: 1.83.4
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-seo@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-shiki@2.0.0-rc.74(@vueuse/core@12.5.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@shikijs/transformers': 2.3.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/highlighter-helper': 2.0.0-rc.71(@vueuse/core@12.5.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      nanoid: 5.0.9
+      shiki: 2.3.2
+      synckit: 0.9.2
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - '@vueuse/core'
+      - typescript
+
+  '@vuepress/plugin-sitemap@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      sitemap: 8.0.0
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/plugin-theme-data@2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))':
+    dependencies:
+      '@vue/devtools-api': 7.7.1
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  '@vuepress/shared@2.0.0-rc.19':
+    dependencies:
+      '@mdit-vue/types': 2.1.0
+
+  '@vuepress/utils@2.0.0-rc.19':
+    dependencies:
+      '@types/debug': 4.1.12
+      '@types/fs-extra': 11.0.4
+      '@types/hash-sum': 1.0.2
+      '@vuepress/shared': 2.0.0-rc.19
+      debug: 4.4.0
+      fs-extra: 11.3.0
+      globby: 14.0.2
+      hash-sum: 2.0.0
+      ora: 8.2.0
+      picocolors: 1.1.1
+      upath: 2.0.1
+    transitivePeerDependencies:
+      - supports-color
+
+  '@vueuse/core@12.5.0':
+    dependencies:
+      '@types/web-bluetooth': 0.0.20
+      '@vueuse/metadata': 12.5.0
+      '@vueuse/shared': 12.5.0
+      vue: 3.5.13
+    transitivePeerDependencies:
+      - typescript
+
+  '@vueuse/metadata@12.5.0': {}
+
+  '@vueuse/shared@12.5.0':
+    dependencies:
+      vue: 3.5.13
+    transitivePeerDependencies:
+      - typescript
+
+  algoliasearch@5.20.1:
+    dependencies:
+      '@algolia/client-abtesting': 5.20.1
+      '@algolia/client-analytics': 5.20.1
+      '@algolia/client-common': 5.20.1
+      '@algolia/client-insights': 5.20.1
+      '@algolia/client-personalization': 5.20.1
+      '@algolia/client-query-suggestions': 5.20.1
+      '@algolia/client-search': 5.20.1
+      '@algolia/ingestion': 1.20.1
+      '@algolia/monitoring': 1.20.1
+      '@algolia/recommend': 5.20.1
+      '@algolia/requester-browser-xhr': 5.20.1
+      '@algolia/requester-fetch': 5.20.1
+      '@algolia/requester-node-http': 5.20.1
+
+  ansi-regex@5.0.1: {}
+
+  ansi-regex@6.1.0: {}
+
+  ansi-styles@4.3.0:
+    dependencies:
+      color-convert: 2.0.1
+
+  anymatch@3.1.3:
+    dependencies:
+      normalize-path: 3.0.0
+      picomatch: 2.3.1
+
+  arg@5.0.2: {}
+
+  argparse@1.0.10:
+    dependencies:
+      sprintf-js: 1.0.3
+
+  argparse@2.0.1: {}
+
+  array-union@2.1.0: {}
+
+  async@3.2.6: {}
+
+  autoprefixer@10.4.20(postcss@8.5.1):
+    dependencies:
+      browserslist: 4.24.4
+      caniuse-lite: 1.0.30001698
+      fraction.js: 4.3.7
+      normalize-range: 0.1.2
+      picocolors: 1.1.1
+      postcss: 8.5.1
+      postcss-value-parser: 4.2.0
+
+  balloon-css@1.2.0: {}
+
+  bcrypt-ts@5.0.3: {}
+
+  binary-extensions@2.3.0: {}
+
+  birpc@0.2.19: {}
+
+  boolbase@1.0.0: {}
+
+  braces@3.0.3:
+    dependencies:
+      fill-range: 7.1.1
+
+  browserslist@4.24.4:
+    dependencies:
+      caniuse-lite: 1.0.30001698
+      electron-to-chromium: 1.5.96
+      node-releases: 2.0.19
+      update-browserslist-db: 1.1.2(browserslist@4.24.4)
+
+  buffer-builder@0.2.0: {}
+
+  cac@6.7.14: {}
+
+  camelcase@5.3.1: {}
+
+  caniuse-lite@1.0.30001698: {}
+
+  ccount@2.0.1: {}
+
+  chalk@5.4.1: {}
+
+  character-entities-html4@2.1.0: {}
+
+  character-entities-legacy@3.0.0: {}
+
+  cheerio-select@2.1.0:
+    dependencies:
+      boolbase: 1.0.0
+      css-select: 5.1.0
+      css-what: 6.1.0
+      domelementtype: 2.3.0
+      domhandler: 5.0.3
+      domutils: 3.2.2
+
+  cheerio@1.0.0:
+    dependencies:
+      cheerio-select: 2.1.0
+      dom-serializer: 2.0.0
+      domhandler: 5.0.3
+      domutils: 3.2.2
+      encoding-sniffer: 0.2.0
+      htmlparser2: 9.1.0
+      parse5: 7.2.1
+      parse5-htmlparser2-tree-adapter: 7.1.0
+      parse5-parser-stream: 7.1.2
+      undici: 6.21.1
+      whatwg-mimetype: 4.0.0
+
+  chokidar@3.6.0:
+    dependencies:
+      anymatch: 3.1.3
+      braces: 3.0.3
+      glob-parent: 5.1.2
+      is-binary-path: 2.1.0
+      is-glob: 4.0.3
+      normalize-path: 3.0.0
+      readdirp: 3.6.0
+    optionalDependencies:
+      fsevents: 2.3.3
+
+  chokidar@4.0.3:
+    dependencies:
+      readdirp: 4.1.1
+
+  cli-cursor@5.0.0:
+    dependencies:
+      restore-cursor: 5.1.0
+
+  cli-spinners@2.9.2: {}
+
+  cliui@6.0.0:
+    dependencies:
+      string-width: 4.2.3
+      strip-ansi: 6.0.1
+      wrap-ansi: 6.2.0
+
+  color-convert@2.0.1:
+    dependencies:
+      color-name: 1.1.4
+
+  color-name@1.1.4: {}
+
+  colorjs.io@0.5.2: {}
+
+  comma-separated-tokens@2.0.3: {}
+
+  commander@13.1.0: {}
+
+  commander@9.2.0: {}
+
+  commondir@1.0.1: {}
+
+  connect-history-api-fallback@2.0.0: {}
+
+  copy-anything@3.0.5:
+    dependencies:
+      is-what: 4.1.16
+
+  create-codepen@2.0.0: {}
+
+  cross-spawn@7.0.6:
+    dependencies:
+      path-key: 3.1.1
+      shebang-command: 2.0.0
+      which: 2.0.2
+
+  css-select@5.1.0:
+    dependencies:
+      boolbase: 1.0.0
+      css-what: 6.1.0
+      domhandler: 5.0.3
+      domutils: 3.2.2
+      nth-check: 2.1.1
+
+  css-what@6.1.0: {}
+
+  csstype@3.1.3: {}
+
+  dayjs@1.11.13: {}
+
+  debug@4.4.0:
+    dependencies:
+      ms: 2.1.3
+
+  decamelize@1.2.0: {}
+
+  dequal@2.0.3: {}
+
+  detect-libc@1.0.3:
+    optional: true
+
+  devlop@1.1.0:
+    dependencies:
+      dequal: 2.0.3
+
+  dijkstrajs@1.0.3: {}
+
+  dir-glob@3.0.1:
+    dependencies:
+      path-type: 4.0.0
+
+  dom-serializer@2.0.0:
+    dependencies:
+      domelementtype: 2.3.0
+      domhandler: 5.0.3
+      entities: 4.5.0
+
+  domelementtype@2.3.0: {}
+
+  domhandler@5.0.3:
+    dependencies:
+      domelementtype: 2.3.0
+
+  domutils@3.2.2:
+    dependencies:
+      dom-serializer: 2.0.0
+      domelementtype: 2.3.0
+      domhandler: 5.0.3
+
+  electron-to-chromium@1.5.96: {}
+
+  email-addresses@5.0.0: {}
+
+  emoji-regex-xs@1.0.0: {}
+
+  emoji-regex@10.4.0: {}
+
+  emoji-regex@8.0.0: {}
+
+  encoding-sniffer@0.2.0:
+    dependencies:
+      iconv-lite: 0.6.3
+      whatwg-encoding: 3.1.1
+
+  entities@4.5.0: {}
+
+  envinfo@7.14.0: {}
+
+  esbuild@0.21.5:
+    optionalDependencies:
+      '@esbuild/aix-ppc64': 0.21.5
+      '@esbuild/android-arm': 0.21.5
+      '@esbuild/android-arm64': 0.21.5
+      '@esbuild/android-x64': 0.21.5
+      '@esbuild/darwin-arm64': 0.21.5
+      '@esbuild/darwin-x64': 0.21.5
+      '@esbuild/freebsd-arm64': 0.21.5
+      '@esbuild/freebsd-x64': 0.21.5
+      '@esbuild/linux-arm': 0.21.5
+      '@esbuild/linux-arm64': 0.21.5
+      '@esbuild/linux-ia32': 0.21.5
+      '@esbuild/linux-loong64': 0.21.5
+      '@esbuild/linux-mips64el': 0.21.5
+      '@esbuild/linux-ppc64': 0.21.5
+      '@esbuild/linux-riscv64': 0.21.5
+      '@esbuild/linux-s390x': 0.21.5
+      '@esbuild/linux-x64': 0.21.5
+      '@esbuild/netbsd-x64': 0.21.5
+      '@esbuild/openbsd-x64': 0.21.5
+      '@esbuild/sunos-x64': 0.21.5
+      '@esbuild/win32-arm64': 0.21.5
+      '@esbuild/win32-ia32': 0.21.5
+      '@esbuild/win32-x64': 0.21.5
+
+  esbuild@0.24.2:
+    optionalDependencies:
+      '@esbuild/aix-ppc64': 0.24.2
+      '@esbuild/android-arm': 0.24.2
+      '@esbuild/android-arm64': 0.24.2
+      '@esbuild/android-x64': 0.24.2
+      '@esbuild/darwin-arm64': 0.24.2
+      '@esbuild/darwin-x64': 0.24.2
+      '@esbuild/freebsd-arm64': 0.24.2
+      '@esbuild/freebsd-x64': 0.24.2
+      '@esbuild/linux-arm': 0.24.2
+      '@esbuild/linux-arm64': 0.24.2
+      '@esbuild/linux-ia32': 0.24.2
+      '@esbuild/linux-loong64': 0.24.2
+      '@esbuild/linux-mips64el': 0.24.2
+      '@esbuild/linux-ppc64': 0.24.2
+      '@esbuild/linux-riscv64': 0.24.2
+      '@esbuild/linux-s390x': 0.24.2
+      '@esbuild/linux-x64': 0.24.2
+      '@esbuild/netbsd-arm64': 0.24.2
+      '@esbuild/netbsd-x64': 0.24.2
+      '@esbuild/openbsd-arm64': 0.24.2
+      '@esbuild/openbsd-x64': 0.24.2
+      '@esbuild/sunos-x64': 0.24.2
+      '@esbuild/win32-arm64': 0.24.2
+      '@esbuild/win32-ia32': 0.24.2
+      '@esbuild/win32-x64': 0.24.2
+
+  escalade@3.2.0: {}
+
+  escape-string-regexp@1.0.5: {}
+
+  esm@3.2.25: {}
+
+  esprima@4.0.1: {}
+
+  estree-walker@2.0.2: {}
+
+  execa@9.5.2:
+    dependencies:
+      '@sindresorhus/merge-streams': 4.0.0
+      cross-spawn: 7.0.6
+      figures: 6.1.0
+      get-stream: 9.0.1
+      human-signals: 8.0.0
+      is-plain-obj: 4.1.0
+      is-stream: 4.0.1
+      npm-run-path: 6.0.0
+      pretty-ms: 9.2.0
+      signal-exit: 4.1.0
+      strip-final-newline: 4.0.0
+      yoctocolors: 2.1.1
+
+  extend-shallow@2.0.1:
+    dependencies:
+      is-extendable: 0.1.1
+
+  fast-glob@3.3.3:
+    dependencies:
+      '@nodelib/fs.stat': 2.0.5
+      '@nodelib/fs.walk': 1.2.8
+      glob-parent: 5.1.2
+      merge2: 1.4.1
+      micromatch: 4.0.8
+
+  fastq@1.19.0:
+    dependencies:
+      reusify: 1.0.4
+
+  fflate@0.8.2: {}
+
+  figures@6.1.0:
+    dependencies:
+      is-unicode-supported: 2.1.0
+
+  filename-reserved-regex@2.0.0: {}
+
+  filenamify@4.3.0:
+    dependencies:
+      filename-reserved-regex: 2.0.0
+      strip-outer: 1.0.1
+      trim-repeated: 1.0.0
+
+  fill-range@7.1.1:
+    dependencies:
+      to-regex-range: 5.0.1
+
+  find-cache-dir@3.3.2:
+    dependencies:
+      commondir: 1.0.1
+      make-dir: 3.1.0
+      pkg-dir: 4.2.0
+
+  find-up@4.1.0:
+    dependencies:
+      locate-path: 5.0.0
+      path-exists: 4.0.0
+
+  fraction.js@4.3.7: {}
+
+  fs-extra@11.3.0:
+    dependencies:
+      graceful-fs: 4.2.11
+      jsonfile: 6.1.0
+      universalify: 2.0.1
+
+  fsevents@2.3.3:
+    optional: true
+
+  get-caller-file@2.0.5: {}
+
+  get-east-asian-width@1.3.0: {}
+
+  get-stream@9.0.1:
+    dependencies:
+      '@sec-ant/readable-stream': 0.4.1
+      is-stream: 4.0.1
+
+  gh-pages@6.3.0:
+    dependencies:
+      async: 3.2.6
+      commander: 13.1.0
+      email-addresses: 5.0.0
+      filenamify: 4.3.0
+      find-cache-dir: 3.3.2
+      fs-extra: 11.3.0
+      globby: 11.1.0
+
+  giscus@1.6.0:
+    dependencies:
+      lit: 3.2.1
+
+  glob-parent@5.1.2:
+    dependencies:
+      is-glob: 4.0.3
+
+  globby@11.1.0:
+    dependencies:
+      array-union: 2.1.0
+      dir-glob: 3.0.1
+      fast-glob: 3.3.3
+      ignore: 5.3.2
+      merge2: 1.4.1
+      slash: 3.0.0
+
+  globby@14.0.2:
+    dependencies:
+      '@sindresorhus/merge-streams': 2.3.0
+      fast-glob: 3.3.3
+      ignore: 5.3.2
+      path-type: 5.0.0
+      slash: 5.1.0
+      unicorn-magic: 0.1.0
+
+  graceful-fs@4.2.11: {}
+
+  gray-matter@4.0.3:
+    dependencies:
+      js-yaml: 3.14.1
+      kind-of: 6.0.3
+      section-matter: 1.0.0
+      strip-bom-string: 1.0.0
+
+  has-flag@4.0.0: {}
+
+  hash-sum@2.0.0: {}
+
+  hast-util-to-html@9.0.4:
+    dependencies:
+      '@types/hast': 3.0.4
+      '@types/unist': 3.0.3
+      ccount: 2.0.1
+      comma-separated-tokens: 2.0.3
+      hast-util-whitespace: 3.0.0
+      html-void-elements: 3.0.0
+      mdast-util-to-hast: 13.2.0
+      property-information: 6.5.0
+      space-separated-tokens: 2.0.2
+      stringify-entities: 4.0.4
+      zwitch: 2.0.4
+
+  hast-util-whitespace@3.0.0:
+    dependencies:
+      '@types/hast': 3.0.4
+
+  hookable@5.5.3: {}
+
+  html-void-elements@3.0.0: {}
+
+  htmlparser2@9.1.0:
+    dependencies:
+      domelementtype: 2.3.0
+      domhandler: 5.0.3
+      domutils: 3.2.2
+      entities: 4.5.0
+
+  human-signals@8.0.0: {}
+
+  iconv-lite@0.6.3:
+    dependencies:
+      safer-buffer: 2.1.2
+
+  ignore@5.3.2: {}
+
+  immutable@5.0.3: {}
+
+  is-binary-path@2.1.0:
+    dependencies:
+      binary-extensions: 2.3.0
+
+  is-extendable@0.1.1: {}
+
+  is-extglob@2.1.1: {}
+
+  is-fullwidth-code-point@3.0.0: {}
+
+  is-glob@4.0.3:
+    dependencies:
+      is-extglob: 2.1.1
+
+  is-interactive@2.0.0: {}
+
+  is-number@7.0.0: {}
+
+  is-plain-obj@4.1.0: {}
+
+  is-stream@4.0.1: {}
+
+  is-unicode-supported@1.3.0: {}
+
+  is-unicode-supported@2.1.0: {}
+
+  is-what@4.1.16: {}
+
+  isexe@2.0.0: {}
+
+  js-yaml@3.14.1:
+    dependencies:
+      argparse: 1.0.10
+      esprima: 4.0.1
+
+  js-yaml@4.1.0:
+    dependencies:
+      argparse: 2.0.1
+
+  jsonfile@6.1.0:
+    dependencies:
+      universalify: 2.0.1
+    optionalDependencies:
+      graceful-fs: 4.2.11
+
+  kind-of@6.0.3: {}
+
+  lilconfig@3.1.3: {}
+
+  linkify-it@5.0.0:
+    dependencies:
+      uc.micro: 2.1.0
+
+  lit-element@4.1.1:
+    dependencies:
+      '@lit-labs/ssr-dom-shim': 1.3.0
+      '@lit/reactive-element': 2.0.4
+      lit-html: 3.2.1
+
+  lit-html@3.2.1:
+    dependencies:
+      '@types/trusted-types': 2.0.7
+
+  lit@3.2.1:
+    dependencies:
+      '@lit/reactive-element': 2.0.4
+      lit-element: 4.1.1
+      lit-html: 3.2.1
+
+  locate-path@5.0.0:
+    dependencies:
+      p-locate: 4.1.0
+
+  log-symbols@6.0.0:
+    dependencies:
+      chalk: 5.4.1
+      is-unicode-supported: 1.3.0
+
+  magic-string@0.30.17:
+    dependencies:
+      '@jridgewell/sourcemap-codec': 1.5.0
+
+  make-dir@3.1.0:
+    dependencies:
+      semver: 6.3.1
+
+  markdown-it-anchor@9.2.0(@types/markdown-it@14.1.2)(markdown-it@14.1.0):
+    dependencies:
+      '@types/markdown-it': 14.1.2
+      markdown-it: 14.1.0
+
+  markdown-it-emoji@3.0.0: {}
+
+  markdown-it@14.1.0:
+    dependencies:
+      argparse: 2.0.1
+      entities: 4.5.0
+      linkify-it: 5.0.0
+      mdurl: 2.0.0
+      punycode.js: 2.3.1
+      uc.micro: 2.1.0
+
+  mathjax-full@3.2.2:
+    dependencies:
+      esm: 3.2.25
+      mhchemparser: 4.2.1
+      mj-context-menu: 0.6.1
+      speech-rule-engine: 4.0.7
+
+  mdast-util-to-hast@13.2.0:
+    dependencies:
+      '@types/hast': 3.0.4
+      '@types/mdast': 4.0.4
+      '@ungap/structured-clone': 1.3.0
+      devlop: 1.1.0
+      micromark-util-sanitize-uri: 2.0.1
+      trim-lines: 3.0.1
+      unist-util-position: 5.0.0
+      unist-util-visit: 5.0.0
+      vfile: 6.0.3
+
+  mdurl@2.0.0: {}
+
+  merge2@1.4.1: {}
+
+  mhchemparser@4.2.1: {}
+
+  micromark-util-character@2.1.1:
+    dependencies:
+      micromark-util-symbol: 2.0.1
+      micromark-util-types: 2.0.1
+
+  micromark-util-encode@2.0.1: {}
+
+  micromark-util-sanitize-uri@2.0.1:
+    dependencies:
+      micromark-util-character: 2.1.1
+      micromark-util-encode: 2.0.1
+      micromark-util-symbol: 2.0.1
+
+  micromark-util-symbol@2.0.1: {}
+
+  micromark-util-types@2.0.1: {}
+
+  micromatch@4.0.8:
+    dependencies:
+      braces: 3.0.3
+      picomatch: 2.3.1
+
+  mimic-function@5.0.1: {}
+
+  mitt@3.0.1: {}
+
+  mj-context-menu@0.6.1: {}
+
+  ms@2.1.3: {}
+
+  nanoid@3.3.8: {}
+
+  nanoid@5.0.9: {}
+
+  node-addon-api@7.1.1:
+    optional: true
+
+  node-releases@2.0.19: {}
+
+  normalize-path@3.0.0: {}
+
+  normalize-range@0.1.2: {}
+
+  npm-run-path@6.0.0:
+    dependencies:
+      path-key: 4.0.0
+      unicorn-magic: 0.3.0
+
+  nth-check@2.1.1:
+    dependencies:
+      boolbase: 1.0.0
+
+  onetime@7.0.0:
+    dependencies:
+      mimic-function: 5.0.1
+
+  oniguruma-to-es@3.1.0:
+    dependencies:
+      emoji-regex-xs: 1.0.0
+      regex: 6.0.1
+      regex-recursion: 6.0.2
+
+  ora@8.2.0:
+    dependencies:
+      chalk: 5.4.1
+      cli-cursor: 5.0.0
+      cli-spinners: 2.9.2
+      is-interactive: 2.0.0
+      is-unicode-supported: 2.1.0
+      log-symbols: 6.0.0
+      stdin-discarder: 0.2.2
+      string-width: 7.2.0
+      strip-ansi: 7.1.0
+
+  p-limit@2.3.0:
+    dependencies:
+      p-try: 2.2.0
+
+  p-locate@4.1.0:
+    dependencies:
+      p-limit: 2.3.0
+
+  p-try@2.2.0: {}
+
+  parse-ms@4.0.0: {}
+
+  parse5-htmlparser2-tree-adapter@7.1.0:
+    dependencies:
+      domhandler: 5.0.3
+      parse5: 7.2.1
+
+  parse5-parser-stream@7.1.2:
+    dependencies:
+      parse5: 7.2.1
+
+  parse5@7.2.1:
+    dependencies:
+      entities: 4.5.0
+
+  path-exists@4.0.0: {}
+
+  path-key@3.1.1: {}
+
+  path-key@4.0.0: {}
+
+  path-type@4.0.0: {}
+
+  path-type@5.0.0: {}
+
+  perfect-debounce@1.0.0: {}
+
+  photoswipe@5.4.4: {}
+
+  picocolors@1.1.1: {}
+
+  picomatch@2.3.1: {}
+
+  pkg-dir@4.2.0:
+    dependencies:
+      find-up: 4.1.0
+
+  pngjs@5.0.0: {}
+
+  postcss-load-config@6.0.1(postcss@8.5.1)(yaml@2.7.0):
+    dependencies:
+      lilconfig: 3.1.3
+    optionalDependencies:
+      postcss: 8.5.1
+      yaml: 2.7.0
+
+  postcss-value-parser@4.2.0: {}
+
+  postcss@8.5.1:
+    dependencies:
+      nanoid: 3.3.8
+      picocolors: 1.1.1
+      source-map-js: 1.2.1
+
+  preact@10.25.4: {}
+
+  pretty-ms@9.2.0:
+    dependencies:
+      parse-ms: 4.0.0
+
+  property-information@6.5.0: {}
+
+  punycode.js@2.3.1: {}
+
+  qrcode@1.5.4:
+    dependencies:
+      dijkstrajs: 1.0.3
+      pngjs: 5.0.0
+      yargs: 15.4.1
+
+  queue-microtask@1.2.3: {}
+
+  readdirp@3.6.0:
+    dependencies:
+      picomatch: 2.3.1
+
+  readdirp@4.1.1: {}
+
+  regex-recursion@6.0.2:
+    dependencies:
+      regex-utilities: 2.3.0
+
+  regex-utilities@2.3.0: {}
+
+  regex@6.0.1:
+    dependencies:
+      regex-utilities: 2.3.0
+
+  require-directory@2.1.1: {}
+
+  require-main-filename@2.0.0: {}
+
+  restore-cursor@5.1.0:
+    dependencies:
+      onetime: 7.0.0
+      signal-exit: 4.1.0
+
+  reusify@1.0.4: {}
+
+  rfdc@1.4.1: {}
+
+  rollup@4.34.6:
+    dependencies:
+      '@types/estree': 1.0.6
+    optionalDependencies:
+      '@rollup/rollup-android-arm-eabi': 4.34.6
+      '@rollup/rollup-android-arm64': 4.34.6
+      '@rollup/rollup-darwin-arm64': 4.34.6
+      '@rollup/rollup-darwin-x64': 4.34.6
+      '@rollup/rollup-freebsd-arm64': 4.34.6
+      '@rollup/rollup-freebsd-x64': 4.34.6
+      '@rollup/rollup-linux-arm-gnueabihf': 4.34.6
+      '@rollup/rollup-linux-arm-musleabihf': 4.34.6
+      '@rollup/rollup-linux-arm64-gnu': 4.34.6
+      '@rollup/rollup-linux-arm64-musl': 4.34.6
+      '@rollup/rollup-linux-loongarch64-gnu': 4.34.6
+      '@rollup/rollup-linux-powerpc64le-gnu': 4.34.6
+      '@rollup/rollup-linux-riscv64-gnu': 4.34.6
+      '@rollup/rollup-linux-s390x-gnu': 4.34.6
+      '@rollup/rollup-linux-x64-gnu': 4.34.6
+      '@rollup/rollup-linux-x64-musl': 4.34.6
+      '@rollup/rollup-win32-arm64-msvc': 4.34.6
+      '@rollup/rollup-win32-ia32-msvc': 4.34.6
+      '@rollup/rollup-win32-x64-msvc': 4.34.6
+      fsevents: 2.3.3
+
+  run-parallel@1.2.0:
+    dependencies:
+      queue-microtask: 1.2.3
+
+  rxjs@7.8.1:
+    dependencies:
+      tslib: 2.8.1
+
+  safer-buffer@2.1.2: {}
+
+  sass-embedded-android-arm64@1.83.4:
+    optional: true
+
+  sass-embedded-android-arm@1.83.4:
+    optional: true
+
+  sass-embedded-android-ia32@1.83.4:
+    optional: true
+
+  sass-embedded-android-riscv64@1.83.4:
+    optional: true
+
+  sass-embedded-android-x64@1.83.4:
+    optional: true
+
+  sass-embedded-darwin-arm64@1.83.4:
+    optional: true
+
+  sass-embedded-darwin-x64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-arm64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-arm@1.83.4:
+    optional: true
+
+  sass-embedded-linux-ia32@1.83.4:
+    optional: true
+
+  sass-embedded-linux-musl-arm64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-musl-arm@1.83.4:
+    optional: true
+
+  sass-embedded-linux-musl-ia32@1.83.4:
+    optional: true
+
+  sass-embedded-linux-musl-riscv64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-musl-x64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-riscv64@1.83.4:
+    optional: true
+
+  sass-embedded-linux-x64@1.83.4:
+    optional: true
+
+  sass-embedded-win32-arm64@1.83.4:
+    optional: true
+
+  sass-embedded-win32-ia32@1.83.4:
+    optional: true
+
+  sass-embedded-win32-x64@1.83.4:
+    optional: true
+
+  sass-embedded@1.83.4:
+    dependencies:
+      '@bufbuild/protobuf': 2.2.3
+      buffer-builder: 0.2.0
+      colorjs.io: 0.5.2
+      immutable: 5.0.3
+      rxjs: 7.8.1
+      supports-color: 8.1.1
+      sync-child-process: 1.0.2
+      varint: 6.0.0
+    optionalDependencies:
+      sass-embedded-android-arm: 1.83.4
+      sass-embedded-android-arm64: 1.83.4
+      sass-embedded-android-ia32: 1.83.4
+      sass-embedded-android-riscv64: 1.83.4
+      sass-embedded-android-x64: 1.83.4
+      sass-embedded-darwin-arm64: 1.83.4
+      sass-embedded-darwin-x64: 1.83.4
+      sass-embedded-linux-arm: 1.83.4
+      sass-embedded-linux-arm64: 1.83.4
+      sass-embedded-linux-ia32: 1.83.4
+      sass-embedded-linux-musl-arm: 1.83.4
+      sass-embedded-linux-musl-arm64: 1.83.4
+      sass-embedded-linux-musl-ia32: 1.83.4
+      sass-embedded-linux-musl-riscv64: 1.83.4
+      sass-embedded-linux-musl-x64: 1.83.4
+      sass-embedded-linux-riscv64: 1.83.4
+      sass-embedded-linux-x64: 1.83.4
+      sass-embedded-win32-arm64: 1.83.4
+      sass-embedded-win32-ia32: 1.83.4
+      sass-embedded-win32-x64: 1.83.4
+
+  sass@1.83.4:
+    dependencies:
+      chokidar: 4.0.3
+      immutable: 5.0.3
+      source-map-js: 1.2.1
+    optionalDependencies:
+      '@parcel/watcher': 2.5.1
+    optional: true
+
+  sax@1.4.1: {}
+
+  search-insights@2.17.3: {}
+
+  section-matter@1.0.0:
+    dependencies:
+      extend-shallow: 2.0.1
+      kind-of: 6.0.3
+
+  semver@6.3.1: {}
+
+  set-blocking@2.0.0: {}
+
+  shebang-command@2.0.0:
+    dependencies:
+      shebang-regex: 3.0.0
+
+  shebang-regex@3.0.0: {}
+
+  shiki@2.3.2:
+    dependencies:
+      '@shikijs/core': 2.3.2
+      '@shikijs/engine-javascript': 2.3.2
+      '@shikijs/engine-oniguruma': 2.3.2
+      '@shikijs/langs': 2.3.2
+      '@shikijs/themes': 2.3.2
+      '@shikijs/types': 2.3.2
+      '@shikijs/vscode-textmate': 10.0.1
+      '@types/hast': 3.0.4
+
+  signal-exit@4.1.0: {}
+
+  sitemap@8.0.0:
+    dependencies:
+      '@types/node': 17.0.45
+      '@types/sax': 1.2.7
+      arg: 5.0.2
+      sax: 1.4.1
+
+  slash@3.0.0: {}
+
+  slash@5.1.0: {}
+
+  source-map-js@1.2.1: {}
+
+  space-separated-tokens@2.0.2: {}
+
+  speakingurl@14.0.1: {}
+
+  speech-rule-engine@4.0.7:
+    dependencies:
+      commander: 9.2.0
+      wicked-good-xpath: 1.3.0
+      xmldom-sre: 0.1.31
+
+  sprintf-js@1.0.3: {}
+
+  stdin-discarder@0.2.2: {}
+
+  string-width@4.2.3:
+    dependencies:
+      emoji-regex: 8.0.0
+      is-fullwidth-code-point: 3.0.0
+      strip-ansi: 6.0.1
+
+  string-width@7.2.0:
+    dependencies:
+      emoji-regex: 10.4.0
+      get-east-asian-width: 1.3.0
+      strip-ansi: 7.1.0
+
+  stringify-entities@4.0.4:
+    dependencies:
+      character-entities-html4: 2.1.0
+      character-entities-legacy: 3.0.0
+
+  strip-ansi@6.0.1:
+    dependencies:
+      ansi-regex: 5.0.1
+
+  strip-ansi@7.1.0:
+    dependencies:
+      ansi-regex: 6.1.0
+
+  strip-bom-string@1.0.0: {}
+
+  strip-final-newline@4.0.0: {}
+
+  strip-outer@1.0.1:
+    dependencies:
+      escape-string-regexp: 1.0.5
+
+  superjson@2.2.2:
+    dependencies:
+      copy-anything: 3.0.5
+
+  supports-color@8.1.1:
+    dependencies:
+      has-flag: 4.0.0
+
+  sync-child-process@1.0.2:
+    dependencies:
+      sync-message-port: 1.1.3
+
+  sync-message-port@1.1.3: {}
+
+  synckit@0.9.2:
+    dependencies:
+      '@pkgr/core': 0.1.1
+      tslib: 2.8.1
+
+  to-regex-range@5.0.1:
+    dependencies:
+      is-number: 7.0.0
+
+  trim-lines@3.0.1: {}
+
+  trim-repeated@1.0.0:
+    dependencies:
+      escape-string-regexp: 1.0.5
+
+  ts-debounce@4.0.0: {}
+
+  tslib@2.8.1: {}
+
+  uc.micro@2.1.0: {}
+
+  undici-types@6.20.0: {}
+
+  undici@6.21.1: {}
+
+  unicorn-magic@0.1.0: {}
+
+  unicorn-magic@0.3.0: {}
+
+  unist-util-is@6.0.0:
+    dependencies:
+      '@types/unist': 3.0.3
+
+  unist-util-position@5.0.0:
+    dependencies:
+      '@types/unist': 3.0.3
+
+  unist-util-stringify-position@4.0.0:
+    dependencies:
+      '@types/unist': 3.0.3
+
+  unist-util-visit-parents@6.0.1:
+    dependencies:
+      '@types/unist': 3.0.3
+      unist-util-is: 6.0.0
+
+  unist-util-visit@5.0.0:
+    dependencies:
+      '@types/unist': 3.0.3
+      unist-util-is: 6.0.0
+      unist-util-visit-parents: 6.0.1
+
+  universalify@2.0.1: {}
+
+  upath@2.0.1: {}
+
+  update-browserslist-db@1.1.2(browserslist@4.24.4):
+    dependencies:
+      browserslist: 4.24.4
+      escalade: 3.2.0
+      picocolors: 1.1.1
+
+  varint@6.0.0: {}
+
+  vfile-message@4.0.2:
+    dependencies:
+      '@types/unist': 3.0.3
+      unist-util-stringify-position: 4.0.0
+
+  vfile@6.0.3:
+    dependencies:
+      '@types/unist': 3.0.3
+      vfile-message: 4.0.2
+
+  vite@6.0.11(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0):
+    dependencies:
+      esbuild: 0.24.2
+      postcss: 8.5.1
+      rollup: 4.34.6
+    optionalDependencies:
+      '@types/node': 22.13.1
+      fsevents: 2.3.3
+      sass: 1.83.4
+      sass-embedded: 1.83.4
+      yaml: 2.7.0
+
+  vue-router@4.5.0(vue@3.5.13):
+    dependencies:
+      '@vue/devtools-api': 6.6.4
+      vue: 3.5.13
+
+  vue3-carousel@0.13.0(vue@3.5.13):
+    dependencies:
+      vue: 3.5.13
+
+  vue@3.5.13:
+    dependencies:
+      '@vue/compiler-dom': 3.5.13
+      '@vue/compiler-sfc': 3.5.13
+      '@vue/runtime-dom': 3.5.13
+      '@vue/server-renderer': 3.5.13(vue@3.5.13)
+      '@vue/shared': 3.5.13
+
+  vuepress-plugin-components@2.0.0-rc.71(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)):
+    dependencies:
+      '@stackblitz/sdk': 1.11.0
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-sass-palette': 2.0.0-rc.74(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      balloon-css: 1.2.0
+      create-codepen: 2.0.0
+      qrcode: 1.5.4
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+      vuepress-shared: 2.0.0-rc.71(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+    optionalDependencies:
+      sass: 1.83.4
+      sass-embedded: 1.83.4
+    transitivePeerDependencies:
+      - typescript
+
+  vuepress-plugin-md-enhance@2.0.0-rc.71(markdown-it@14.1.0)(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)):
+    dependencies:
+      '@mdit/plugin-container': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-demo': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-plantuml': 0.16.0(markdown-it@14.1.0)
+      '@mdit/plugin-uml': 0.16.0(markdown-it@14.1.0)
+      '@types/markdown-it': 14.1.2
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-sass-palette': 2.0.0-rc.74(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      balloon-css: 1.2.0
+      js-yaml: 4.1.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+      vuepress-shared: 2.0.0-rc.71(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+    optionalDependencies:
+      sass: 1.83.4
+      sass-embedded: 1.83.4
+    transitivePeerDependencies:
+      - markdown-it
+      - typescript
+
+  vuepress-shared@2.0.0-rc.71(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)):
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      dayjs: 1.11.13
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+    transitivePeerDependencies:
+      - typescript
+
+  vuepress-theme-hope@2.0.0-rc.71(@vuepress/plugin-docsearch@2.0.0-rc.74(@algolia/client-search@5.20.1)(search-insights@2.17.3)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)))(markdown-it@14.1.0)(mathjax-full@3.2.2)(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)):
+    dependencies:
+      '@vuepress/helper': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-active-header-links': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-back-to-top': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-blog': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-catalog': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-comment': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-copy-code': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-copyright': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-git': 2.0.0-rc.68(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-icon': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-links-check': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-ext': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-hint': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-image': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-include': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-math': 2.0.0-rc.74(markdown-it@14.1.0)(mathjax-full@3.2.2)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-stylize': 2.0.0-rc.75(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-markdown-tab': 2.0.0-rc.74(markdown-it@14.1.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-notice': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-nprogress': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-photo-swipe': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-reading-time': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-redirect': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-rtl': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-sass-palette': 2.0.0-rc.74(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-seo': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-shiki': 2.0.0-rc.74(@vueuse/core@12.5.0)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-sitemap': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vuepress/plugin-theme-data': 2.0.0-rc.74(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      '@vueuse/core': 12.5.0
+      balloon-css: 1.2.0
+      bcrypt-ts: 5.0.3
+      chokidar: 3.6.0
+      vue: 3.5.13
+      vuepress: 2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13)
+      vuepress-plugin-components: 2.0.0-rc.71(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress-plugin-md-enhance: 2.0.0-rc.71(markdown-it@14.1.0)(sass-embedded@1.83.4)(sass@1.83.4)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      vuepress-shared: 2.0.0-rc.71(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+    optionalDependencies:
+      '@vuepress/plugin-docsearch': 2.0.0-rc.74(@algolia/client-search@5.20.1)(search-insights@2.17.3)(vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13))
+      sass: 1.83.4
+      sass-embedded: 1.83.4
+    transitivePeerDependencies:
+      - '@vue/repl'
+      - '@waline/client'
+      - artalk
+      - artplayer
+      - chart.js
+      - dashjs
+      - echarts
+      - flowchart.ts
+      - hls.js
+      - katex
+      - kotlin-playground
+      - markdown-it
+      - markmap-lib
+      - markmap-toolbar
+      - markmap-view
+      - mathjax-full
+      - mermaid
+      - mpegts.js
+      - sandpack-vue3
+      - twikoo
+      - typescript
+      - vidstack
+
+  vuepress@2.0.0-rc.19(@vuepress/bundler-vite@2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0))(vue@3.5.13):
+    dependencies:
+      '@vuepress/cli': 2.0.0-rc.19
+      '@vuepress/client': 2.0.0-rc.19
+      '@vuepress/core': 2.0.0-rc.19
+      '@vuepress/markdown': 2.0.0-rc.19
+      '@vuepress/shared': 2.0.0-rc.19
+      '@vuepress/utils': 2.0.0-rc.19
+      vue: 3.5.13
+    optionalDependencies:
+      '@vuepress/bundler-vite': 2.0.0-rc.19(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.83.4)(yaml@2.7.0)
+    transitivePeerDependencies:
+      - supports-color
+      - typescript
+
+  whatwg-encoding@3.1.1:
+    dependencies:
+      iconv-lite: 0.6.3
+
+  whatwg-mimetype@4.0.0: {}
+
+  which-module@2.0.1: {}
+
+  which@2.0.2:
+    dependencies:
+      isexe: 2.0.0
+
+  wicked-good-xpath@1.3.0: {}
+
+  wrap-ansi@6.2.0:
+    dependencies:
+      ansi-styles: 4.3.0
+      string-width: 4.2.3
+      strip-ansi: 6.0.1
+
+  xmldom-sre@0.1.31: {}
+
+  y18n@4.0.3: {}
+
+  yaml@2.7.0:
+    optional: true
+
+  yargs-parser@18.1.3:
+    dependencies:
+      camelcase: 5.3.1
+      decamelize: 1.2.0
+
+  yargs@15.4.1:
+    dependencies:
+      cliui: 6.0.0
+      decamelize: 1.2.0
+      find-up: 4.1.0
+      get-caller-file: 2.0.5
+      require-directory: 2.1.1
+      require-main-filename: 2.0.0
+      set-blocking: 2.0.0
+      string-width: 4.2.3
+      which-module: 2.0.1
+      y18n: 4.0.3
+      yargs-parser: 18.1.3
+
+  yoctocolors@2.1.1: {}
+
+  zwitch@2.0.4: {}
diff --git a/src/.vuepress/client.ts b/src/.vuepress/client.ts
new file mode 100644
index 000000000..8f2fd9f87
--- /dev/null
+++ b/src/.vuepress/client.ts
@@ -0,0 +1,59 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { defineDocSearchConfig } from '@vuepress/plugin-docsearch/client';
+import { computed } from 'vue';
+import { defineClientConfig, usePageData, useRouter, withBase } from 'vuepress/client';
+import DocSearch from './components/DocSearch.vue';
+import { getDocVersion } from './utils/index.js';
+
+export default defineClientConfig({
+  enhance: ({ app }) => {
+    app.component('DocSearch', DocSearch);
+  },
+  setup() {
+    const pageData = usePageData();
+    const router = useRouter();
+
+    let lastTo  = '';
+    
+    router.onError((error) => {
+      console.warn(error);
+      if(!lastTo) return;
+      window.location.href = withBase(lastTo);
+      lastTo = '';
+    });
+    router.beforeEach((to) => {
+      lastTo = to.fullPath;
+    });
+
+    const docSearchConfig = computed(() => ({
+      appId: 'JLT9R2YGAE',
+      apiKey: '5d062598828a610e4f9e6d9d3389ae45',
+      indexName: 'iotdb-apache_tsfile',
+      maxResultsPerGroup: 10,
+      disableUserPersonalization: true,
+      searchParameters: {
+        indexName: 'iotdb-apache_tsfile',
+        facetFilters: [`version:${getDocVersion(pageData.value.path)}`],
+      },
+    }));
+
+    defineDocSearchConfig(docSearchConfig);
+  },
+});
diff --git a/src/.vuepress/components/DocSearch.vue b/src/.vuepress/components/DocSearch.vue
new file mode 100644
index 000000000..78e6a897f
--- /dev/null
+++ b/src/.vuepress/components/DocSearch.vue
@@ -0,0 +1,35 @@
+<!-- 
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<script setup lang="ts">
+import { usePageData } from 'vuepress/client';
+import { getDocVersion } from '../utils/index.js';
+import { computed, watch } from 'vue';
+
+const pageData = usePageData();
+
+const docVersion = computed(() => getDocVersion(pageData.value.path));
+
+watch(() => docVersion.value, () => {
+  window.location.reload();
+});
+</script>
+
+<template>
+  <SearchBox :key="docVersion" />
+</template>
diff --git a/docs/src/.vuepress/components/PageFooter.vue b/src/.vuepress/components/PageFooter.vue
similarity index 97%
rename from docs/src/.vuepress/components/PageFooter.vue
rename to src/.vuepress/components/PageFooter.vue
index 9fa86e095..4f0b135b5 100644
--- a/docs/src/.vuepress/components/PageFooter.vue
+++ b/src/.vuepress/components/PageFooter.vue
@@ -27,7 +27,7 @@
 </template>
 <script setup lang="ts">
 import { computed } from 'vue';
-import { usePageData } from '@vuepress/client';
+import { usePageData } from 'vuepress/client';
 
 const pageData = usePageData();
 
diff --git a/docs/src/.vuepress/config.ts b/src/.vuepress/config.ts
similarity index 53%
rename from docs/src/.vuepress/config.ts
rename to src/.vuepress/config.ts
index f93d14c4b..0e926ee4d 100644
--- a/docs/src/.vuepress/config.ts
+++ b/src/.vuepress/config.ts
@@ -15,9 +15,9 @@
   under the License.
  */
 
-import { getDirname, path } from '@vuepress/utils';
+import { getDirname, path } from 'vuepress/utils';
+import { viteBundler } from '@vuepress/bundler-vite';
 import { defineUserConfig } from "vuepress";
-import { docsearchPlugin } from './components/docsearch/node/index.js';
 import theme from "./theme.js";
 
 const dirname = getDirname(import.meta.url);
@@ -67,57 +67,15 @@ export default defineUserConfig({
     //   './utils/index',
     // ),
   },
-  plugins: [
-    docsearchPlugin({
-      appId: 'JLT9R2YGAE',
-      apiKey: '5d062598828a610e4f9e6d9d3389ae45',
-      indexName: 'iotdb-apache_tsfile',
-      // disableUserPersonalization: true,
-      locales: {
-        '/zh/': {
-          placeholder: '搜索文档',
-          translations: {
-            button: {
-              buttonText: '搜索文档',
-              buttonAriaLabel: '搜索文档',
-            },
-            modal: {
-              searchBox: {
-                resetButtonTitle: '清除查询条件',
-                resetButtonAriaLabel: '清除查询条件',
-                cancelButtonText: '取消',
-                cancelButtonAriaLabel: '取消',
-              },
-              startScreen: {
-                recentSearchesTitle: '搜索历史',
-                noRecentSearchesText: '没有搜索历史',
-                saveRecentSearchButtonTitle: '保存至搜索历史',
-                removeRecentSearchButtonTitle: '从搜索历史中移除',
-                favoriteSearchesTitle: '收藏',
-                removeFavoriteSearchButtonTitle: '从收藏中移除',
-              },
-              errorScreen: {
-                titleText: '无法获取结果',
-                helpText: '你可能需要检查你的网络连接',
-              },
-              footer: {
-                selectText: '选择',
-                navigateText: '切换',
-                closeText: '关闭',
-                searchByText: '搜索提供者',
-              },
-              noResultsScreen: {
-                noResultsText: '无法找到相关结果',
-                suggestedQueryText: '你可以尝试查询',
-                reportMissingResultsText: '你认为该查询应该有结果?',
-                reportMissingResultsLinkText: '点击反馈',
-              },
-            },
-          },
+  bundler: viteBundler({
+    vuePluginOptions: {
+      template: {
+        compilerOptions: {
+          isCustomElement: (tag) => tag === 'center',
         },
       },
-    }),
-  ],
+    },
+  }),
   // Enable it with pwa
   // shouldPrefetch: false,
 });
diff --git a/docs/src/.vuepress/navbar/en.ts b/src/.vuepress/navbar/en.ts
similarity index 89%
rename from docs/src/.vuepress/navbar/en.ts
rename to src/.vuepress/navbar/en.ts
index 99c9e82c2..9b4d3af28 100644
--- a/docs/src/.vuepress/navbar/en.ts
+++ b/src/.vuepress/navbar/en.ts
@@ -20,11 +20,10 @@ import { navbar } from "vuepress-theme-hope";
 export const enNavbar = navbar([
   {
     text: 'Documentation',
-    link: '/UserGuide/latest/QuickStart/QuickStart',
-    // children: [
-    //   // { text: 'develop', link: '/UserGuide/develop/QuickStart/QuickStart' },
-    //   { text: 'v1.0.x', link: '/UserGuide/latest/QuickStart/QuickStart' },
-    // ],
+    children: [
+      { text: 'v2.x', link: '/zh/UserGuide/latest/QuickStart/QuickStart' },
+      { text: 'v1.x', link: '/zh/UserGuide/v1.x/QuickStart/QuickStart' },
+    ],
   },
   {
     text: 'Download',
diff --git a/docs/src/.vuepress/navbar/index.ts b/src/.vuepress/navbar/index.ts
similarity index 100%
rename from docs/src/.vuepress/navbar/index.ts
rename to src/.vuepress/navbar/index.ts
diff --git a/docs/src/.vuepress/navbar/zh.ts b/src/.vuepress/navbar/zh.ts
similarity index 88%
rename from docs/src/.vuepress/navbar/zh.ts
rename to src/.vuepress/navbar/zh.ts
index 99decad1a..eed792af1 100644
--- a/docs/src/.vuepress/navbar/zh.ts
+++ b/src/.vuepress/navbar/zh.ts
@@ -20,11 +20,10 @@ import { navbar } from "vuepress-theme-hope";
 export const zhNavbar = navbar([
   {
     text: '文档',
-    link: '/zh/UserGuide/latest/QuickStart/QuickStart',
-    // children: [
-    //   // { text: 'develop', link: '/zh/UserGuide/develop/QuickStart/QuickStart' },
-    //   { text: 'v1.0.x', link: '/zh/UserGuide/latest/QuickStart/QuickStart' },
-    // ],
+    children: [
+      { text: 'v2.x', link: '/zh/UserGuide/latest/QuickStart/QuickStart' },
+      { text: 'v1.x', link: '/zh/UserGuide/v1.x/QuickStart/QuickStart' },
+    ],
   },
   {
     text: '下载',
diff --git a/docs/src/.vuepress/public/.asf.yaml b/src/.vuepress/public/.asf.yaml
similarity index 100%
rename from docs/src/.vuepress/public/.asf.yaml
rename to src/.vuepress/public/.asf.yaml
diff --git a/docs/src/.vuepress/public/bg.svg b/src/.vuepress/public/bg.svg
similarity index 100%
rename from docs/src/.vuepress/public/bg.svg
rename to src/.vuepress/public/bg.svg
diff --git a/docs/src/.vuepress/public/favicon.ico b/src/.vuepress/public/favicon.ico
similarity index 100%
rename from docs/src/.vuepress/public/favicon.ico
rename to src/.vuepress/public/favicon.ico
diff --git a/docs/src/.vuepress/public/home_icon.svg b/src/.vuepress/public/home_icon.svg
similarity index 100%
rename from docs/src/.vuepress/public/home_icon.svg
rename to src/.vuepress/public/home_icon.svg
diff --git a/docs/src/.vuepress/public/logo.svg b/src/.vuepress/public/logo.svg
similarity index 100%
rename from docs/src/.vuepress/public/logo.svg
rename to src/.vuepress/public/logo.svg
diff --git a/docs/src/.vuepress/public/s.svg b/src/.vuepress/public/s.svg
similarity index 100%
rename from docs/src/.vuepress/public/s.svg
rename to src/.vuepress/public/s.svg
diff --git a/docs/src/.vuepress/sidebar/en.ts b/src/.vuepress/sidebar/en.ts
similarity index 85%
rename from docs/src/.vuepress/sidebar/en.ts
rename to src/.vuepress/sidebar/en.ts
index 7db308956..da6db5f2e 100644
--- a/docs/src/.vuepress/sidebar/en.ts
+++ b/src/.vuepress/sidebar/en.ts
@@ -16,8 +16,11 @@
  */
 
 import { sidebar } from "vuepress-theme-hope";
-import { enSidebar as V100xSidebar } from './V1.0.x/en.js';
+import { enSidebar as V1xSidebar } from './v1.x/en.js';
+import { enSidebar as V2xSidebar } from './v2.x/en.js';
+
 
 export const enSidebar = sidebar({
-  ...V100xSidebar
+  ...V2xSidebar,
+  ...V1xSidebar
 });
diff --git a/docs/src/.vuepress/sidebar/index.ts b/src/.vuepress/sidebar/index.ts
similarity index 100%
rename from docs/src/.vuepress/sidebar/index.ts
rename to src/.vuepress/sidebar/index.ts
diff --git a/docs/src/.vuepress/sidebar/V1.0.x/en.ts b/src/.vuepress/sidebar/v1.x/en.ts
similarity index 95%
rename from docs/src/.vuepress/sidebar/V1.0.x/en.ts
rename to src/.vuepress/sidebar/v1.x/en.ts
index f23eb1fcd..5bd7e1f43 100644
--- a/docs/src/.vuepress/sidebar/V1.0.x/en.ts
+++ b/src/.vuepress/sidebar/v1.x/en.ts
@@ -18,9 +18,9 @@
  */
 
 export const enSidebar = {
-  '/UserGuide/latest/': [
+  '/UserGuide/v1.x/': [
     {
-      text: 'TsFile User Guide (V1.0.x)',
+      text: 'TsFile User Guide (V1.x)',
       children: [],
     },
     {
diff --git a/docs/src/.vuepress/sidebar/V1.0.x/zh.ts b/src/.vuepress/sidebar/v1.x/zh.ts
similarity index 94%
rename from docs/src/.vuepress/sidebar/V1.0.x/zh.ts
rename to src/.vuepress/sidebar/v1.x/zh.ts
index b5fe03ebb..956e7a9de 100644
--- a/docs/src/.vuepress/sidebar/V1.0.x/zh.ts
+++ b/src/.vuepress/sidebar/v1.x/zh.ts
@@ -18,9 +18,9 @@
  */
 
 export const zhSidebar = {
-  '/zh/UserGuide/latest/': [
+  '/zh/UserGuide/v1.x/': [
     {
-      text: 'TsFile 用户手册 (V1.0.x)',
+      text: 'TsFile 用户手册 (v1.x)',
       children: [],
     },
     {
diff --git a/docs/src/.vuepress/components/docsearch/client/components/index.ts b/src/.vuepress/sidebar/v2.x/en.ts
similarity index 51%
rename from docs/src/.vuepress/components/docsearch/client/components/index.ts
rename to src/.vuepress/sidebar/v2.x/en.ts
index cedffa8df..1f5c65e5e 100644
--- a/docs/src/.vuepress/components/docsearch/client/components/index.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -17,4 +17,36 @@
   under the License.
  */
 
-export * from './Docsearch.js';
+export const enSidebar = {
+  '/UserGuide/latest/': [
+    {
+      text: 'TsFile User Guide (V2.x)',
+      children: [],
+    },
+    {
+      text: 'Navigating Time Series Data',
+      collapsible: true,
+      link: 'QuickStart/Navigating_Time_Series_Data',
+    },
+    {
+      text: 'Data Model',
+      collapsible: true,
+      link: 'QuickStart/Data-Model',
+    },
+    {
+      text: 'Quick Start',
+      collapsible: true,
+      link: 'QuickStart/QuickStart',
+      // prefix: 'QuickStart/',
+      // // children: 'structure',
+      // children: [
+      //   { text: 'Quick Start', link: 'QuickStart' },
+      // ],
+    },
+    {
+      text: 'Interface Definitions',
+      collapsible: true,
+      link: 'QuickStart/Interface-Definitions',
+    }
+  ]
+};
diff --git a/docs/src/.vuepress/components/docsearch/client/composables/index.ts b/src/.vuepress/sidebar/v2.x/zh.ts
similarity index 51%
rename from docs/src/.vuepress/components/docsearch/client/composables/index.ts
rename to src/.vuepress/sidebar/v2.x/zh.ts
index ef4a71973..58057e384 100644
--- a/docs/src/.vuepress/components/docsearch/client/composables/index.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -17,4 +17,36 @@
   under the License.
  */
 
-export * from './useDocsearchShim.js';
+export const zhSidebar = {
+  '/zh/UserGuide/latest/': [
+    {
+      text: 'TsFile 用户手册 (V2.x)',
+      children: [],
+    },
+    {
+      text: '走进时序数据',
+      collapsible: true,
+      link: 'QuickStart/Navigating_Time_Series_Data',
+    },
+    {
+      text: '数据模型',
+      collapsible: true,
+      link: 'QuickStart/Data-Model',
+    },
+    {
+      text: '快速上手',
+      collapsible: true,
+      link: 'QuickStart/QuickStart',
+      // prefix: 'QuickStart/',
+      // children: 'structure',
+      // children: [
+      //   { text: '快速上手', link: 'QuickStart' },
+      // ],
+    },
+    {
+      text: '接口定义',
+      collapsible: true,
+      link: 'QuickStart/Interface-Definitions',
+    }
+  ]
+};
diff --git a/docs/src/.vuepress/sidebar/zh.ts b/src/.vuepress/sidebar/zh.ts
similarity index 85%
rename from docs/src/.vuepress/sidebar/zh.ts
rename to src/.vuepress/sidebar/zh.ts
index df1c12473..3625e9d49 100644
--- a/docs/src/.vuepress/sidebar/zh.ts
+++ b/src/.vuepress/sidebar/zh.ts
@@ -16,8 +16,11 @@
  */
 
 import { sidebar } from "vuepress-theme-hope";
-import { zhSidebar as V100xSidebar } from './V1.0.x/zh.js';
+import { zhSidebar as V1xSidebar } from './v1.x/zh.js';
+import { zhSidebar as V2xSidebar } from './v2.x/zh.js';
+
 
 export const zhSidebar = sidebar({
-  ...V100xSidebar
+  ...V2xSidebar,
+  ...V1xSidebar
 });
diff --git a/docs/src/.vuepress/styles/config.scss b/src/.vuepress/styles/config.scss
similarity index 90%
rename from docs/src/.vuepress/styles/config.scss
rename to src/.vuepress/styles/config.scss
index 434e53e05..f2a724332 100644
--- a/docs/src/.vuepress/styles/config.scss
+++ b/src/.vuepress/styles/config.scss
@@ -17,6 +17,10 @@
   under the License.
  */
 
-// you can change config here
+$theme-color: #6738BD;
 $colors: #c0392b, #d35400, #f39c12, #27ae60, #16a085, #2980b9, #8e44ad, #2c3e50,
-  #7f8c8d !default;
+  #7f8c8d;
+$code-bg-color: #282c34;
+$code-color: #fff;
+$pc: 1280px;
+  
\ No newline at end of file
diff --git a/docs/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss
similarity index 100%
rename from docs/src/.vuepress/styles/index.scss
rename to src/.vuepress/styles/index.scss
diff --git a/docs/src/.vuepress/theme.ts b/src/.vuepress/theme.ts
similarity index 52%
rename from docs/src/.vuepress/theme.ts
rename to src/.vuepress/theme.ts
index 2dcd28851..bc4819c7f 100644
--- a/docs/src/.vuepress/theme.ts
+++ b/src/.vuepress/theme.ts
@@ -21,33 +21,22 @@ import { enSidebar, zhSidebar } from "./sidebar/index.js";
 
 export default hopeTheme({
   hostname: "https://tsfile.apache.org/",
-
-  darkmode: 'toggle',
-
   logo: '/logo.svg',
 
   repo: 'https://github.com/apache/tsfile',
-
   repoLabel: 'GitHub',
-
   repoDisplay: true,
-
   docsRepo: 'https://github.com/apache/tsfile',
+  docsDir: 'src',
+  docsBranch: 'docs/dev',
 
-  docsDir: 'docs/src',
-
-  docsBranch: 'develop',
-
-  // pure: true,
-
+  focus: false,
   breadcrumb: false,
-
-  lastUpdated: true,
-
+  darkmode: 'toggle',
   contributors: false,
 
-  navbarIcon: false,
-
+  lastUpdated: true,
+  
   navbarLayout: {
     start: ['Brand'],
     center: [],
@@ -92,85 +81,23 @@ export default hopeTheme({
     },
   },
 
-  plugins: {
-
-    prismjs: {
-      light: 'one-dark',
-    },
-
-    components: {
-      components: ["Badge", "VPCard"],
+  markdown: {
+    align: true,
+    hint: false,
+    figure: true,
+    gfm: true,
+    imgLazyload: true,
+    math: true,
+    highlighter: {
+      type: 'shiki',
+      theme: 'one-dark-pro',
     },
+  },
 
-    // All features are enabled for demo, only preserve features you need here
-    mdEnhance: {
-      align: true,
-      attrs: true,
-      codetabs: true,
-      component: true,
-      demo: true,
-      figure: true,
-      imgLazyload: true,
-      imgSize: true,
-      include: true,
-      mark: true,
-      stylize: [
-        {
-          matcher: "Recommended",
-          replacer: ({ tag }) => {
-            if (tag === "em")
-              return {
-                tag: "Badge",
-                attrs: { type: "tip" },
-                content: "Recommended",
-              };
-          },
-        },
-      ],
-      sub: true,
-      sup: true,
-      tabs: true,
-      vPre: true,
-
-      // install chart.js before enabling it
-      // chart: true,
-
-      // insert component easily
-
-      // install echarts before enabling it
-      // echarts: true,
-
-      // install flowchart.ts before enabling it
-      // flowchart: true,
-
-      // gfm requires mathjax-full to provide tex support
-      // gfm: true,
-
-      // install katex before enabling it
-      // katex: true,
-
-      // install mathjax-full before enabling it
-      // mathjax: true,
-
-      // install mermaid before enabling it
-      // mermaid: true,
-
-      // playground: {
-      //   presets: ["ts", "vue"],
-      // },
-
-      // install reveal.js before enabling it
-      // revealJs: {
-      //   plugins: ["highlight", "math", "search", "notes", "zoom"],
-      // },
-
-      // install @vue/repl before enabling it
-      // vuePlayground: true,
-
-      // install sandpack-vue3 before enabling it
-      // sandpack: true,
-    },
+  plugins: {
+    docsearch: {},
+    sitemap: true,
   },
-}, {
-  custom: true
-});
+},
+{ custom: true },
+);
diff --git a/src/.vuepress/utils/getDocVersion.ts b/src/.vuepress/utils/getDocVersion.ts
new file mode 100644
index 000000000..9be363374
--- /dev/null
+++ b/src/.vuepress/utils/getDocVersion.ts
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+const VERSION_REG = /UserGuide\/([^/]+)/;
+
+export const getDocVersion = (path = '', defaultValue = 'latest') => {
+  if (path.includes('UserGuide/Master') || !path.includes('UserGuide')) {
+    return defaultValue;
+  }
+  /**
+   * 路径 /zh/UserGuide/V1.3.0-2/QuickStart/QuickStart_apache.html, 匹配 V1.3.0-2
+   * 路径 /zh/UserGuide/V1.2.x/QuickStart/QuickStart_apache.html, 匹配 V1.2.x
+   * 路径 /zh/UserGuide/latest/QuickStart/QuickStart_apache.html, 匹配 latest
+   *
+   * 匹配路径中的版本号,UserGuide 后面的版本号为当前文档的版本号, 版本号不一定为数字,可能为 latest或其它,因此只用 / 作为分隔符
+   */
+
+  return VERSION_REG.exec(path)?.[1] ?? defaultValue;
+};
diff --git a/src/.vuepress/utils/index.ts b/src/.vuepress/utils/index.ts
new file mode 100644
index 000000000..c6d65c92e
--- /dev/null
+++ b/src/.vuepress/utils/index.ts
@@ -0,0 +1 @@
+export * from './getDocVersion.js';
diff --git a/docs/src/Community/About.md b/src/Community/About.md
similarity index 100%
rename from docs/src/Community/About.md
rename to src/Community/About.md
diff --git a/docs/src/Community/Feedback.md b/src/Community/Feedback.md
similarity index 100%
rename from docs/src/Community/Feedback.md
rename to src/Community/Feedback.md
diff --git a/docs/src/Development/Community-Project-Committers.md b/src/Development/Community-Project-Committers.md
similarity index 100%
rename from docs/src/Development/Community-Project-Committers.md
rename to src/Development/Community-Project-Committers.md
diff --git a/docs/src/Development/Powered-By.md b/src/Development/Powered-By.md
similarity index 100%
rename from docs/src/Development/Powered-By.md
rename to src/Development/Powered-By.md
diff --git a/docs/src/Download/README.md b/src/Download/README.md
similarity index 100%
rename from docs/src/Download/README.md
rename to src/Download/README.md
diff --git a/docs/src/README.md b/src/README.md
similarity index 97%
rename from docs/src/README.md
rename to src/README.md
index 566496792..3392f7da5 100644
--- a/docs/src/README.md
+++ b/src/README.md
@@ -14,12 +14,10 @@ tagline: TsFile is a columnar storage file format designed for time series data,
 heroFullScreen: true
 actions:
   - text: Download
-    icon: download
     link: ./Download/
     type: primary
 
   - text: QuickStart
-    icon: lightbulb
     link: ./UserGuide/latest/QuickStart/QuickStart
     type: primary
 
diff --git a/docs/src/UserGuide/develop/QuickStart/Data-Model.md b/src/UserGuide/develop/QuickStart/Data-Model.md
similarity index 100%
copy from docs/src/UserGuide/develop/QuickStart/Data-Model.md
copy to src/UserGuide/develop/QuickStart/Data-Model.md
diff --git a/docs/src/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/UserGuide/develop/QuickStart/Interface-Definitions.md
similarity index 100%
copy from docs/src/UserGuide/develop/QuickStart/Interface-Definitions.md
copy to src/UserGuide/develop/QuickStart/Interface-Definitions.md
diff --git a/docs/src/UserGuide/develop/QuickStart/QuickStart.md b/src/UserGuide/develop/QuickStart/QuickStart.md
similarity index 100%
copy from docs/src/UserGuide/develop/QuickStart/QuickStart.md
copy to src/UserGuide/develop/QuickStart/QuickStart.md
diff --git a/docs/src/UserGuide/develop/QuickStart/Data-Model.md b/src/UserGuide/latest/QuickStart/Data-Model.md
similarity index 70%
rename from docs/src/UserGuide/develop/QuickStart/Data-Model.md
rename to src/UserGuide/latest/QuickStart/Data-Model.md
index 2b5a17232..4337e8da8 100644
--- a/docs/src/UserGuide/develop/QuickStart/Data-Model.md
+++ b/src/UserGuide/latest/QuickStart/Data-Model.md
@@ -30,35 +30,39 @@ To manage industrial IoT time series data, the data model of TsFile includes the
 - Schema: A set of Tags that can uniquely identify a kind of device, and the set of Fields that are measured by these devices. E.g., a wind turbine can be uniquely located by "Province," "City," "WindField," and "SerialNumber," so the TAG set of SCHEMA "wind_turbine" can be "Province," "City," "WindField," and "SerialNumber." While its the FIELD set contains "FanSpeed," "Voltage," "Temperature," "WindSpeed," and so on.
 - DeviceId: The unique identifier of an IoT device, which consists of the schema name and all tag values. For example, for the Schema "wind_turbine" above, a DeviceId can be ("wind_turbine", "Beijing", "Beijing", "Field_1135", "T1523678").
 
-
-<table>       
-  <tr>             
-    <th rowspan="1">concept</th>             
-    <th rowspan="1">definition</th>                          
-  </tr>       
-  <tr>             
-    <th rowspan="1">table</th>
-    <th>A collection of devices with the same pattern.The storage table defined during modeling consists of three parts: identification column, time column, and physical quantity column.</th>    
-  </tr>  
-  <tr>
-    <th rowspan="1">TAG</th>
-  	<th>The unique identifier of a device, which can contain 0 to multiple tag columns in a table. The composite value formed by combining the values of the tag columns in the column order when the table was created is called the identifier, and tags with the same composite value are called the same identifier.The data type of the tag column can currently only be String, which can be left unspecified and defaults to StringThe values of the identification column can all be emptyWhen writin [...]
-  </tr>
-  <tr>
-    <th rowspan="1">Time</th>  
-    <th>A table must have a time column, and data with the same identifier value is sorted by time by default.The values in the time column cannot be empty and must be in sequence.</th>
-  </tr> 
-  <tr>             
-    <th rowspan="1">FIELD</th>  
-    <th>The field column defines the measurement point names and data types for time-series data.</th>
-  </tr> 
-  <tr> 
-    <th rowspan="1">row</th>  
-    <th>A row of data in the table</th>
-  </tr> 
+<table>
+	<thead>
+		<tr>
+			<th rowspan="1">concept</th>
+			<th rowspan="1">definition</th>
+		</tr>
+	</thead>
+	<tbody>
+		<tr>
+			<td rowspan="1">table</td>
+			<td>A collection of devices with the same pattern.The storage table defined during modeling consists of three parts: identification column, time column, and physical quantity column.</td>
+		</tr>
+		<tr>
+			<td rowspan="1">TAG</td>
+			<td>The unique identifier of a device, which can contain 0 to multiple tag columns in a table. The composite value formed by combining the values of the tag columns in the column order when the table was created is called the identifier, and tags with the same composite value are called
+				the same identifier.The data type of the tag column can currently only be String, which can be left unspecified and defaults to StringThe values of the identification column can all be emptyWhen writing, all tag columns must be specified (unspecified identity columns are filled with
+				null by default)</td>
+		</tr>
+		<tr>
+			<td rowspan="1">Time</td>
+			<td>A table must have a time column, and data with the same identifier value is sorted by time by default.The values in the time column cannot be empty and must be in sequence.</td>
+		</tr>
+		<tr>
+			<td rowspan="1">FIELD</td>
+			<td>The field column defines the measurement point names and data types for time-series data.</td>
+		</tr>
+		<tr>
+			<td rowspan="1">row</td>
+			<td>A row of data in the table</td>
+		</tr>
+	</tbody>
 </table>
 
-
 ## Example
 
 A schema describes is a collection of devices with the same pattern. As shown in the figure below, it models the management of factory equipment, and the physical variable collection of each device has certain commonalities (such as collecting temperature and humidity physical quantities, collecting physical quantities of the same device on the same frequency, etc.), so it can be managed on a device-by-device basis.
diff --git a/docs/src/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/UserGuide/latest/QuickStart/Interface-Definitions.md
similarity index 100%
rename from docs/src/UserGuide/develop/QuickStart/Interface-Definitions.md
rename to src/UserGuide/latest/QuickStart/Interface-Definitions.md
diff --git a/docs/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
similarity index 100%
copy from docs/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
copy to src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
diff --git a/docs/src/UserGuide/develop/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
similarity index 100%
rename from docs/src/UserGuide/develop/QuickStart/QuickStart.md
rename to src/UserGuide/latest/QuickStart/QuickStart.md
diff --git a/docs/src/UserGuide/latest/QuickStart/Data-Model.md b/src/UserGuide/v1.x/QuickStart/Data-Model.md
similarity index 73%
rename from docs/src/UserGuide/latest/QuickStart/Data-Model.md
rename to src/UserGuide/v1.x/QuickStart/Data-Model.md
index 66d4ce843..45d6c805d 100644
--- a/docs/src/UserGuide/latest/QuickStart/Data-Model.md
+++ b/src/UserGuide/v1.x/QuickStart/Data-Model.md
@@ -7,9 +7,9 @@
     to you under the Apache License, Version 2.0 (the
     "License"); you may not use this file except in compliance
     with the License.  You may obtain a copy of the License at
-    
+
         http://www.apache.org/licenses/LICENSE-2.0
-    
+
     Unless required by applicable law or agreed to in writing,
     software distributed under the License is distributed on an
     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -18,6 +18,7 @@
     under the License.
 
 -->
+
 # Data Model
 
 ## Basic Concepts
@@ -37,29 +38,33 @@ For the above detailed introduction, please refer to:[Entering Time Series Dat
 
 In the above example, the metadata (Scheme) of TsFile contains 2 devices and 5 time series, and is established as a table structure as shown in the following figure:
 
-<table>       
-  <tr>             
-    <th rowspan="1">Device ID</th>             
-    <th rowspan="1">Measurement points</th>                          
-  </tr>       
-  <tr>             
-    <th rowspan="2">Solar panel 1</th> 
-    <th>Voltage(FLOAT)</th>                     
-  </tr>  
-  <tr>
-  <th>Current(FLOAT)</th>
-  </tr>
-  <tr>
-    <th rowspan="4">Fan1</th>  
-  </tr> 
-  <tr>             
-    <th>Voltage(FLOAT)</th>
-  </tr> 
-  <tr> 
-    <th>Current(FLOAT)</th>
-  </tr> 
-  <tr> 
-    <th>Wind Speed(FLOAT)</th> 
-  </tr> 
-</table>
 
+<table>
+  <thead>
+    <tr>
+      <th>Device ID</th>
+      <th>Measurement points</th>
+    </tr>
+  </thead>
+	<tbody>
+		<tr>
+			<td rowspan="2">Solar panel 1</td>
+			<td>Voltage(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>Current(FLOAT)</td>
+		</tr>
+		<tr>
+			<td rowspan="4">Fan1</td>
+		</tr>
+		<tr>
+			<td>Voltage(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>Current(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>Wind Speed(FLOAT)</td>
+		</tr>
+	</tbody>
+</table>
\ No newline at end of file
diff --git a/docs/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
similarity index 100%
rename from docs/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
rename to src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
diff --git a/docs/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/v1.x/QuickStart/QuickStart.md
similarity index 100%
rename from docs/src/UserGuide/latest/QuickStart/QuickStart.md
rename to src/UserGuide/v1.x/QuickStart/QuickStart.md
diff --git a/docs/src/stage/QuickStart.md b/src/stage/QuickStart.md
similarity index 100%
rename from docs/src/stage/QuickStart.md
rename to src/stage/QuickStart.md
diff --git a/docs/src/zh/Community/About.md b/src/zh/Community/About.md
similarity index 100%
rename from docs/src/zh/Community/About.md
rename to src/zh/Community/About.md
diff --git a/docs/src/zh/Community/Feedback.md b/src/zh/Community/Feedback.md
similarity index 100%
rename from docs/src/zh/Community/Feedback.md
rename to src/zh/Community/Feedback.md
diff --git a/docs/src/zh/Development/Community-Project-Committers.md b/src/zh/Development/Community-Project-Committers.md
similarity index 100%
rename from docs/src/zh/Development/Community-Project-Committers.md
rename to src/zh/Development/Community-Project-Committers.md
diff --git a/docs/src/zh/Development/Powered-By.md b/src/zh/Development/Powered-By.md
similarity index 100%
rename from docs/src/zh/Development/Powered-By.md
rename to src/zh/Development/Powered-By.md
diff --git a/docs/src/zh/Download/README.md b/src/zh/Download/README.md
similarity index 100%
rename from docs/src/zh/Download/README.md
rename to src/zh/Download/README.md
diff --git a/docs/src/zh/README.md b/src/zh/README.md
similarity index 97%
rename from docs/src/zh/README.md
rename to src/zh/README.md
index 14a49a7a2..9333195b2 100644
--- a/docs/src/zh/README.md
+++ b/src/zh/README.md
@@ -14,12 +14,10 @@ tagline: TsFile是一种为时间序列数据设计的列式存储文件格式
 heroFullScreen: true
 actions:
   - text: 下载
-    icon: download
     link: ./Download/
     type: primary
 
   - text: 快速上手
-    icon: lightbulb
     link: ./UserGuide/latest/QuickStart/QuickStart
     type: primary
 
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/Data-Model.md b/src/zh/UserGuide/develop/QuickStart/Data-Model.md
similarity index 100%
copy from docs/src/zh/UserGuide/develop/QuickStart/Data-Model.md
copy to src/zh/UserGuide/develop/QuickStart/Data-Model.md
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
similarity index 100%
copy from docs/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
copy to src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/QuickStart.md b/src/zh/UserGuide/develop/QuickStart/QuickStart.md
similarity index 100%
copy from docs/src/zh/UserGuide/develop/QuickStart/QuickStart.md
copy to src/zh/UserGuide/develop/QuickStart/QuickStart.md
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/Data-Model.md b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
similarity index 77%
rename from docs/src/zh/UserGuide/develop/QuickStart/Data-Model.md
rename to src/zh/UserGuide/latest/QuickStart/Data-Model.md
index f6a8bc142..1ecc1e58e 100644
--- a/docs/src/zh/UserGuide/develop/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
@@ -30,34 +30,37 @@
 - 元数据:一组可以唯一标识一种设备的标签,以及由这些设备测量的字段集。例如,风力涡轮机可以通过“省”、“市”、“风场”和“序列号”进行唯一定位,因此方案“wind_turbine”的TAG集可以是“省”,“市”,“风场“和“序列编号”。而其FIELD集包含“风扇速度”、“电压”、“温度”、“风速”等。
 - 设备号:物联网设备的唯一标识符,由模式名称和所有标签值组成。例如,对于上述模式“wind_turbine”,DeviceId可以是(“wind_urbine”、“Beijing”、“Beijing_1135”、“T1523678”)。
 
-<table>       
-  <tr>             
-    <th rowspan="1">概念</th>             
-    <th rowspan="1">定义</th>                          
-  </tr>       
-  <tr>             
-    <th rowspan="1">表</th>
-      <th>一类具有相同模式的设备的集合。建模时定义的存储表由标识列、时间列和物理量列三部分组成。</th>    
-  </tr>  
-  <tr>
-    <th rowspan="1">标识列</th>
-  	<th>设备唯一标识,一个表内可包含0至多个标识列,标识列的值按建表时的列顺序组合形成的复合值称为标识,复合值相同的标识为同一标识。标识列的数据类型目前只能为String,可以不指定,默认为String标识列的值可以全为空写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)</th>
-  </tr>
-  <tr>
-    <th rowspan="1">时间戳</th>  
-    <th>一个表必须有一列时间列,相同标识取值的数据默认按时间排序。时间列的值不能为空,必须顺序的。</th>
-  </tr> 
-  <tr>             
-    <th rowspan="1">测点列</th>  
-    <th>测点列定义了时序数据的测点名称、数据类型。</th>
-  </tr> 
-  <tr> 
-    <th rowspan="1">行</th>  
-    <th>表中的一行数据</th>
-  </tr> 
+<table>
+	<thead>
+		<tr>
+			<th rowspan="1">概念</th>
+			<th rowspan="1">定义</th>
+		</tr>
+	</thead>
+	<tbody>
+		<tr>
+			<td rowspan="1">表</td>
+			<td>一类具有相同模式的设备的集合。建模时定义的存储表由标识列、时间列和物理量列三部分组成。</td>
+		</tr>
+		<tr>
+			<td rowspan="1">标识列</td>
+			<td>设备唯一标识,一个表内可包含0至多个标识列,标识列的值按建表时的列顺序组合形成的复合值称为标识,复合值相同的标识为同一标识。标识列的数据类型目前只能为String,可以不指定,默认为String标识列的值可以全为空写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)</td>
+		</tr>
+		<tr>
+			<td rowspan="1">时间戳</td>
+			<td>一个表必须有一列时间列,相同标识取值的数据默认按时间排序。时间列的值不能为空,必须顺序的。</td>
+		</tr>
+		<tr>
+			<td rowspan="1">测点列</td>
+			<td>测点列定义了时序数据的测点名称、数据类型。</td>
+		</tr>
+		<tr>
+			<td rowspan="1">行</td>
+			<td>表中的一行数据</td>
+		</tr>
+	</tbody>
 </table>
 
-
 ## 示例
 
 元数据描述的是具有相同模式的设备的集合。如下图所示,它模拟了工厂设备的管理,每个设备的物理量采集都具备一定共性(如都采集温度和湿度物理量、同一设备的物理量同频采集等),因此可以逐个设备进行管理。
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md b/src/zh/UserGuide/latest/QuickStart/Interface-Definitions.md
similarity index 100%
rename from docs/src/zh/UserGuide/develop/QuickStart/Interface-Definitions.md
rename to src/zh/UserGuide/latest/QuickStart/Interface-Definitions.md
diff --git a/docs/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
similarity index 100%
copy from docs/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
copy to src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
diff --git a/docs/src/zh/UserGuide/develop/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
similarity index 100%
rename from docs/src/zh/UserGuide/develop/QuickStart/QuickStart.md
rename to src/zh/UserGuide/latest/QuickStart/QuickStart.md
diff --git a/docs/src/zh/UserGuide/latest/QuickStart/Data-Model.md b/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
similarity index 73%
rename from docs/src/zh/UserGuide/latest/QuickStart/Data-Model.md
rename to src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
index 5b8543992..200263456 100644
--- a/docs/src/zh/UserGuide/latest/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
@@ -37,29 +37,32 @@
 
 在上述示例中,TsFile 的元数据(Schema)共包含 2 个设备,5条时间序列,建立为表结构如下图:
 
-<table>       
-  <tr>             
-    <th rowspan="1">设备ID</th>             
-    <th rowspan="1">测点</th>                          
-  </tr>       
-  <tr>             
-    <th rowspan="2">太阳能板1</th> 
-    <th>电压(FLOAT)</th>                     
-  </tr>  
-  <tr>
-  <th>电流(FLOAT)</th>
-  </tr>
-  <tr>
-    <th rowspan="4">风机1</th>  
-  </tr> 
-  <tr>             
-    <th>电压(FLOAT)</th>
-  </tr> 
-  <tr> 
-    <th>电流(FLOAT)</th>
-  </tr> 
-  <tr> 
-    <th>风速(FLOAT)</th> 
-  </tr> 
-</table>
-
+<table>
+	<thead>
+		<tr>
+			<th rowspan="1">设备ID</th>
+			<th rowspan="1">测点</th>
+		</tr>
+	</thead>
+	<tbody>
+		<tr>
+			<td rowspan="2">太阳能板1</td>
+			<td>电压(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>电流(FLOAT)</td>
+		</tr>
+		<tr>
+			<td rowspan="4">风机1</td>
+		</tr>
+		<tr>
+			<td>电压(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>电流(FLOAT)</td>
+		</tr>
+		<tr>
+			<td>风速(FLOAT)</td>
+		</tr>
+	</tbody>
+</table>
\ No newline at end of file
diff --git a/docs/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
similarity index 100%
rename from docs/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
rename to src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
diff --git a/docs/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/v1.x/QuickStart/QuickStart.md
similarity index 100%
rename from docs/src/zh/UserGuide/latest/QuickStart/QuickStart.md
rename to src/zh/UserGuide/v1.x/QuickStart/QuickStart.md
diff --git a/docs/src/zh/stage/QuickStart.md b/src/zh/stage/QuickStart.md
similarity index 100%
rename from docs/src/zh/stage/QuickStart.md
rename to src/zh/stage/QuickStart.md


(tsfile) 08/43: Yr 02 0212 tsfle 2.x data model page reconstruction (#410)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 60f02bbab7ce0fd0d3d6c59191a7c50a52a280b8
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Fri Feb 14 15:26:47 2025 +0800

    Yr 02 0212 tsfle 2.x data model page reconstruction (#410)
    
    * Tsfle-2.x data model page reconstruction
    
    * Download images
---
 src/.vuepress/public/img/20240502164237-dkcm.png       | Bin 0 -> 512180 bytes
 src/.vuepress/public/img/20240505154432.png            | Bin 0 -> 134282 bytes
 src/.vuepress/public/img/20240505154513.png            | Bin 0 -> 437594 bytes
 src/.vuepress/public/img/20240505154735.png            | Bin 0 -> 809403 bytes
 src/.vuepress/public/img/20240505154843.png            | Bin 0 -> 322681 bytes
 src/.vuepress/public/img/2024050517481.png             | Bin 0 -> 165282 bytes
 src/.vuepress/public/img/Data-model01.png              | Bin 0 -> 505872 bytes
 src/.vuepress/public/img/WX20240628-173452@2x.png      | Bin 0 -> 111538 bytes
 src/.vuepress/public/img/data_model_example_image.png  | Bin 0 -> 173398 bytes
 ...46\225\260\346\215\256\346\250\241\345\236\213.png" | Bin 0 -> 394486 bytes
 .../img/\345\277\203\347\224\265\345\233\2761.png"     | Bin 0 -> 437066 bytes
 .../img/\346\225\260\346\215\256\347\202\271.png"      | Bin 0 -> 119620 bytes
 ...46\225\260\346\215\256\344\273\213\347\273\215.png" | Bin 0 -> 792517 bytes
 .../.vuepress/public/img/\347\231\275\346\235\277.png" | Bin 0 -> 437357 bytes
 src/UserGuide/develop/QuickStart/Data-Model.md         |   2 +-
 src/UserGuide/latest/QuickStart/Data-Model.md          |   2 +-
 .../latest/QuickStart/Navigating_Time_Series_Data.md   |   8 ++++----
 src/UserGuide/v1.x/QuickStart/Data-Model.md            |   2 +-
 .../v1.x/QuickStart/Navigating_Time_Series_Data.md     |   8 ++++----
 src/UserGuide/v1.x/QuickStart/QuickStart.md            |   2 +-
 src/zh/UserGuide/develop/QuickStart/Data-Model.md      |   4 +++-
 src/zh/UserGuide/latest/QuickStart/Data-Model.md       |   2 +-
 .../latest/QuickStart/Navigating_Time_Series_Data.md   |   8 ++++----
 src/zh/UserGuide/v1.x/QuickStart/Data-Model.md         |   2 +-
 .../v1.x/QuickStart/Navigating_Time_Series_Data.md     |   8 ++++----
 src/zh/UserGuide/v1.x/QuickStart/QuickStart.md         |   2 +-
 26 files changed, 26 insertions(+), 24 deletions(-)

diff --git a/src/.vuepress/public/img/20240502164237-dkcm.png b/src/.vuepress/public/img/20240502164237-dkcm.png
new file mode 100644
index 000000000..2cdd16c54
Binary files /dev/null and b/src/.vuepress/public/img/20240502164237-dkcm.png differ
diff --git a/src/.vuepress/public/img/20240505154432.png b/src/.vuepress/public/img/20240505154432.png
new file mode 100644
index 000000000..e85fad656
Binary files /dev/null and b/src/.vuepress/public/img/20240505154432.png differ
diff --git a/src/.vuepress/public/img/20240505154513.png b/src/.vuepress/public/img/20240505154513.png
new file mode 100644
index 000000000..09d181bac
Binary files /dev/null and b/src/.vuepress/public/img/20240505154513.png differ
diff --git a/src/.vuepress/public/img/20240505154735.png b/src/.vuepress/public/img/20240505154735.png
new file mode 100644
index 000000000..41a5bb2c0
Binary files /dev/null and b/src/.vuepress/public/img/20240505154735.png differ
diff --git a/src/.vuepress/public/img/20240505154843.png b/src/.vuepress/public/img/20240505154843.png
new file mode 100644
index 000000000..fc49ffeb2
Binary files /dev/null and b/src/.vuepress/public/img/20240505154843.png differ
diff --git a/src/.vuepress/public/img/2024050517481.png b/src/.vuepress/public/img/2024050517481.png
new file mode 100644
index 000000000..ff804667e
Binary files /dev/null and b/src/.vuepress/public/img/2024050517481.png differ
diff --git a/src/.vuepress/public/img/Data-model01.png b/src/.vuepress/public/img/Data-model01.png
new file mode 100644
index 000000000..dc660e47a
Binary files /dev/null and b/src/.vuepress/public/img/Data-model01.png differ
diff --git a/src/.vuepress/public/img/WX20240628-173452@2x.png b/src/.vuepress/public/img/WX20240628-173452@2x.png
new file mode 100644
index 000000000..d603c53b6
Binary files /dev/null and b/src/.vuepress/public/img/WX20240628-173452@2x.png differ
diff --git a/src/.vuepress/public/img/data_model_example_image.png b/src/.vuepress/public/img/data_model_example_image.png
new file mode 100644
index 000000000..7d5fed991
Binary files /dev/null and b/src/.vuepress/public/img/data_model_example_image.png differ
diff --git "a/src/.vuepress/public/img/tsfile\346\225\260\346\215\256\346\250\241\345\236\213.png" "b/src/.vuepress/public/img/tsfile\346\225\260\346\215\256\346\250\241\345\236\213.png"
new file mode 100644
index 000000000..2babe774f
Binary files /dev/null and "b/src/.vuepress/public/img/tsfile\346\225\260\346\215\256\346\250\241\345\236\213.png" differ
diff --git "a/src/.vuepress/public/img/\345\277\203\347\224\265\345\233\2761.png" "b/src/.vuepress/public/img/\345\277\203\347\224\265\345\233\2761.png"
new file mode 100644
index 000000000..7816d3f40
Binary files /dev/null and "b/src/.vuepress/public/img/\345\277\203\347\224\265\345\233\2761.png" differ
diff --git "a/src/.vuepress/public/img/\346\225\260\346\215\256\347\202\271.png" "b/src/.vuepress/public/img/\346\225\260\346\215\256\347\202\271.png"
new file mode 100644
index 000000000..44ae0e742
Binary files /dev/null and "b/src/.vuepress/public/img/\346\225\260\346\215\256\347\202\271.png" differ
diff --git "a/src/.vuepress/public/img/\346\227\266\345\272\217\346\225\260\346\215\256\344\273\213\347\273\215.png" "b/src/.vuepress/public/img/\346\227\266\345\272\217\346\225\260\346\215\256\344\273\213\347\273\215.png"
new file mode 100644
index 000000000..d1fe55da1
Binary files /dev/null and "b/src/.vuepress/public/img/\346\227\266\345\272\217\346\225\260\346\215\256\344\273\213\347\273\215.png" differ
diff --git "a/src/.vuepress/public/img/\347\231\275\346\235\277.png" "b/src/.vuepress/public/img/\347\231\275\346\235\277.png"
new file mode 100644
index 000000000..3866b32c9
Binary files /dev/null and "b/src/.vuepress/public/img/\347\231\275\346\235\277.png" differ
diff --git a/src/UserGuide/develop/QuickStart/Data-Model.md b/src/UserGuide/develop/QuickStart/Data-Model.md
index 2b5a17232..54710b004 100644
--- a/src/UserGuide/develop/QuickStart/Data-Model.md
+++ b/src/UserGuide/develop/QuickStart/Data-Model.md
@@ -65,4 +65,4 @@ A schema describes is a collection of devices with the same pattern. As shown in
 
 At this point, a physical device can be uniquely identified through 3 Tags [Region] - [Factory] - [Equipment] (orange column in the figure below, also known as device identification information). The Fields collected by the device are [Temperature], [Humidity], [Status], and [Arrival Time] (blue column in the figure below).
 
-![](https://alioss.timecho.com/docs/img/data_model_example_image.png)
\ No newline at end of file
+![](/img/data_model_example_image.png)
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/Data-Model.md b/src/UserGuide/latest/QuickStart/Data-Model.md
index 4337e8da8..f898b4281 100644
--- a/src/UserGuide/latest/QuickStart/Data-Model.md
+++ b/src/UserGuide/latest/QuickStart/Data-Model.md
@@ -69,4 +69,4 @@ A schema describes is a collection of devices with the same pattern. As shown in
 
 At this point, a physical device can be uniquely identified through 3 Tags [Region] - [Factory] - [Equipment] (orange column in the figure below, also known as device identification information). The Fields collected by the device are [Temperature], [Humidity], [Status], and [Arrival Time] (blue column in the figure below).
 
-![](https://alioss.timecho.com/docs/img/data_model_example_image.png)
\ No newline at end of file
+![](/img/data_model_example_image.png)
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
index 20aaef327..6ff81da37 100644
--- a/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
+++ b/src/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
@@ -24,25 +24,25 @@
 
 In today's era of the Internet of Things, various scenarios such as the Internet of Things and industrial scenarios are undergoing digital transformation. People collect various states of devices by installing sensors on them. If the motor collects voltage and current, the blade speed, angular velocity, and power generation of the fan; Vehicle collection of latitude and longitude, speed, and fuel consumption; The vibration frequency, deflection, displacement, etc. of the bridge. The data [...]
 
-![](https://alioss.timecho.com/docs/img/20240505154735.png)
+![](/img/20240505154735.png)
 
 Generally speaking, we refer to each collection point as a measurement point (also known as a physical quantity, time series, timeline, signal quantity, indicator, measurement value, etc.). Each measurement point continuously collects new data information over time, forming a time series. In the form of a table, each time series is a table formed by two columns: time and value; In a graphical way, each time series is a trend chart formed over time, which can also be vividly referred to a [...]
 
-![](https://alioss.timecho.com/docs/img/20240505154843.png)
+![](/img/20240505154843.png)
 
 The massive time series data generated by sensors is the foundation of digital transformation in various industries, so our modeling of time series data mainly focuses on equipment and sensors.
 
 ## Key Concepts of Time Series Data
 The main concepts involved in time-series data can be divided from bottom to top: data points, measurement points, and equipment.
 
-![](https://alioss.timecho.com/docs/img/20240505154513.png)
+![](/img/20240505154513.png)
 
 ### Data Point
 
 - Definition: Consists of a timestamp and a value, where the timestamp is of type long and the value can be of various types such as BOOLEAN, FLOAT, INT32, etc.
 - Example: A row of a time series in the form of a table in the above figure, or a point of a time series in the form of a graph, is a data point.
 
-![](https://alioss.timecho.com/docs/img/20240505154432.png)
+![](/img/20240505154432.png)
 
 ### Measurement Points
 
diff --git a/src/UserGuide/v1.x/QuickStart/Data-Model.md b/src/UserGuide/v1.x/QuickStart/Data-Model.md
index 45d6c805d..9df6b110e 100644
--- a/src/UserGuide/v1.x/QuickStart/Data-Model.md
+++ b/src/UserGuide/v1.x/QuickStart/Data-Model.md
@@ -34,7 +34,7 @@ For the above detailed introduction, please refer to:[Entering Time Series Dat
 
 ## Example
 
-![](https://alioss.timecho.com/docs/img/20240502164237-dkcm.png)
+![](/img/20240502164237-dkcm.png)
 
 In the above example, the metadata (Scheme) of TsFile contains 2 devices and 5 time series, and is established as a table structure as shown in the following figure:
 
diff --git a/src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md b/src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
index 20aaef327..6ff81da37 100644
--- a/src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
+++ b/src/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
@@ -24,25 +24,25 @@
 
 In today's era of the Internet of Things, various scenarios such as the Internet of Things and industrial scenarios are undergoing digital transformation. People collect various states of devices by installing sensors on them. If the motor collects voltage and current, the blade speed, angular velocity, and power generation of the fan; Vehicle collection of latitude and longitude, speed, and fuel consumption; The vibration frequency, deflection, displacement, etc. of the bridge. The data [...]
 
-![](https://alioss.timecho.com/docs/img/20240505154735.png)
+![](/img/20240505154735.png)
 
 Generally speaking, we refer to each collection point as a measurement point (also known as a physical quantity, time series, timeline, signal quantity, indicator, measurement value, etc.). Each measurement point continuously collects new data information over time, forming a time series. In the form of a table, each time series is a table formed by two columns: time and value; In a graphical way, each time series is a trend chart formed over time, which can also be vividly referred to a [...]
 
-![](https://alioss.timecho.com/docs/img/20240505154843.png)
+![](/img/20240505154843.png)
 
 The massive time series data generated by sensors is the foundation of digital transformation in various industries, so our modeling of time series data mainly focuses on equipment and sensors.
 
 ## Key Concepts of Time Series Data
 The main concepts involved in time-series data can be divided from bottom to top: data points, measurement points, and equipment.
 
-![](https://alioss.timecho.com/docs/img/20240505154513.png)
+![](/img/20240505154513.png)
 
 ### Data Point
 
 - Definition: Consists of a timestamp and a value, where the timestamp is of type long and the value can be of various types such as BOOLEAN, FLOAT, INT32, etc.
 - Example: A row of a time series in the form of a table in the above figure, or a point of a time series in the form of a graph, is a data point.
 
-![](https://alioss.timecho.com/docs/img/20240505154432.png)
+![](/img/20240505154432.png)
 
 ### Measurement Points
 
diff --git a/src/UserGuide/v1.x/QuickStart/QuickStart.md b/src/UserGuide/v1.x/QuickStart/QuickStart.md
index 89573ca77..ce445c144 100644
--- a/src/UserGuide/v1.x/QuickStart/QuickStart.md
+++ b/src/UserGuide/v1.x/QuickStart/QuickStart.md
@@ -22,7 +22,7 @@
 
 ## Sample Data
 
-![](https://alioss.timecho.com/docs/img/2024050517481.png)
+![](/img/2024050517481.png)
 
 ## Installation Method
 
diff --git a/src/zh/UserGuide/develop/QuickStart/Data-Model.md b/src/zh/UserGuide/develop/QuickStart/Data-Model.md
index 5226df304..295196618 100644
--- a/src/zh/UserGuide/develop/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/develop/QuickStart/Data-Model.md
@@ -37,4 +37,6 @@
 
 此时,物理设备可以通过3个标签【地区】-【工厂】-【设备】(下图橙色列,又称设备标签)进行唯一标识。设备最终采集的指标为【温度】、【湿度】、【状态】、【到达时间】(下图中的蓝色列)。
 
-![](https://alioss.timecho.com/docs/img/Data-model01.png)
\ No newline at end of file
+
+![](/img/Data-model01.png)
+
diff --git a/src/zh/UserGuide/latest/QuickStart/Data-Model.md b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
index 5226df304..c4662bb8e 100644
--- a/src/zh/UserGuide/latest/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
@@ -37,4 +37,4 @@
 
 此时,物理设备可以通过3个标签【地区】-【工厂】-【设备】(下图橙色列,又称设备标签)进行唯一标识。设备最终采集的指标为【温度】、【湿度】、【状态】、【到达时间】(下图中的蓝色列)。
 
-![](https://alioss.timecho.com/docs/img/Data-model01.png)
\ No newline at end of file
+![](/img/Data-model01.png)
diff --git a/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md b/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
index 96e9fdf9a..35f789271 100644
--- a/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
+++ b/src/zh/UserGuide/latest/QuickStart/Navigating_Time_Series_Data.md
@@ -24,13 +24,13 @@
 
 万物互联的今天,物联网场景、工业场景等各类场景都在进行数字化转型,人们通过在各类设备上安装传感器对设备的各类状态进行采集。如电机采集电压、电流,风机的叶片转速、角速度、发电功率;车辆采集经纬度、速度、油耗;桥梁的振动频率、挠度、位移量等。传感器的数据采集,已经渗透在各个行业中。
 
-![](https://alioss.timecho.com/docs/img/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E4%BB%8B%E7%BB%8D.png)
+![](/img/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E4%BB%8B%E7%BB%8D.png)
 
 
 
 通常来说,我们把每个采集点位叫做一个**测点( 也叫物理量、时间序列、时间线、信号量、指标、测量值等)**,每个测点都在随时间的推移不断收集到新的数据信息,从而构成了一条**时间序列**。用表格的方式,每个时间序列就是一个由时间、值两列形成的表格;用图形化的方式,每个时间序列就是一个随时间推移形成的走势图,也可以形象的称之为设备的“心电图”。
 
-![](https://alioss.timecho.com/docs/img/%E5%BF%83%E7%94%B5%E5%9B%BE1.png)
+![](/img/%E5%BF%83%E7%94%B5%E5%9B%BE1.png)
 
 传感器产生的海量时序数据是各行各业数字化转型的基础,因此我们对时序数据的模型梳理主要围绕设备、传感器展开。
 
@@ -38,14 +38,14 @@
 
 时序数据中主要涉及的概念由下至上可分为:数据点、测点、设备。
 
-![](https://alioss.timecho.com/docs/img/%E7%99%BD%E6%9D%BF.png)
+![](/img/%E7%99%BD%E6%9D%BF.png)
 
 ### 数据点
 
 - 定义:由一个时间戳和一个数值组成,其中时间戳为 long 类型,数值可以为 BOOLEAN、FLOAT、INT32 等各种类型。
 - 示例:如上图中表格形式的时间序列的一行,或图形形式的时间序列的一个点,就是一个数据点。
 
-![](https://alioss.timecho.com/docs/img/%E6%95%B0%E6%8D%AE%E7%82%B9.png)
+![](/img/%E6%95%B0%E6%8D%AE%E7%82%B9.png)
 
 ### 测点
 
diff --git a/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md b/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
index 200263456..5a2cf2be5 100644
--- a/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/v1.x/QuickStart/Data-Model.md
@@ -33,7 +33,7 @@
 
 ## 示例
 
-![](https://alioss.timecho.com/docs/img/tsfile%E6%95%B0%E6%8D%AE%E6%A8%A1%E5%9E%8B.png)
+![](/img/tsfile%E6%95%B0%E6%8D%AE%E6%A8%A1%E5%9E%8B.png)
 
 在上述示例中,TsFile 的元数据(Schema)共包含 2 个设备,5条时间序列,建立为表结构如下图:
 
diff --git a/src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md b/src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
index 96e9fdf9a..35f789271 100644
--- a/src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
+++ b/src/zh/UserGuide/v1.x/QuickStart/Navigating_Time_Series_Data.md
@@ -24,13 +24,13 @@
 
 万物互联的今天,物联网场景、工业场景等各类场景都在进行数字化转型,人们通过在各类设备上安装传感器对设备的各类状态进行采集。如电机采集电压、电流,风机的叶片转速、角速度、发电功率;车辆采集经纬度、速度、油耗;桥梁的振动频率、挠度、位移量等。传感器的数据采集,已经渗透在各个行业中。
 
-![](https://alioss.timecho.com/docs/img/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E4%BB%8B%E7%BB%8D.png)
+![](/img/%E6%97%B6%E5%BA%8F%E6%95%B0%E6%8D%AE%E4%BB%8B%E7%BB%8D.png)
 
 
 
 通常来说,我们把每个采集点位叫做一个**测点( 也叫物理量、时间序列、时间线、信号量、指标、测量值等)**,每个测点都在随时间的推移不断收集到新的数据信息,从而构成了一条**时间序列**。用表格的方式,每个时间序列就是一个由时间、值两列形成的表格;用图形化的方式,每个时间序列就是一个随时间推移形成的走势图,也可以形象的称之为设备的“心电图”。
 
-![](https://alioss.timecho.com/docs/img/%E5%BF%83%E7%94%B5%E5%9B%BE1.png)
+![](/img/%E5%BF%83%E7%94%B5%E5%9B%BE1.png)
 
 传感器产生的海量时序数据是各行各业数字化转型的基础,因此我们对时序数据的模型梳理主要围绕设备、传感器展开。
 
@@ -38,14 +38,14 @@
 
 时序数据中主要涉及的概念由下至上可分为:数据点、测点、设备。
 
-![](https://alioss.timecho.com/docs/img/%E7%99%BD%E6%9D%BF.png)
+![](/img/%E7%99%BD%E6%9D%BF.png)
 
 ### 数据点
 
 - 定义:由一个时间戳和一个数值组成,其中时间戳为 long 类型,数值可以为 BOOLEAN、FLOAT、INT32 等各种类型。
 - 示例:如上图中表格形式的时间序列的一行,或图形形式的时间序列的一个点,就是一个数据点。
 
-![](https://alioss.timecho.com/docs/img/%E6%95%B0%E6%8D%AE%E7%82%B9.png)
+![](/img/%E6%95%B0%E6%8D%AE%E7%82%B9.png)
 
 ### 测点
 
diff --git a/src/zh/UserGuide/v1.x/QuickStart/QuickStart.md b/src/zh/UserGuide/v1.x/QuickStart/QuickStart.md
index 2d04d6da2..4bb7a0170 100644
--- a/src/zh/UserGuide/v1.x/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/v1.x/QuickStart/QuickStart.md
@@ -22,7 +22,7 @@
 
 ## 数据示例
 
-![](https://alioss.timecho.com/docs/img/WX20240628-173452@2x.png)
+![](/img/WX20240628-173452@2x.png)
 
 ## 安装方式
 


(tsfile) 38/43: adjust quickstart python chapter (#699)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 8ed3b02b0d7758f5cb5f309933d2006649e21558
Author: leto-b <bi...@timecho.com>
AuthorDate: Fri Jan 9 09:45:21 2026 +0800

    adjust quickstart python chapter (#699)
---
 .../develop/QuickStart/QuickStart-PYTHON.md        | 91 +++++++++++----------
 .../latest/QuickStart/QuickStart-PYTHON.md         | 89 ++++++++++-----------
 .../develop/QuickStart/QuickStart-PYTHON.md        | 92 +++++++++++-----------
 .../latest/QuickStart/QuickStart-PYTHON.md         | 89 +++++++++++----------
 4 files changed, 178 insertions(+), 183 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index e748ed509..c29dfba4c 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -20,34 +20,11 @@
 -->
 # Quick Start - Python
 
-## Dependencies
-
-If want to compile on your local envirment, the dependencies are below:
-
-- CMake >=3.11
-- Maven >=3.9.6
-- GCC >=4.8.5
-- Make >=4.3
-- cython >= 3.0.10
-- numpy >= 1.26.4
-- pandas >= 2.2.2
-- setuptools >= 70.0.0
-
-or use pip install, the dependencies are:
-
-numpy >= 1.26.4
-pandas >= 2.2.2
-
-## Installation Method
+## Dependencies and Installation
 
 ### Install From Pypi
 
-Use pip to install the latest version from pypi:
-
-```shell
-pip install tsfile
-```
-Platform support:
+1. Platform support:
 
 | Platform      | python                           |
 | ------------- | -------------------------------- |
@@ -57,41 +34,61 @@ Platform support:
 | MacOS_X86_64  | py39, py310, py311, py312, py313 |
 | Win_amd64     | py39, py310, py311, py312, py313 |
 
-To download wheel from pypi: https://pypi.org/project/tsfile/#files
+2. Dependencies:
 
+   * numpy >= 1.26.4
+   * pandas >= 2.2.2
 
-
-### Compile on your local envirment
-Clone the source code from git:
+3. Use pip to install the latest version from pypi:
 
 ```shell
-git clone https://github.com/apache/tsfile.git
+pip install tsfile
 ```
-Run Maven to compile in the TsFile root directory:
 
-```shell
-mvn clean install -P with-python -DskipTests
+### Install From Wheel File
+
+1. Download wheel from pypi: https://pypi.org/project/tsfile/#files
+2. Install the wheel file using the pip install command.
+```bash
+pip install tsfile.wheel
 ```
 
-If Maven is not installed, you can compile tsfile using the following command:
+### Install From Source Code Compilation
+1. Dependencies
 
-Linux or Macos:
-```shell
-mvnw clean install -P with-python -DskipTests
-```
-Windows:
-```shell
-mvnw.cmd clean install -P with-python -DskipTests
-```
+   - CMake >=3.11
+   - Maven >=3.9.6
+   - GCC >=4.8.5
+   - Make >=4.3
+   - cython >= 3.0.10
+   - numpy >= 1.26.4
+   - pandas >= 2.2.2
+   - setuptools >= 70.0.0
 
-### Directory Structure
+2. Installation steps
 
-• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
+* Clone the source code from git:
 
-### Install into your local envirment
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+* Run Maven to compile in the TsFile root directory:
 
-run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
+```shell
+mvn clean install -P with-python -DskipTests
+```
 
+* If Maven is not installed, you can compile tsfile using the following command:
+
+  * Linux or Macos:
+    ```shell
+    mvnw clean install -P with-python -DskipTests
+    ```
+  * Windows:
+    ```shell
+    mvnw.cmd clean install -P with-python -DskipTests
+    ```
+* After successful compilation, the wheel file will be located in the `tsfile/python/dist` directory and can be installed locally using the pip install command (assuming its name is `tsfile.wheel`).
 ```bash
 pip install tsfile.wheel
 ```
@@ -148,7 +145,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
-use `to_dataframe` to read tsfile as dataframe.
+Use `to_dataframe` to read tsfile as dataframe.
 
 ```Python
 import os
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 9aa9e5710..c29dfba4c 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -20,34 +20,11 @@
 -->
 # Quick Start - Python
 
-## Dependencies
-
-If want to compile on your local envirment, the dependencies are below:
-
-- CMake >=3.11
-- Maven >=3.9.6
-- GCC >=4.8.5
-- Make >=4.3
-- cython >= 3.0.10
-- numpy >= 1.26.4
-- pandas >= 2.2.2
-- setuptools >= 70.0.0
-
-or use pip install, the dependencies are:
-
-numpy >= 1.26.4
-pandas >= 2.2.2
-
-## Installation Method
+## Dependencies and Installation
 
 ### Install From Pypi
 
-Use pip to install the latest version from pypi:
-
-```shell
-pip install tsfile
-```
-Platform support:
+1. Platform support:
 
 | Platform      | python                           |
 | ------------- | -------------------------------- |
@@ -57,41 +34,61 @@ Platform support:
 | MacOS_X86_64  | py39, py310, py311, py312, py313 |
 | Win_amd64     | py39, py310, py311, py312, py313 |
 
-To download wheel from pypi: https://pypi.org/project/tsfile/#files
+2. Dependencies:
 
+   * numpy >= 1.26.4
+   * pandas >= 2.2.2
 
-
-### Compile on your local envirment
-Clone the source code from git:
+3. Use pip to install the latest version from pypi:
 
 ```shell
-git clone https://github.com/apache/tsfile.git
+pip install tsfile
 ```
-Run Maven to compile in the TsFile root directory:
 
-```shell
-mvn clean install -P with-python -DskipTests
+### Install From Wheel File
+
+1. Download wheel from pypi: https://pypi.org/project/tsfile/#files
+2. Install the wheel file using the pip install command.
+```bash
+pip install tsfile.wheel
 ```
 
-If Maven is not installed, you can compile tsfile using the following command:
+### Install From Source Code Compilation
+1. Dependencies
 
-Linux or Macos:
-```shell
-mvnw clean install -P with-python -DskipTests
-```
-Windows:
-```shell
-mvnw.cmd clean install -P with-python -DskipTests
-```
+   - CMake >=3.11
+   - Maven >=3.9.6
+   - GCC >=4.8.5
+   - Make >=4.3
+   - cython >= 3.0.10
+   - numpy >= 1.26.4
+   - pandas >= 2.2.2
+   - setuptools >= 70.0.0
 
-### Directory Structure
+2. Installation steps
 
-• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
+* Clone the source code from git:
 
-### Install into your local envirment
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+* Run Maven to compile in the TsFile root directory:
 
-run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
+```shell
+mvn clean install -P with-python -DskipTests
+```
 
+* If Maven is not installed, you can compile tsfile using the following command:
+
+  * Linux or Macos:
+    ```shell
+    mvnw clean install -P with-python -DskipTests
+    ```
+  * Windows:
+    ```shell
+    mvnw.cmd clean install -P with-python -DskipTests
+    ```
+* After successful compilation, the wheel file will be located in the `tsfile/python/dist` directory and can be installed locally using the pip install command (assuming its name is `tsfile.wheel`).
 ```bash
 pip install tsfile.wheel
 ```
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 543333e25..8b435f37c 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -20,35 +20,11 @@
 -->
 # 快速上手 - Python
 
-## 依赖
+## 依赖安装
 
-如果需要在在本地编译,依赖如下所示:
+### 使用 PIP 在线安装
 
-- CMake >=3.11
-- Maven >=3.9.6
-- GCC >=4.8.5
-- Make >=4.3
-- cython >= 3.0.10
-- numpy >= 1.26.4
-- pandas >= 2.2.2
-- setuptools >= 70.0.0
-
-如果使用 Pip 在线安装 TsFile,依赖包如下:
-
-numpy >= 1.26.4
-pandas >= 2.2.2
-
-## 安装
-
-### 使用 PIP 进行在线安装
-
-使用pip 指令来在线安装 TsFile 包
-
-```bash
-pip install tsfile
-```
-
-支持的架构平台如下:
+1. 架构平台支持情况
 
 | Platform      | python                           |
 | ------------- | -------------------------------- |
@@ -58,46 +34,69 @@ pip install tsfile
 | MacOS_X86_64  | py39, py310, py311, py312, py313 |
 | Win_amd64     | py39, py310, py311, py312, py313 |
 
-或者直接下载 wheel 文件安装:https://pypi.org/project/tsfile/#files
+2. 安装依赖版本要求
 
+   * numpy >= 1.26.4
+   * pandas >= 2.2.2
 
-### 在本地进行编译
+3. 安装步骤
 
-从git克隆源代码:
+通过 pip 指令在线安装
 
-```shell
-git clone https://github.com/apache/tsfile.git
+```bash
+pip install tsfile
 ```
-在 TsFile 根目录下执行 maven 编译:
 
-```shell
-mvn clean install -P with-python -DskipTests
+### 下载 wheel 文件手动安装
+
+1. 下载 wheel 文件:https://pypi.org/project/tsfile/#files
+2. 通过 pip install 命令安装 wheel 文件
+```bash
+pip install tsfile.wheel
 ```
 
-如果没有安装 maven, 你可以执行下面的指令完成编译:
+### 源码编译安装
+1. 安装依赖版本要求
+
+   - CMake >=3.11
+   - Maven >=3.9.6
+   - GCC >=4.8.5
+   - Make >=4.3
+   - cython >= 3.0.10
+   - numpy >= 1.26.4
+   - pandas >= 2.2.2
+   - setuptools >= 70.0.0
+
+2. 安装步骤
+* 从git克隆源代码:
 
-在 Linux 或 Macos上:
 ```shell
-mvnw clean install -P with-python -DskipTests
+git clone https://github.com/apache/tsfile.git
 ```
-在 Windows 上:
+* 在 TsFile 根目录下执行 maven 编译:
 
 ```shell
-mvnw.cmd clean install -P with-python -DskipTests
+mvn clean install -P with-python -DskipTests
 ```
-#### 目录结构
 
-• **wheel**: wheel文件位于  `tsfile/python/dist`, 你可以使用 pip install 命令来进行本地安装。
+* 如果没有安装 maven, 你可以执行下面的指令完成编译:
 
-### 安装到本地
+  * 在 Linux 或 Macos上:
+    ```shell
+    mvnw clean install -P with-python -DskipTests
+    ```
+  * 在 Windows 上:
 
-你可以执行 `pip install`命令来安装编译得到的 tsfile包(假设他的名字是 tsfile.wheel)
+    ```shell
+    mvnw.cmd clean install -P with-python -DskipTests
+    ```
+
+* 编译成功后,wheel 文件将位于  `tsfile/python/dist` 目录下, 可通过 pip install 命令进行本地安装(假设他的名字是 tsfile.wheel)
 
 ```bash
 pip install tsfile.wheel
 ```
 
-
 ## 写入示例
 
 ```Python
@@ -149,6 +148,7 @@ with TsFileReader(table_data_dir) as reader:
             print(result.read_data_frame())
 ```
 
+
 使用 `to_dataframe` 读取 TsFile 为 Dataframe.
 
 ```Python
@@ -158,8 +158,10 @@ table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
 print(ts.to_dataframe(table_data_dir))
 ```
 
+
 ## 示例代码
 
 使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
 
 > 注意:以上读写示例均基于表模型接口,接口定义介绍可见[Python 接口定义](./InterfaceDefinition/InterfaceDefinition-Python.md)。若需了解树模型相关内容,请联系我们。
+
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 4d24c4109..430a324ef 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -20,35 +20,11 @@
 -->
 # 快速上手 - Python
 
-## 依赖
+## 依赖安装
 
-如果需要在在本地编译,依赖如下所示:
+### 使用 PIP 在线安装
 
-- CMake >=3.11
-- Maven >=3.9.6
-- GCC >=4.8.5
-- Make >=4.3
-- cython >= 3.0.10
-- numpy >= 1.26.4
-- pandas >= 2.2.2
-- setuptools >= 70.0.0
-
-如果使用 Pip 在线安装 TsFile,依赖包如下:
-
-numpy >= 1.26.4
-pandas >= 2.2.2
-
-## 安装
-
-### 使用 PIP 进行在线安装
-
-使用pip 指令来在线安装 TsFile 包
-
-```bash
-pip install tsfile
-```
-
-支持的架构平台如下:
+1. 架构平台支持情况
 
 | Platform      | python                           |
 | ------------- | -------------------------------- |
@@ -58,46 +34,69 @@ pip install tsfile
 | MacOS_X86_64  | py39, py310, py311, py312, py313 |
 | Win_amd64     | py39, py310, py311, py312, py313 |
 
-或者直接下载 wheel 文件安装:https://pypi.org/project/tsfile/#files
+2. 安装依赖版本要求
 
+   * numpy >= 1.26.4
+   * pandas >= 2.2.2
 
-### 在本地进行编译
+3. 安装步骤
 
-从git克隆源代码:
+通过 pip 指令在线安装
 
-```shell
-git clone https://github.com/apache/tsfile.git
+```bash
+pip install tsfile
 ```
-在 TsFile 根目录下执行 maven 编译:
 
-```shell
-mvn clean install -P with-python -DskipTests
+### 下载 wheel 文件手动安装
+
+1. 下载 wheel 文件:https://pypi.org/project/tsfile/#files
+2. 通过 pip install 命令安装 wheel 文件
+```bash
+pip install tsfile.wheel
 ```
 
-如果没有安装 maven, 你可以执行下面的指令完成编译:
+### 源码编译安装
+1. 安装依赖版本要求
+
+   - CMake >=3.11
+   - Maven >=3.9.6
+   - GCC >=4.8.5
+   - Make >=4.3
+   - cython >= 3.0.10
+   - numpy >= 1.26.4
+   - pandas >= 2.2.2
+   - setuptools >= 70.0.0
+
+2. 安装步骤
+* 从git克隆源代码:
 
-在 Linux 或 Macos上:
 ```shell
-mvnw clean install -P with-python -DskipTests
+git clone https://github.com/apache/tsfile.git
 ```
-在 Windows 上:
+* 在 TsFile 根目录下执行 maven 编译:
 
 ```shell
-mvnw.cmd clean install -P with-python -DskipTests
+mvn clean install -P with-python -DskipTests
 ```
-#### 目录结构
 
-• **wheel**: wheel文件位于  `tsfile/python/dist`, 你可以使用 pip install 命令来进行本地安装。
+* 如果没有安装 maven, 你可以执行下面的指令完成编译:
+
+  * 在 Linux 或 Macos上:
+    ```shell
+    mvnw clean install -P with-python -DskipTests
+    ```
+  * 在 Windows 上:
 
-### 安装到本地
+    ```shell
+    mvnw.cmd clean install -P with-python -DskipTests
+    ```
 
-你可以执行 `pip install`命令来安装编译得到的 tsfile包(假设他的名字是 tsfile.wheel)
+* 编译成功后,wheel 文件将位于  `tsfile/python/dist` 目录下, 可通过 pip install 命令进行本地安装(假设他的名字是 `tsfile.wheel`)
 
 ```bash
 pip install tsfile.wheel
 ```
 
-
 ## 写入示例
 
 ```Python


(tsfile) 22/43: Update Tsfile multilingual version (#557)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 0e25fc6d13b1d03f53660423580561bcd84a9513
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Wed Jul 23 12:13:00 2025 +0800

    Update Tsfile multilingual version (#557)
---
 src/.vuepress/sidebar/v2.x/zh.ts | 16 ++++++++--------
 src/Download/README.md           |  8 ++++----
 src/zh/Download/README.md        |  8 ++++----
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index fa215c90b..7225437d7 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -38,10 +38,10 @@ export const zhSidebar = {
       collapsible: true,
       prefix: 'QuickStart/',
       children: [
-        { text: 'QuickStart-C', link: 'QuickStart-C' },
-        { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
-        { text: 'QuickStart-JAVA', link: 'QuickStart' },
-        { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
+        { text: '快速上手-C', link: 'QuickStart-C' },
+        { text: '快速上手-CPP', link: 'QuickStart-CPP' },           
+        { text: '快速上手-JAVA', link: 'QuickStart' },
+        { text: '快速上手-PYTHON', link: 'QuickStart-PYTHON' },
       ],
       // prefix: 'QuickStart/',
       // children: 'structure',
@@ -54,10 +54,10 @@ export const zhSidebar = {
       collapsible: true,
       prefix: 'QuickStart/InterfaceDefinition',
       children: [
-        { text: 'InterfaceDefinition-C', link: 'InterfaceDefinition-C' },
-        { text: 'InterfaceDefinition-CPP', link: 'InterfaceDefinition-CPP' },           
-        { text: 'InterfaceDefinition-Java', link: 'InterfaceDefinition-Java' },
-        { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
+        { text: '接口定义-C', link: 'InterfaceDefinition-C' },
+        { text: '接口定义-CPP', link: 'InterfaceDefinition-CPP' },           
+        { text: '接口定义-Java', link: 'InterfaceDefinition-Java' },
+        { text: '接口定义-Python', link: 'InterfaceDefinition-Python' },
       ],
     },
     {
diff --git a/src/Download/README.md b/src/Download/README.md
index 831d0618c..917839a6f 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -23,14 +23,14 @@
 
 | Version  | Dependency                                                                    | Sources                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                         | IoTDB adap [...]
 | ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
-| 2.0.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.0.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.0.1) | IoTDB V2.x |
+| 2.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.1.0) | IoTDB V2.x |
 | 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
 Our GitHub page: https://github.com/apache/tsfile
 
-The latest version of TsFile is 2.0.1.
+The latest version of TsFile is 2.1.0.
 
 Downloading it from the [Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -40,8 +40,8 @@ Add the following dependency section to your pom.xml:
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.0.1</version>
+   <version>2.1.0</version>
  </dependency>
 ```
 
-The release note of 2.0.1 can be found in the Archives of the Apache Software Foundation: https://github.com/apache/tsfile/releases/tag/v2.0.1
\ No newline at end of file
+The release note of 2.1.0 can be found in the Archives of the Apache Software Foundation: https://github.com/apache/tsfile/releases/tag/v2.1.0
\ No newline at end of file
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index 71b1128c5..df01f8e3d 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -23,7 +23,7 @@
 
 | 版本  | 依赖引用                                                                    | 源代码                                                                                                | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                         [...]
 | ----- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | ----------------------- [...]
-| 2.0.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.0.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.0.1/apache-tsfile-2.0.1-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.0.1) | IoTDB V2.x |
+| 2.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.0/apache-tsfile-2.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v2.1.0) | IoTDB V2.x |
 | 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
@@ -32,7 +32,7 @@
 
 GitHub 仓库地址:https://github.com/apache/tsfile
 
-最新版本是2.0.1。
+最新版本是2.1.0。
 
 点击 Maven 仓库地址下载:[Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -42,8 +42,8 @@ GitHub 仓库地址:https://github.com/apache/tsfile
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.0.1</version>
+   <version>2.1.0</version>
  </dependency>
 ```
 
-该版本的特性可点击查看: https://github.com/apache/tsfile/releases/tag/v2.0.1
+该版本的特性可点击查看: https://github.com/apache/tsfile/releases/tag/v2.1.0


(tsfile) 04/43: Update site-build.yaml

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit e2576488135c82cea74336801004bac7a4842d83
Author: Haonan <hh...@outlook.com>
AuthorDate: Mon Feb 10 12:19:39 2025 +0800

    Update site-build.yaml
---
 .github/workflows/site-build.yaml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml
index 436a00de7..410f57655 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -4,13 +4,9 @@ on:
   push:
     branches:
       - 'docs/**'
-    paths:
-      - 'docs/**'
   pull_request:
     branches:
       - 'docs/**'
-    paths:
-      - 'docs/**'
   # allow manually run the action:
   workflow_dispatch:
 


(tsfile) 39/43: update tsfile link 221 (#752)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 4bf6596327a7334f118fa58bc0f9dc8accd99647
Author: leto-b <bi...@timecho.com>
AuthorDate: Wed Mar 25 17:10:52 2026 +0800

    update tsfile link 221 (#752)
---
 src/Download/README.md    | 14 +++++++-------
 src/zh/Download/README.md |  8 ++++----
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index baeae2b51..e1c71279c 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -21,16 +21,16 @@
 
 # Releases Version
 
-| Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                    | IoTDB adaptation ver [...]
-|---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| -------------------- [...]
-| 2.2.0   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.3   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3) | IoTDB V1.x |
+| Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                      | IoTDB adaptation v [...]
+|---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| ------------------ [...]
+| 2.2.1   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md) | IoTDB V2.x |
+| 1.1.3   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
 Our GitHub page: https://github.com/apache/tsfile
 
-The latest version of TsFile is 2.2.0.
+The latest version of TsFile is 2.2.1.
 
 Downloading it from the [Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -40,8 +40,8 @@ Add the following dependency section to your pom.xml:
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.2.0</version>
+   <version>2.2.1</version>
  </dependency>
 ```
 
-The release note of 2.2.0 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md
+The release note of 2.2.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index cae7484a2..b5a3e4444 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -23,7 +23,7 @@
 
 | 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                               | IoTDB 适配版本               [...]
 |-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| ------------------------ [...]
-| 2.2.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md) | IoTDB V2.x |
+| 2.2.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md) | IoTDB V2.x |
 | 1.1.3 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
@@ -32,7 +32,7 @@
 
 GitHub 仓库地址:https://github.com/apache/tsfile
 
-最新版本是2.2.0。
+最新版本是2.2.1。
 
 点击 Maven 仓库地址下载:[Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -42,8 +42,8 @@ GitHub 仓库地址:https://github.com/apache/tsfile
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.2.0</version>
+   <version>2.2.1</version>
  </dependency>
 ```
 
-该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md
+该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md


(tsfile) 10/43: correct link in QuickStart (#417)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 9a93156f5e386481353f11977c12234e246d7d01
Author: 肖林捷 <15...@users.noreply.github.com>
AuthorDate: Wed Feb 26 17:04:12 2025 +0800

    correct link in QuickStart (#417)
---
 src/UserGuide/latest/QuickStart/QuickStart.md    | 4 ++--
 src/zh/UserGuide/latest/QuickStart/QuickStart.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index e0aca68ba..451ec86fe 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -121,7 +121,7 @@ writer.close();
 
 ### Sample Code
 
-The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
 
 ## Query Process
 
@@ -180,5 +180,5 @@ reader.close();
 
 ### Sample Code
 
-The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index d249749bf..d934e1202 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -121,7 +121,7 @@ writer.close();
 
 ### 示例代码
 
-使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
+使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
 
 ## 查询示例
 
@@ -180,5 +180,5 @@ reader.close();
 
 ### 示例代码
 
-使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
+使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 


(tsfile) 36/43: fix home styles (#695)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 36f2bfadb3915faac36863ab6ac767768b9ee214
Author: CritasWang <cr...@outlook.com>
AuthorDate: Wed Jan 7 14:18:33 2026 +0800

    fix home styles (#695)
---
 src/.vuepress/styles/index.scss | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/.vuepress/styles/index.scss b/src/.vuepress/styles/index.scss
index 72df3d0cf..73df4fb6f 100644
--- a/src/.vuepress/styles/index.scss
+++ b/src/.vuepress/styles/index.scss
@@ -47,3 +47,10 @@
 .theme-hope-content:not(.custom)>p, .theme-hope-content:not(.custom)>ul p, .theme-hope-content:not(.custom)>ol p {
   text-align: start !important;
 }
+
+.vp-hero-image{
+  flex: 4.5;
+}
+.vp-hero-infos {
+  flex: 6;
+}
\ No newline at end of file


(tsfile) 43/43: update doc.

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 97d7bedfad139245788bef9a956a0896cde7e19b
Author: ColinLee <sh...@163.com>
AuthorDate: Thu Jun 18 11:29:32 2026 +0800

    update doc.
---
 src/.vuepress/sidebar/v2.x/en.ts                   |  19 ++
 src/.vuepress/sidebar/v2.x/zh.ts                   |  19 ++
 src/UserGuide/develop/DataFrame/TsFileDataFrame.md | 288 ++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-C.md   |  80 +++++-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 200 +++++++++-----
 .../InterfaceDefinition-Python.md                  | 111 +++++++-
 src/UserGuide/develop/Tools/Tsfile-CLI.md          | 222 ++++++++++++++++
 src/UserGuide/develop/Tools/Tsfile-Viewer.md       |  93 +++++++
 .../develop/TsFileFormat/TsFile-Format.md          | 296 +++++++++++++++++++++
 src/UserGuide/latest/DataFrame/TsFileDataFrame.md  | 288 ++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-C.md   |  80 +++++-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 200 +++++++++-----
 .../InterfaceDefinition-Python.md                  | 106 +++++++-
 src/UserGuide/latest/Tools/Tsfile-CLI.md           | 222 ++++++++++++++++
 src/UserGuide/latest/Tools/Tsfile-Viewer.md        |  93 +++++++
 src/UserGuide/latest/TsFileFormat/TsFile-Format.md | 296 +++++++++++++++++++++
 .../UserGuide/develop/DataFrame/TsFileDataFrame.md | 271 +++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-C.md   |  71 ++++-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 189 ++++++++-----
 .../InterfaceDefinition-Python.md                  | 101 ++++++-
 src/zh/UserGuide/develop/Tools/Tsfile-CLI.md       | 198 ++++++++++++++
 src/zh/UserGuide/develop/Tools/Tsfile-Viewer.md    |  89 +++++++
 .../develop/TsFileFormat/TsFile-Format.md          | 266 ++++++++++++++++++
 .../UserGuide/latest/DataFrame/TsFileDataFrame.md  | 271 +++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-C.md   |  71 ++++-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 187 ++++++++-----
 .../InterfaceDefinition-Python.md                  |  99 ++++++-
 src/zh/UserGuide/latest/Tools/Tsfile-CLI.md        | 198 ++++++++++++++
 src/zh/UserGuide/latest/Tools/Tsfile-Viewer.md     |  89 +++++++
 .../UserGuide/latest/TsFileFormat/TsFile-Format.md | 266 ++++++++++++++++++
 30 files changed, 4676 insertions(+), 303 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index aaa701e4f..27f870889 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -60,6 +60,25 @@ export const enSidebar = {
         { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
       ],
     },
+    {
+      text: 'TsFile Data Format',
+      collapsible: true,
+      link: 'TsFileFormat/TsFile-Format',
+    },
+    {
+      text: 'TsFileDataFrame',
+      collapsible: true,
+      link: 'DataFrame/TsFileDataFrame',
+    },
+    {
+      text: 'Tools',
+      collapsible: true,
+      prefix: 'Tools/',
+      children: [
+        { text: 'tsfile-cli', link: 'Tsfile-CLI' },
+        { text: 'tsfile-viewer', link: 'Tsfile-Viewer' },
+      ],
+    },
     /* {
       text: 'Ecosystem Integration',
       collapsible: true,
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index dd0ec7556..29f558cc4 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -60,6 +60,25 @@ export const zhSidebar = {
         { text: '接口定义-Python', link: 'InterfaceDefinition-Python' },
       ],
     },
+    {
+      text: 'TsFile 数据格式',
+      collapsible: true,
+      link: 'TsFileFormat/TsFile-Format',
+    },
+    {
+      text: 'TsFileDataFrame',
+      collapsible: true,
+      link: 'DataFrame/TsFileDataFrame',
+    },
+    {
+      text: '工具',
+      collapsible: true,
+      prefix: 'Tools/',
+      children: [
+        { text: 'tsfile-cli', link: 'Tsfile-CLI' },
+        { text: 'tsfile-viewer', link: 'Tsfile-Viewer' },
+      ],
+    },
     /* {
       text: '生态集成',
       collapsible: true,
diff --git a/src/UserGuide/develop/DataFrame/TsFileDataFrame.md b/src/UserGuide/develop/DataFrame/TsFileDataFrame.md
new file mode 100644
index 000000000..6d97daac5
--- /dev/null
+++ b/src/UserGuide/develop/DataFrame/TsFileDataFrame.md
@@ -0,0 +1,288 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFileDataFrame
+
+`TsFileDataFrame` lets you read the time series inside one or more TsFiles the
+same way you would work with a pandas DataFrame — without having to care about
+the underlying file format or data-loading details. It is part of the Python
+package (`pip install tsfile`).
+
+## Quick start
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame("table_data/")           # load every .tsfile under the directory
+print(df)                                     # browse all series (metadata only)
+
+ts = df["weather.Beijing.humidity"]           # pick one series (lazy handle)
+window = ts[20:100]                           # slice by row index -> np.ndarray
+
+data = df.loc[start:end, [                     # align multiple series on timestamps
+    "weather.Beijing.temperature",
+    "weather.Beijing.humidity",
+]]
+data.values                                   # -> np.ndarray, shape = (N, 2)
+```
+
+## Core types
+
+`TsFileDataFrame` is built around three types:
+
+- **`TsFileDataFrame`** — the entry point. It loads one or more TsFiles and
+  exposes a unified view. Construction only scans metadata; **no values are read**.
+- **`Timeseries`** — a lazy handle to a single series, obtained from `df[...]`.
+  It carries the series' metadata but reads nothing until you index it by row.
+- **`AlignedTimeseries`** — the result of aligning several series on a common
+  time axis, obtained from `df.loc[...]`. It reads the requested range of the
+  requested series into memory at once.
+
+### TsFileDataFrame
+
+| Example | Operation | Returns |
+|---|---|---|
+| `TsFileDataFrame(paths)` | Load a file / list of files / directory | `TsFileDataFrame` |
+| `len(df)` | Number of time series | `int` |
+| `df.list_timeseries("weather")` | Series names, optionally filtered by prefix | `List[str]` |
+| `df["weather.Beijing.humidity"]`, `df[0]`, `df[-1]` | One series | `Timeseries` |
+| `df["city"]` | A metadata column (a tag / `field` / `start_time` / `end_time` / `count`) | `pandas.Series` |
+| `df[0:3]`, `df[[0, 2, 5]]` | A subset view | `TsFileDataFrame` |
+| `df[df["city"] == "Beijing"]` | Filter by a metadata column | `TsFileDataFrame` |
+| `df.loc[start:end, series_list]` | Timestamp-aligned query | `AlignedTimeseries` |
+| `df.show(max_rows=20)` / `print(df)` | Formatted metadata table | — |
+| `df.close()` | Release file handles | — |
+
+### Timeseries
+
+| Example | Operation | Returns |
+|---|---|---|
+| `ts.name` | Series name | `str` |
+| `len(ts)` | Number of points | `int` |
+| `ts.stats` | Series statistics | `dict` (`start_time`, `end_time`, `count`) |
+| `ts[20]` | Single value | `float` (or `None` if null) |
+| `ts[20:100]` | Row-range slice | `np.ndarray` |
+| `ts.timestamps` | Timestamp array | `np.ndarray` |
+
+### AlignedTimeseries
+
+| Example | Operation | Returns |
+|---|---|---|
+| `data.timestamps` | Timestamp array | `np.ndarray` |
+| `data.values` | Value matrix | `np.ndarray`, shape `(N, M)` |
+| `data.series_names` | Series names | `List[str]` |
+| `data.shape` | Shape `(N, M)` — N timestamps, M series | `tuple` |
+| `len(data)` | Number of rows | `int` |
+| `data[0]`, `data[0:10]`, `data[0, 1]` | Row / element indexing | `np.ndarray` / scalar |
+| `data.show(50)` / `print(data)` | Formatted output (auto-truncated) | — |
+
+## Series path naming
+
+A series is addressed by a single flat string, uniquely identified by **table
+name + tag values + field name**:
+
+```text
+{table_name}.{tag_value_1}.{tag_value_2}...{field_column_name}
+```
+
+Examples:
+
+- `weather.Beijing.humidity` — table `weather`, tag `Beijing`, field `humidity`
+- `sensor.s1.pressure` — table `sensor`, tag `s1`, field `pressure`
+
+## Loading
+
+A path may be a single file, a list of files, or a directory:
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame(["data/weather.tsfile", "data/sensor.tsfile"])
+df = TsFileDataFrame("data/")     # recursively find every .tsfile under the directory
+print(df)
+```
+
+Construction only scans metadata; actual values are not read. When several files
+are loaded, metadata is scanned in parallel.
+
+If several files contain the **same series** (e.g. daily shards of
+`weather.Beijing.humidity`), they are merged into one continuous series. For
+duplicate timestamps only the first is kept — this is not an expected situation,
+so deduplicate during preprocessing to avoid metadata distortion.
+
+### Displaying a DataFrame
+
+`print(df)` (and `df.show(max_rows=...)`) prints series metadata, head/tail
+truncated when large. The header is:
+
+```text
+index │ table │ <tag1> │ <tag2> │ ... │ field │ start_time │ end_time │ count
+```
+
+For devices with different numbers of tags the tag values are left-aligned and
+shorter ones are padded with `None` at the end.
+
+```text
+TsFileDataFrame(table model, 972 time series, 5 files)
+     table  ps_id                    sn  frac                 field           start_time             end_time  count
+  0    pvf     10  30100194A00234H00572     1                   pac  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+  1    pvf     10  30100194A00234H00572     1    tenmeterswindspeed  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+...
+```
+
+### Closing
+
+A `with` block closes file handles automatically; you can also close manually:
+
+```python
+with TsFileDataFrame("data/") as df:
+    ...                       # handles released on exit
+
+tsdf = TsFileDataFrame("data/")
+tsdf.close()                  # or close it yourself
+```
+
+## Browsing series
+
+`list_timeseries(path_prefix="")` lists the series names in the loaded files,
+optionally filtered by a prefix. Calling it with no argument returns all series.
+
+```python
+>>> df.list_timeseries("weather")
+['weather.Beijing.humidity', 'weather.Beijing.temperature',
+ 'weather.Shanghai.humidity', 'weather.Shanghai.temperature']
+>>> df.list_timeseries("weather.Beijing")
+['weather.Beijing.humidity', 'weather.Beijing.temperature']
+```
+
+To inspect metadata such as start/end time and count, print the DataFrame (or a
+subset of it) — see [Displaying a DataFrame](#displaying-a-dataframe).
+
+## Selecting series
+
+`df[...]` returns a lazy `Timeseries` handle (no data read) or a subset view:
+
+```python
+ts = df["weather.Beijing.humidity"]   # by name
+ts = df[0]                            # by index (negative indices allowed)
+
+sub_df = df[0:3]                      # slice           -> TsFileDataFrame (view)
+sub_df = df[[0, 2, 5]]                # integer list    -> TsFileDataFrame (view)
+sub_df = df[df["city"] == "Beijing"]  # metadata filter -> TsFileDataFrame (view)
+```
+
+```text
+>>> df["weather.Beijing.humidity"]
+Timeseries('weather.Beijing.humidity', count=2880, start=2026-01-27 00:00:00, end=2026-02-05 23:55:00)
+```
+
+Series metadata is served from cache (no I/O):
+
+```python
+>>> ts = df["weather.Beijing.humidity"]
+>>> ts.name
+'weather.Beijing.humidity'
+>>> len(ts)
+2880
+>>> ts.stats
+{'start_time': 1769443200000, 'end_time': 1770306900000, 'count': 2880}
+```
+
+## Reading data
+
+Indexing a `Timeseries` by row triggers the actual file read (results are cached
+to avoid re-reading):
+
+```python
+val = ts[20]            # -> float
+window = ts[20:100]     # -> np.ndarray, shape = (80,)
+last_ten = ts[-10:]     # -> np.ndarray
+sampled = ts[::2]       # -> np.ndarray (strided sampling)
+ts.timestamps[20:100]   # -> the timestamps for those rows, np.ndarray
+```
+
+```text
+>>> ts[20]
+46.1
+>>> ts[20:100]
+array([46.1 , 41.72, 52.94, ..., 76.3 , 84.35])
+>>> ts.timestamps[20:100]
+array([1769449200000, 1769449500000, ..., 1769472900000])
+```
+
+## Timestamp-aligned queries
+
+When you need several series strictly aligned on one time axis, use `.loc`:
+
+```python
+data = df.loc[start_time:end_time, [
+    "weather.Beijing.humidity",
+    "weather.Beijing.temperature",
+    "sensor.s1.pressure",
+]]
+```
+
+The returned `AlignedTimeseries` aligns all series to the **union** of their
+timestamps and fills missing positions with `NaN`:
+
+```python
+data.timestamps    # np.ndarray, millisecond timestamps
+data.values        # np.ndarray, shape = (N, 3)
+data.series_names  # ["weather.Beijing.humidity", ...]
+data.shape         # (N, 3)
+data[0:10]         # first 10 rows, np.ndarray shape = (10, 3)
+data.show(50)      # show up to 50 rows
+```
+
+Series may be given by name or by index, mixed freely:
+
+```python
+df.loc[start_time:end_time, [0, 1, 4]]
+df.loc[start_time:end_time, [0, "weather.Beijing.temperature", 4]]
+```
+
+```text
+>>> df.loc[1769616000000:1769702100000,
+...        ['weather.Beijing.temperature', 'weather.Beijing.humidity', 'sensor.s2.pressure']]
+AlignedTimeseries(288 rows, 3 series)
+          timestamp  weather.Beijing.temperature  weather.Beijing.humidity  sensor.s2.pressure
+2026-01-29 00:00:00                        29.12                     92.87                 NaN
+2026-01-29 00:05:00                         1.55                     87.34                 NaN
+...
+```
+
+The pretty-printed view shows only value columns; to read the aligned timestamp
+column use `df.loc[...].timestamps`.
+
+## Known limitations
+
+- **Timestamp cache.** The underlying TsFile reader currently supports only
+  time-range queries, so on load every series caches its full timestamp array to
+  map row indices to timestamps (also used to compute statistics). This means a
+  one-time full timestamp scan at load (slower for very large files), and the
+  timestamp arrays stay resident in memory (the actual values are not cached).
+- **Alignment cost.** `.loc` time alignment (merge + dedup + NaN fill) is done in
+  Python, so queries spanning tens of millions of timestamps can be a bottleneck.
+
+## Performance notes
+
+- **Parallel loading.** Multiple files are scanned with a thread pool
+  (workers = `min(file_count, cpu_count)`). Keep the file count under the
+  system's open-file-handle limit.
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
index f55643986..cd2e9fccc 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -32,13 +32,47 @@ typedef enum {
     TS_DATATYPE_FLOAT = 3,
     TS_DATATYPE_DOUBLE = 4,
     TS_DATATYPE_TEXT = 5,
-    TS_DATATYPE_STRING = 11
+    TS_DATATYPE_VECTOR = 6,
+    TS_DATATYPE_TIMESTAMP = 8,
+    TS_DATATYPE_DATE = 9,
+    TS_DATATYPE_BLOB = 10,
+    TS_DATATYPE_STRING = 11,
+    TS_DATATYPE_INVALID = 255
 } TSDataType;
 
-typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
-
-// ColumnSchema: Represents the schema of a single column, 
+// Value encoding (used by the configuration functions below).
+typedef enum {
+    TS_ENCODING_PLAIN = 0,
+    TS_ENCODING_DICTIONARY = 1,
+    TS_ENCODING_RLE = 2,
+    TS_ENCODING_TS_2DIFF = 4,
+    TS_ENCODING_GORILLA = 8,
+    TS_ENCODING_ZIGZAG = 9,
+    TS_ENCODING_SPRINTZ = 12,
+    TS_ENCODING_INVALID = 255
+} TSEncoding;
+
+// Per-column compression. LZ4 is the default.
+typedef enum {
+    TS_COMPRESSION_UNCOMPRESSED = 0,
+    TS_COMPRESSION_SNAPPY = 1,
+    TS_COMPRESSION_GZIP = 2,
+    TS_COMPRESSION_LZO = 3,
+    TS_COMPRESSION_LZ4 = 7,
+    TS_COMPRESSION_INVALID = 255
+} CompressionType;
+
+typedef enum column_category {
+    TAG = 0,
+    FIELD = 1,
+    ATTRIBUTE = 2,
+    TIME = 3
+} ColumnCategory;
+
+// ColumnSchema: Represents the schema of a single column,
 // including its name, data type, and category.
+// Encoding/compression for columns follow the global defaults
+// (see "Configuration" below).
 typedef struct column_schema {
     char* column_name;
     TSDataType data_type;
@@ -62,6 +96,9 @@ typedef struct result_set_meta_data {
 } ResultSetMetaData;
 ```
 
+> `ColumnSchema` does not carry encoding/compression — those follow the global
+> defaults (see [Configuration](#configuration-encoding--compression)).
+
 
 ## Write Interface
 
@@ -260,6 +297,41 @@ ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
 
 
 
+## Configuration (encoding & compression)
+
+Columns are stored with the **global default** encoding and compression for their
+data type (a `ColumnSchema` does not carry per-column codec settings). Change those
+defaults *before* creating a writer with the functions below.
+
+Each setter returns `RET_OK` (0) on success, or `RET_NOT_SUPPORT` (40) for an
+unsupported data-type/encoding or compression combination.
+
+```C
+/* Default value encoding per data type, and default compression. */
+int     set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int     set_global_compression(uint8_t compression);
+uint8_t get_datatype_encoding(uint8_t data_type);
+uint8_t get_global_compression();
+
+/* Time column (the time data type is fixed to INT64). */
+int     set_global_time_encoding(uint8_t encoding);
+int     set_global_time_compression(uint8_t compression);
+uint8_t get_global_time_encoding();
+uint8_t get_global_time_compression();
+```
+
+Allowed values: encoding accepts `PLAIN` for `BOOLEAN`; `PLAIN`/`TS_2DIFF`/
+`GORILLA`/`ZIGZAG`/`RLE`/`SPRINTZ` for `INT32`/`INT64`/`DATE`;
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`SPRINTZ` for `FLOAT`/`DOUBLE`;
+`PLAIN`/`DICTIONARY` for `STRING`/`TEXT`. Compression accepts `UNCOMPRESSED`,
+`SNAPPY`, `GZIP`, `LZO`, or `LZ4`.
+
+```C
+// e.g. write every column with LZ4 compression
+ERRNO code = set_global_compression(TS_COMPRESSION_LZ4);
+if (code != RET_OK) { /* handle unsupported value */ }
+```
+
 ## Read  Interface
 
 ###  TsFile Reader Create/Close
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index b1642f88b..ca02c95cf 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -20,6 +20,68 @@
 -->
 # Interface Definitions - C++
 
+## Data Types, Encoding and Compression
+
+These enumerations are shared by the read and write interfaces. The numeric
+codes are also the values stored on disk (see
+[TsFile Data Format](../../TsFileFormat/TsFile-Format.md)).
+
+```cpp
+// Supported measurement/column data types.
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    TIMESTAMP = 8,
+    DATE = 9,
+    BLOB = 10,
+    STRING = 11,
+};
+
+// Per-column encoding. See the table below for which encodings apply to which types.
+enum TSEncoding : uint8_t {
+    PLAIN = 0,
+    DICTIONARY = 1,
+    RLE = 2,
+    TS_2DIFF = 4,
+    GORILLA = 8,
+    ZIGZAG = 9,
+    SPRINTZ = 12,
+};
+
+// Per-column compression. SNAPPY/GZIP/LZO/LZ4 depend on build options; LZ4 is the default.
+enum CompressionType : uint8_t {
+    UNCOMPRESSED = 0,
+    SNAPPY = 1,
+    GZIP = 2,
+    LZO = 3,
+    LZ4 = 7,
+};
+
+// Column role within a table schema (table model).
+enum class ColumnCategory { TAG = 0, FIELD = 1, ATTRIBUTE = 2, TIME = 3 };
+```
+
+Encodings applicable to each data type:
+
+| Encoding | Applicable types |
+|---|---|
+| `PLAIN` | all types |
+| `DICTIONARY` | `TEXT`, `STRING` |
+| `RLE` | `INT32`, `INT64`, `TIMESTAMP`, `DATE` |
+| `TS_2DIFF` | `INT32`, `INT64`, `TIMESTAMP`, `DATE`, `FLOAT`, `DOUBLE` |
+| `GORILLA` | `INT32`, `INT64`, `TIMESTAMP`, `DATE`, `FLOAT`, `DOUBLE` |
+| `ZIGZAG` | `INT32`, `INT64` |
+| `SPRINTZ` | `INT32`, `INT64`, `FLOAT`, `DOUBLE` |
+
+Default value encoding per type: `BOOLEAN → PLAIN`, `INT32 / INT64 → TS_2DIFF`,
+`FLOAT / DOUBLE → GORILLA`, `TEXT / STRING / BLOB → PLAIN`. The default
+compression is `LZ4`. See [Configuring encoding and compression](#configuring-encoding-and-compression)
+for how to override these.
+
 ## Write Interface
 
 ### TsFileTableWriter
@@ -111,44 +173,41 @@ class TableSchema {
 struct ColumnSchema {
     std::string column_name_;
     common::TSDataType data_type_;
+    common::CompressionType compression_;
+    common::TSEncoding encoding_;
     ColumnCategory column_category_;
 
     /**
-     * @brief Constructs a ColumnSchema object with the given parameters.
+     * @brief Constructs a ColumnSchema with explicit compression and encoding.
      *
      * @param column_name The name of the column. Must be a non-empty string.
-     *                    This name is used to identify the column within the table.
-     * @param data_type The data type of the measurement, such as INT32, DOUBLE, TEXT, etc.
-     *                  This determines how the data will be stored and interpreted.
-     * @param column_category The category of the column indicating its role or type
-     *                        within the schema, e.g., FIELD, TAG.
-     *                        Defaults to ColumnCategory::FIELD if not specified.
-     * @note It is the responsibility of the caller to ensure that `column_name` is not empty.
+     * @param data_type The data type of the column (INT32, DOUBLE, TEXT, ...).
+     * @param compression The compression applied to the column's chunks.
+     * @param encoding The encoding applied to the column's values.
+     * @param column_category The role of the column (FIELD, TAG, ...). Defaults to FIELD.
      */
     ColumnSchema(std::string column_name, common::TSDataType data_type,
-                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
-                                                                           data_type_(data_type),
-                                                                           column_category_(column_category) {
-    }
-};
+                 common::CompressionType compression, common::TSEncoding encoding,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 
-/**
- * @brief Represents the data type of a measurement.
- *
- * This enumeration defines the supported data types for measurements in the system.
- */
-enum TSDataType : uint8_t {
-    BOOLEAN = 0,
-    INT32 = 1,
-    INT64 = 2,
-    FLOAT = 3,
-    DOUBLE = 4,
-    TEXT = 5,
-    STRING = 11
+    /**
+     * @brief Constructs a ColumnSchema using the engine's default encoding and
+     * compression for the given data type.
+     *
+     * @param column_name The name of the column. Must be a non-empty string.
+     * @param data_type The data type of the column.
+     * @param column_category The role of the column. Defaults to FIELD.
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 };
-
 ```
 
+> `TAG` columns are the device identifier (joint primary key); their data type is
+> always `STRING`. `FIELD` columns hold the measured values. The encoding and
+> compression you set on a `ColumnSchema` apply to that column when written; the
+> two-argument constructor falls back to the per-type defaults.
+
 ### Tablet
 
 Write column memory structure
@@ -214,6 +273,48 @@ public:
 };
 ```
 
+### Configuring encoding and compression
+
+There are two ways to control encoding and compression.
+
+**1. Per column.** Pass the encoding and compression when you build the schema —
+on a `ColumnSchema`:
+
+```cpp
+// Store column "temperature" as TS_2DIFF + LZ4.
+common::ColumnSchema col("temperature", common::INT64,
+                         common::LZ4, common::TS_2DIFF,
+                         common::ColumnCategory::FIELD);
+```
+
+**2. Global defaults.** Change the defaults *before* creating a writer; they then
+apply to any column whose schema does not specify its own encoding/compression.
+These helpers live in `common`/`storage` and validate their arguments (returning
+`E_NOT_SUPPORT` for an unsupported combination):
+
+```cpp
+// Default value encoding per data type and default compression.
+int  common::set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int  common::set_global_compression(uint8_t compression);
+uint8_t common::get_datatype_encoding(uint8_t data_type);
+uint8_t common::get_global_compression();
+
+// Time-column encoding/compression (the data type is fixed to INT64).
+int  common::set_global_time_encoding(uint8_t encoding);
+int  common::set_global_time_compression(uint8_t compression);
+
+// Page / index tuning.
+void storage::set_page_max_point_count(uint32_t page_max_point_count);   // default 10000
+void storage::set_max_degree_of_index_node(uint32_t max_degree);         // default 256
+void storage::set_strict_page_size(bool strict_page_size);               // default true
+```
+
+Allowed combinations are the same as in the
+[encoding table](#data-types-encoding-and-compression) above (e.g. only `PLAIN`
+for `BOOLEAN`; `PLAIN`/`DICTIONARY` for `STRING`/`TEXT`). The time column accepts
+`TS_2DIFF`, `PLAIN`, `GORILLA`, `ZIGZAG`, `RLE`, or `SPRINTZ`; compression
+accepts `UNCOMPRESSED`, `SNAPPY`, `GZIP`, `LZO`, or `LZ4`.
+
 ## Read Interface 
 ### Tsfile Reader
 use to execute query in tsfile and return value by ResultSet.
@@ -222,9 +323,8 @@ use to execute query in tsfile and return value by ResultSet.
  * @brief TsfileReader provides the ability to query all files with the suffix
  * .tsfile
  *
- * TsfileReader is designed to query .tsfile files, it accepts tree model
- * queries and table model queries, and supports querying metadata such as
- * TableSchema and TimeseriesSchema.
+ * TsfileReader is designed to query .tsfile files. It accepts table-model
+ * queries and supports querying metadata such as TableSchema.
  */
 class TsFileReader {
    public:
@@ -253,17 +353,6 @@ class TsFileReader {
      * @return Returns 0 on success, or a non-zero error code on failure.
      */
     int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
-    /**
-     * @brief query the tsfile by the path list, start time and end time
-     * this method is used to query the tsfile by the tree model.
-     *
-     * @param [in] path_list the path list
-     * @param [in] start_time the start time
-     * @param [in] end_time the end time
-     * @param [out] result_set the result set
-     */
-    int query(std::vector<std::string> &path_list, int64_t start_time,
-              int64_t end_time, ResultSet *&result_set);
     /**
      * @brief query the tsfile by the table name, columns names, start time
      * and end time. this method is used to query the tsfile by the table
@@ -302,27 +391,6 @@ class TsFileReader {
      * @param qds the result set
      */
     void destroy_query_data_set(ResultSet *qds);
-    ResultSet *read_timeseries(
-        const std::shared_ptr<IDeviceID> &device_id,
-        const std::vector<std::string> &measurement_name);
-    /**
-     * @brief get all devices in the tsfile
-     *
-     * @param table_name the table name
-     * @return std::vector<std::shared_ptr<IDeviceID>> the device id list
-     */
-    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
-        std::string table_name);
-    /**
-     * @brief get the timeseries schema by the device id and measurement name
-     *
-     * @param [in] device_id the device id
-     * @param [out] result std::vector<MeasurementSchema> the measurement schema
-     * list
-     * @return Returns 0 on success, or a non-zero error code on failure.
-     */
-    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
-                              std::vector<MeasurementSchema> &result);
     /**
      * @brief get the table schema by the table name
      *
@@ -347,12 +415,8 @@ A collection of query.Support iterator to get data, and directly through the col
  * to the results.
  *
  * ResultSet is a virtual class. Convert it to the corresponding implementation
- * class when used
- * @note When using the tree model and the filter is a global time filter,
- * it should be cast as QDSWithoutTimeGenerator.
- * @note When using the tree model and the filter is not a global time filter,
- * it should be QDSWithTimeGenerator.
- * @note If the query uses the table model, the cast should be TableResultSet
+ * class when used.
+ * @note For a table-model query, the concrete type is TableResultSet.
  */
 class ResultSet {
    public:
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 2ed66d8f5..7e5d6365f 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -39,15 +39,41 @@ class TSDataType(IntEnum):
     BLOB = 10
     STRING = 11
 
+class TSEncoding(IntEnum):
+    """
+    Per-column value encoding accepted by the writer. The comment after each
+    member lists the data types it can be used with.
+    """
+    PLAIN = 0         # all types
+    DICTIONARY = 1    # STRING, TEXT
+    RLE = 2           # INT32, INT64, TIMESTAMP, DATE
+    TS_2DIFF = 4      # INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE
+    GORILLA = 8       # INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE
+    ZIGZAG = 9        # INT32, INT64
+    SPRINTZ = 12      # INT32, INT64, FLOAT, DOUBLE
+
+class Compressor(IntEnum):
+    """
+    Per-column compression accepted by the writer. The default is LZ4.
+    """
+    UNCOMPRESSED = 0
+    SNAPPY = 1
+    GZIP = 2
+    LZO = 3
+    LZ4 = 7
+
 class ColumnCategory(IntEnum):
     """
     Enumeration of column categories in TsFile.
-    TAG: Represents a tag column, used for metadata.
-    FIELD: Represents a field column, used for storing actual data values.
+    TAG: a tag column (part of the device identifier / joint primary key).
+    FIELD: a field column, holding the measured values.
+    ATTRIBUTE / TIME: reserved column roles.
     """
 
     TAG = 0
     FIELD = 1
+    ATTRIBUTE = 2
+    TIME = 3
 
 class ColumnSchema:
     """Defines schema for a table column (name, datatype, category)."""
@@ -60,7 +86,7 @@ class ColumnSchema:
                  category: ColumnCategory = ColumnCategory.FIELD)
 
 class TableSchema:
-    """Schema definition for a table structure."""
+    """Schema definition for a table structure (table model)."""
     
     table_name = None
     columns = None
@@ -95,9 +121,11 @@ class TsFileTableWriter:
     """
     :param path: The path of tsfile, will create if it doesn't exist.
     :param table_schema: describes the schema of the tables want to write.
+    :param memory_threshold: bytes buffered before an automatic flush (default 128MB).
     :return: no return value.
     """
-    def __init__(self, path: str, table_schema: TableSchema)
+    def __init__(self, path: str, table_schema: TableSchema,
+                 memory_threshold: int = 128 * 1024 * 1024)
 
 
     """
@@ -106,13 +134,32 @@ class TsFileTableWriter:
     :return: no return value.
     """
     def write_table(self, tablet: Tablet)
-      
+
+    """
+    Write a pandas DataFrame into the table. Column encoding/compression follow
+    the table schema (or the engine defaults).
+    :param dataframe: the data to write.
+    :return: no return value.
+    """
+    def write_dataframe(self, dataframe: pandas.DataFrame)
+
+    """
+    Flush buffered data to disk.
+    :return: no return value.
+    """
+    def flush(self)
+
     """
     Close TsFileTableWriter and flush data automatically.
     :return: no return value.
     """
     def close(self)
 
+    # Usable as a context manager:
+    #   with TsFileTableWriter(path, schema) as w:
+    #       w.write_table(tablet)
+    def __enter__(self)
+    def __exit__(self, exc_type, exc_val, exc_tb)
 ```
 
 
@@ -140,6 +187,54 @@ class Tablet(object)
     
 ```
 
+### dataframe_to_tsfile
+
+Convenience one-call writer that serializes a pandas DataFrame to a TsFile.
+
+```python
+def dataframe_to_tsfile(dataframe: pd.DataFrame,
+                        file_path: str,
+                        table_name: Optional[str] = None,
+                        time_column: Optional[str] = None,
+                        tag_column: Optional[list[str]] = None)
+    """
+    Write a pandas DataFrame to a TsFile.
+
+    :param dataframe:   the data to write.
+    :param file_path:   destination .tsfile path.
+    :param table_name:  output table name (table model).
+    :param time_column: name of the column to use as the timestamp column.
+    :param tag_column:  names of the columns to treat as TAG columns.
+    """
+```
+
+## Configuration
+
+Global write defaults — including the default per-type encodings, the default
+compression, the time-column encoding/compression, page size, and index
+fan-out — are exposed as a single dictionary. Change them **before** creating a
+writer.
+
+```python
+from tsfile import get_tsfile_config, set_tsfile_config
+from tsfile import TSEncoding, Compressor
+
+cfg = get_tsfile_config()          # -> dict of all config values
+# e.g. cfg["default_compression_type_"], cfg["int64_encoding_type_"],
+#      cfg["page_writer_max_point_num_"], cfg["max_degree_of_index_node_"],
+#      cfg["time_encoding_type_"], cfg["time_compress_type_"], ...
+
+set_tsfile_config({
+    "default_compression_type_": Compressor.LZ4,
+    "int64_encoding_type_": TSEncoding.TS_2DIFF,
+    "page_writer_max_point_num_": 20000,
+})
+```
+
+`set_tsfile_config` validates each value and only updates the keys you pass.
+Encoding/compression values are `TSEncoding` / `Compressor` members; the same
+type-vs-encoding restrictions as the C++ API apply.
+
 ## Read Interface
 
 ### TsFileReader
@@ -283,7 +378,6 @@ class ResultSet:
     def close(self)
 ```
 
-
 ### to_dataframe
 
 ```python
@@ -300,7 +394,6 @@ def to_dataframe(file_path: str,
        Read data from a TsFile and convert it into a Pandas DataFrame or
        an iterator of DataFrames.
 
-       This function supports both table-model and tree-model TsFiles.
        Users can filter data by table name, column names, time range,
        and maximum number of rows.
 
@@ -315,7 +408,7 @@ def to_dataframe(file_path: str,
            found in the schema will be used.
 
        column_names : Optional[list[str]], default None
-           List of column names to query.
+           List of column/measurement names to query.
            - If None, all columns will be returned.
            - Column existence will be validated in table-model TsFiles.
 
@@ -353,4 +446,4 @@ def to_dataframe(file_path: str,
        ColumnNotExistError
            If any specified column does not exist in the table schema.
        """
-```
+```
\ No newline at end of file
diff --git a/src/UserGuide/develop/Tools/Tsfile-CLI.md b/src/UserGuide/develop/Tools/Tsfile-CLI.md
new file mode 100644
index 000000000..6a92e4b7b
--- /dev/null
+++ b/src/UserGuide/develop/Tools/Tsfile-CLI.md
@@ -0,0 +1,222 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-cli
+
+`tsfile-cli` is a single, pipe-friendly C++ command-line tool for inspecting
+**and** importing Apache TsFile (`.tsfile`) files from the shell. Read commands print data to **stdout** and
+diagnostics to **stderr**, so they compose with `awk`, `jq`, `sort`, and friends;
+the `write` command imports CSV/TSV into a new `.tsfile`. It is built on the
+public `TsFileReader` and `TsFileTableWriter` APIs and does not modify the
+storage engine.
+
+The source lives under `cpp/tools/` in the
+[apache/tsfile](https://github.com/apache/tsfile) repository.
+
+## Building from source
+
+The CLI is part of the C++ module and is built by default (CMake option
+`BUILD_TOOLS=ON`). The CMake target is `tsfile_cli`; the produced executable is
+named `tsfile-cli`.
+
+**Prerequisites:** a C++11 compiler (GCC / Clang / MSVC) and CMake ≥ 3.11. The
+third-party dependencies (ANTLR4, Snappy, LZ4, LZOKAY, Zlib, GoogleTest) are
+bundled under `cpp/third_party/` and built automatically — no separate install
+step needed.
+
+Choose any one of the following.
+
+**1. Build script (recommended).** From `cpp/`:
+
+```bash
+bash build.sh -t=Debug      # -> cpp/build/Debug/bin/tsfile-cli
+bash build.sh               # Release (default) -> cpp/build/Release/bin/tsfile-cli
+bash build.sh install       # Release build, then run make install
+```
+
+**2. Maven (builds the whole C++ module).** From the repository root:
+
+```bash
+./mvnw clean package -P with-cpp   # -> cpp/target/build/bin/tsfile-cli
+```
+
+**3. Plain CMake.** From `cpp/`:
+
+```bash
+mkdir -p build/Debug && cd build/Debug
+cmake ../.. -DCMAKE_BUILD_TYPE=Debug
+make -j tsfile_cli                 # -> build/Debug/bin/tsfile-cli
+```
+
+> **CMake 4.x note.** The bundled ANTLR4 runtime sets old CMake policies that
+> CMake 4 rejects (`Policy CMP00xx may not be set to OLD behavior`). The reader
+> and CLI do not use ANTLR4, so disable it — `--disable-antlr4` for the build
+> script, or `-DENABLE_ANTLR4=OFF` for plain CMake:
+>
+> ```bash
+> bash build.sh -t=Debug --disable-antlr4
+> ```
+
+Verify the binary:
+
+```bash
+./build/Debug/bin/tsfile-cli --version    # -> tsfile-cli (Apache TsFile C++) <version>
+./build/Debug/bin/tsfile-cli --help
+```
+
+The executable links the `tsfile` shared library built alongside it. To run it
+from anywhere, run it by its full path, or install it with `bash build.sh
+install`, `cmake --install .`, or `make install`. The install step places the
+binary under `<prefix>/bin` and `libtsfile` under `<prefix>/lib`.
+
+## Usage
+
+```text
+tsfile-cli <command> [options] <file.tsfile>
+tsfile-cli --help | --version | help
+```
+
+Exit codes: `0` success, `1` usage/argument error, `2` file open/corrupt,
+`3` query/runtime error.
+
+### Reading
+
+| Command | Description |
+|---|---|
+| `ls` | List devices (tree model) or tables (table model), one name per line |
+| `schema` | Per-series `target, measurement, datatype, encoding, compression` |
+| `meta` | File summary: model, device/table/series counts, time range, file size |
+| `stats` | Per-series `count, start_time, end_time, min, max, first, last, sum` |
+| `count` | Per-series row counts plus a `total` row (from statistics, no page scan) |
+| `head` | First N rows (default 10; use `-n`) |
+| `cat` | All matching rows, streamed (`table` format buffers to align columns) |
+| `sample` | Reproducible reservoir sample (default 10; `-n`, `--seed`) |
+
+The metadata commands (`ls` / `schema` / `meta` / `stats` / `count`) answer most
+questions **without decoding data pages**.
+
+Shared options:
+
+| Option | Meaning |
+|---|---|
+| `-f, --format csv\|tsv\|json\|table` | Output format; defaults to `table` on a TTY, `tsv` when piped |
+| `-d, --device <id>` / `-t, --table <name>` | Scope to one device / table (mutually exclusive) |
+| `-m, --measurements a,b,c` | Column projection (`schema`, `stats`, `count`, `head`, `cat`, `sample`) |
+| `-n, --limit N` / `--offset N` | Max rows / rows to skip (`head`, `cat`; `--offset` not valid for `sample`) |
+| `--start <ms>` / `--end <ms>` | Inclusive epoch-millisecond time range (`head`, `cat`, `sample`) |
+| `--seed N` | Reproducible sampling seed (`sample` only) |
+| `--tag-filter C OP V` / `--tag-between C L U` / `--tag-not-between C L U` | Table TAG predicate for `head`, `cat`, `sample`; `OP` is `eq`, `neq`, `lt`, `lteq`, `gt`, `gteq`, `regexp`, or `not-regexp` |
+| `--no-header` | Omit the header row |
+| `--model tree\|table` | Force the model (otherwise auto-detected) |
+
+`json` output is NDJSON (one object per line; numbers/booleans bare, other values
+quoted, nulls as `null`; non-finite floats — NaN/Inf — become `null`). CSV output
+follows RFC 4180. Timestamps are raw epoch milliseconds. The `table` format
+buffers all rows in memory to align columns, so prefer `csv`/`tsv`/`json` when
+dumping large files.
+
+```bash
+BIN=cpp/build/Debug/bin/tsfile-cli
+$BIN ls -f tsv data.tsfile                          # list tables / devices
+$BIN meta data.tsfile                               # quick file overview
+$BIN count -t table1 -f tsv data.tsfile             # row counts, no page scan
+$BIN cat -t table1 --tag-filter device eq dev_1 -m temp -f tsv data.tsfile
+$BIN cat -m temp,humidity --start 1700000000000 -f csv data.tsfile | head
+$BIN sample -m temp -n 20 --seed 42 -f json data.tsfile | jq .
+```
+
+> For a table-model file, the row commands (`head` / `cat` / `sample`) query the
+> **first** table unless you pass `-t <table>`. `count` covers all tables.
+
+### Writing (import)
+
+`tsfile-cli write` imports CSV/TSV rows into a **new table-model** `.tsfile` (the
+output is overwritten). The first input column is the timestamp (epoch
+milliseconds); the remaining columns are declared explicitly with `--columns` —
+there is no type inference.
+
+Timestamps must be **strictly increasing per device**, where a device is
+identified by its `tag` column values (rows that share the same tags form one
+device's timeline). Rows for different tag combinations may freely interleave and
+reuse timestamps. Out-of-order input is rejected with the offending line number,
+and a failed import leaves no output file behind. `--output` must differ from the
+input file.
+
+```text
+tsfile-cli write --table <name> --columns <spec> -o <out.tsfile> \
+                 [-f csv|tsv] [--no-header] [--header-match] [-v] [<input> | -]
+```
+
+`--columns` is a comma-separated list of `name:TYPE:category`, where `category`
+(case-insensitive) is `tag` or `field` and `TYPE` (case-insensitive) is one of
+`BOOLEAN, INT32, INT64, FLOAT, DOUBLE, STRING, TEXT, TIMESTAMP, DATE, BLOB` — for
+example `--columns "id1:STRING:tag,s1:INT64:field"`. `DATE` cells are written as
+`YYYY-MM-DD`; `TIMESTAMP` cells as epoch milliseconds. Each column is stored with
+the engine's default encoding and compression for its type.
+
+| Option | Meaning |
+|---|---|
+| `--table <name>` | Output table name (lower-cased) |
+| `--columns <spec>` | Ordered data columns (excludes the leading timestamp column) |
+| `-o, --output <path>` | Output `.tsfile` (required; overwritten) |
+| `<input>` / `-` | Input file, or `-` / omitted for stdin |
+| `-f csv\|tsv` | Input delimiter (default csv; `json` / `table` are rejected) |
+| `--no-header` | Input has no header row (default: first line is a header and is skipped) |
+| `--header-match` | Validate header names against `--columns` |
+| `-v, --verbose` | Print `wrote N rows to <out>` to stderr (otherwise silent on success) |
+
+An empty cell is written as null. The command is silent on success (Unix-style);
+pass `-v` for a one-line summary.
+
+```bash
+# round-trip through a pipe
+printf 'time,id1,s1\n0,dev,0\n1,dev,10\n' \
+  | tsfile-cli write --table t1 --columns "id1:STRING:tag,s1:INT64:field" -o out.tsfile -
+tsfile-cli count -f tsv out.tsfile          # -> t1.dev  s1  2
+```
+
+For tree-model writes, JSON input, or programmatic use, use the C++ SDK directly
+— see `cpp/examples/cpp_examples/demo_write.cpp` (`TsFileTableWriter` /
+`TsFileWriter` + `Tablet`).
+
+## Using the skill with an AI assistant
+
+`cpp/tools/skills/tsfile-cli/SKILL.md` is a machine-readable reference that
+teaches AI coding assistants (e.g. Claude Code) how to drive `tsfile-cli`
+correctly. Such assistants auto-discover skills from a `.claude/skills/`
+directory at session start, so "installing" the skill just means placing it
+there — project-level or user-level:
+
+```bash
+# project-level (this repository only)
+mkdir -p .claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md .claude/skills/tsfile-cli/SKILL.md
+
+# or user-level (available in all your projects)
+mkdir -p ~/.claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md ~/.claude/skills/tsfile-cli/SKILL.md
+```
+
+> The installed `SKILL.md` must begin with its YAML front-matter (`--- … ---`)
+> for the assistant to detect it. If discovery fails, delete the leading
+> `<!-- … -->` license block so `---` is the first line.
+
+Start a new assistant session afterward. The skill then activates automatically
+when you ask to inspect or import a `.tsfile`.
diff --git a/src/UserGuide/develop/Tools/Tsfile-Viewer.md b/src/UserGuide/develop/Tools/Tsfile-Viewer.md
new file mode 100644
index 000000000..c4f2a4b7c
--- /dev/null
+++ b/src/UserGuide/develop/Tools/Tsfile-Viewer.md
@@ -0,0 +1,93 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-viewer
+
+[Apache TsFile Viewer](https://github.com/apache/tsfile-viewer) is a web-based
+application for browsing and analyzing TsFile data in your browser. It pairs a
+Spring Boot backend (which reads `.tsfile` files via the Apache TsFile library)
+with a Vue 3 frontend that renders metadata, paginated tables, and interactive
+charts.
+
+- **Repository:** <https://github.com/apache/tsfile-viewer>
+- **License:** Apache-2.0
+
+## Features
+
+- **File browsing and upload** — open `.tsfile` files from the UI.
+- **Metadata display** — schema, devices, and measurements.
+- **Paginated data tables** with filtering by time range, devices, measurements,
+  and value range.
+- **Interactive charts** (ECharts) with multi-series overlay and aggregation.
+- **Both data models** — supports tree-model and table-model TsFiles.
+- **Export** — data as CSV or JSON; charts as PNG or SVG.
+- **Performance** — chunk-level reading and metadata caching.
+
+## Requirements
+
+| Component | Version |
+|---|---|
+| JDK | 17 or 21 (LTS) |
+| Maven | 3.9+ |
+| Node.js | `^20.19.0 \|\| >=22.12.0` |
+| pnpm | latest |
+| Apache TsFile | 2.3.0 (bundled dependency) |
+
+## Get the source
+
+Clone the repository, then build and run it as shown below:
+
+```bash
+git clone https://github.com/apache/tsfile-viewer.git
+cd tsfile-viewer
+```
+
+## Running from source (development)
+
+Run the backend and frontend in two terminals.
+
+**Backend** (Spring Boot):
+
+```bash
+cd backend
+mvn spring-boot:run
+```
+
+**Frontend** (Vue + Vite dev server):
+
+```bash
+cd frontend
+pnpm install
+pnpm dev
+```
+
+Then open the dev UI at <http://localhost:5173/view/>.
+
+## Building and running a production bundle
+
+Build a self-contained distribution, then launch the packaged jar (the frontend
+is served by the backend):
+
+```bash
+./build-dist.sh
+java -jar backend/target/tsfile-viewer-*.jar
+```
+
+Open the app at <http://localhost:8080/view/>.
diff --git a/src/UserGuide/develop/TsFileFormat/TsFile-Format.md b/src/UserGuide/develop/TsFileFormat/TsFile-Format.md
new file mode 100644
index 000000000..c7c69bc01
--- /dev/null
+++ b/src/UserGuide/develop/TsFileFormat/TsFile-Format.md
@@ -0,0 +1,296 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFile Data Format
+
+This page describes the on-disk binary layout of a TsFile. It documents the
+current format version (`0x04`) as implemented by the C++ library, and is
+intended for developers who build tools on top of TsFile, debug files, or
+implement readers/writers in other languages.
+
+> **Notation.** Multi-byte integers are big-endian unless noted otherwise.
+> `varint` / `varuint` are LEB128-style variable-length integers. A *var-string*
+> is a `varuint` length prefix followed by that many UTF-8 bytes.
+
+## 1. Design overview
+
+A TsFile is a self-contained, write-once columnar file for time series. Its
+guiding ideas are:
+
+- **Column-oriented storage.** Each measurement (series) is stored in its own
+  *Chunk*, so a query reads only the columns it needs.
+- **Block-at-a-time encoding + compression.** A Chunk is split into *Pages*;
+  each page is first encoded (e.g. `TS_2DIFF`, `GORILLA`) and then compressed
+  (e.g. `LZ4`, `SNAPPY`), so both temporal and value redundancy are removed.
+- **Embedded statistics.** Every page and chunk carries summary statistics
+  (count / time range / min / max / first / last / sum). Queries with time or
+  value predicates can skip whole pages and chunks without decoding them.
+- **A metadata index at the tail.** A B-tree-like *metadata index* maps each
+  device and measurement to the file offset of its data, so a reader can
+  locate any series with a few seeks instead of scanning the file.
+- **Self-describing schema.** The relational schema (table name, tag and field
+  columns, and each column's type/encoding/compression) is serialized in the
+  file's metadata. See [Data Model](../QuickStart/Data-Model.md).
+
+## 2. File layout
+
+A TsFile is laid out as a header, a data area of one or more **Chunk Groups**, a
+separator, the **metadata** area, and a footer:
+
+```text
+┌───────────────────────────────────────────────┐
+│  Magic  "TsFile"               (6 bytes)        │  ← Head magic
+│  Version 0x04                  (1 byte)         │
+├───────────────────────────────────────────────┤
+│  Chunk Group 1                                  │  ┐
+│  Chunk Group 2                                  │  │ Data area
+│  ...                                            │  │ (one group per device)
+│  Chunk Group N                                  │  ┘
+├───────────────────────────────────────────────┤
+│  Separator marker 0x02         (1 byte)         │
+├───────────────────────────────────────────────┤
+│  TimeseriesIndex records                        │  ┐
+│  Metadata index trees (one per table)           │  │ Metadata area
+│  TsFileMetadata (+ schemas, bloom filter)       │  ┘
+├───────────────────────────────────────────────┤
+│  Metadata size                 (4 bytes)        │  ┐ Footer
+│  Magic  "TsFile"               (6 bytes)        │  ┘ (tail magic)
+└───────────────────────────────────────────────┘
+```
+
+- The file **begins and ends** with the 6-byte ASCII magic string `TsFile`;
+  readers validate both to detect truncation/corruption.
+- The single byte after the head magic is the **version number** (`0x04`).
+- To read a file, a reader seeks to the end, reads the 6-byte tail magic and the
+  preceding 4-byte metadata size, then jumps back to the start of the metadata
+  area and parses it. Data pages are read on demand using offsets found there.
+
+## 3. Data area
+
+### 3.1 Chunk Group
+
+A Chunk Group holds all the chunks of **one device** — a table name plus the
+tag-column values that identify the device. It begins with a 1-byte marker
+followed by the device identifier, then the chunks:
+
+```text
+[ 0x00  Chunk-Group header marker (1 byte) ]
+[ Device ID            (serialized IDeviceID) ]
+[ Chunk 1 ] [ Chunk 2 ] ... [ Chunk K ]
+```
+
+The device ID encodes the table name plus the tag-column values that identify the
+device.
+
+### 3.2 Chunk
+
+A Chunk stores one measurement (column) within a device. It starts with a
+**Chunk header** and is followed by one or more pages:
+
+| Field | Type | Description |
+|---|---|---|
+| chunk type | 1 byte | Marker + alignment bits (see below) |
+| measurement name | var-string | Column / measurement name |
+| data size | varuint | Total byte size of all page data that follows |
+| data type | 1 byte | `TSDataType` (§6.1) |
+| compression | 1 byte | `CompressionType` (§6.3) |
+| encoding | 1 byte | `TSEncoding` (§6.2) |
+
+The chunk-type byte carries the header marker and two alignment mask bits:
+
+| Constant | Value | Meaning |
+|---|---|---|
+| `CHUNK_HEADER_MARKER` | `1` | Chunk with multiple pages |
+| `ONLY_ONE_PAGE_CHUNK_HEADER_MARKER` | `5` | Chunk with a single page (page header omits statistics) |
+| `TIME_COLUMN_MASK` | `0x80` | Time column of an aligned chunk |
+| `VALUE_COLUMN_MASK` | `0x40` | Value column of an aligned chunk |
+
+**Aligned chunks.** The timestamps are written once into a *time chunk*
+(`TIME_COLUMN_MASK`) and each measurement is written into a *value chunk*
+(`VALUE_COLUMN_MASK`) that shares that time column.
+
+### 3.3 Page
+
+A page is the smallest decodable unit. It consists of a **Page header** and the
+encoded+compressed page data:
+
+| Page header field | Type | Description |
+|---|---|---|
+| uncompressed size | varuint | Size of the page body before compression |
+| compressed size | varuint | Size of the page body as stored on disk |
+| statistics | struct | Page statistics (§4) — **present only when the chunk has more than one page** |
+
+A time page holds only the encoded timestamps; a value page holds only the encoded
+values (plus a null bitmap). The body is encoded with the chunk's `encoding`, then
+the result is compressed with the chunk's `compression`.
+
+A reader can therefore: read the page header → if predicates exclude the page's
+statistics, skip `compressed size` bytes → otherwise decompress, then decode.
+
+## 4. Statistics
+
+Statistics are stored per page and aggregated per chunk and per series. The set
+of fields depends on the data type:
+
+| Field | Meaning |
+|---|---|
+| count | Number of data points |
+| start_time / end_time | Minimum / maximum timestamp |
+| min_value / max_value | Minimum / maximum value (numeric & comparable types) |
+| first_value / last_value | First / last value in time order |
+| sum_value | Sum of values (numeric types) |
+
+- Numeric types (`INT32`, `INT64`, `FLOAT`, `DOUBLE`) store min/max/first/last/sum.
+- `BOOLEAN` stores count, time range, first/last (and a count of `true`).
+- `TEXT` / `STRING` store min/max/first/last by lexicographic order.
+- `BLOB` stores only count and the time range.
+
+When a chunk has a single page (`ONLY_ONE_PAGE_CHUNK_HEADER_MARKER`), the page's
+statistics are omitted and the chunk-level statistics in the metadata are used
+instead.
+
+## 5. Metadata area
+
+The metadata area lets a reader find any series without scanning the data.
+
+### 5.1 TimeseriesIndex
+
+For each measurement, a `TimeseriesIndex` records:
+
+- the measurement name and `TSDataType`;
+- a flag byte (single-chunk vs. multi-chunk and which statistic fields are present);
+- the merged statistics across all of the measurement's chunks;
+- the list of `ChunkMetadata` (each pointing to a chunk's file offset).
+
+For aligned series an `AlignedTimeseriesIndex` pairs the time-column index with
+each value-column index.
+
+### 5.2 Metadata index tree
+
+`TimeseriesIndex` records are organized into a B-tree-like **metadata index**
+whose nodes have one of four types:
+
+| Node type | Value | Role |
+|---|---|---|
+| `INTERNAL_DEVICE` | 0 | Internal node over device entries |
+| `LEAF_DEVICE` | 1 | Leaf node pointing at a device's measurement index |
+| `INTERNAL_MEASUREMENT` | 2 | Internal node over measurement entries |
+| `LEAF_MEASUREMENT` | 3 | Leaf node pointing at `TimeseriesIndex` offsets |
+
+Each entry carries a key (device ID or measurement name) and the file offset
+where the next level / the `TimeseriesIndex` begins. The fan-out of the tree is
+bounded by `max_degree_of_index_node` (default **256**), which keeps lookups
+shallow. There is one index tree **per table**.
+
+### 5.3 TsFileMetadata
+
+The `TsFileMetadata` is the root of the metadata area. It contains:
+
+- a map from **table name → metadata index tree** (one entry per table);
+- a map from **table name → TableSchema** (see §7);
+- the `meta_offset` (offset of the separator marker, i.e. the end of the data area);
+- an optional **bloom filter**;
+- a property map (e.g. encryption metadata).
+
+### 5.4 Bloom filter
+
+To answer "does this file contain series X?" cheaply, the metadata may include a
+bloom filter over the device/measurement paths. Key parameters:
+
+- up to `MAX_HASH_FUNC_COUNT = 8` hash functions;
+- minimum bit-set size `MIN_SIZE = 256`;
+- target false-positive rate `tsfile_index_bloom_filter_error_percent` (default **0.05**).
+
+A reader can consult the bloom filter before walking the index tree and return
+"not found" immediately for absent paths.
+
+## 6. Type, encoding, and compression codes
+
+These 1-byte codes appear in chunk headers and schema serialization.
+
+### 6.1 `TSDataType`
+
+| Name | Code | | Name | Code |
+|---|---|---|---|---|
+| BOOLEAN | 0 | | TIMESTAMP | 8 |
+| INT32 | 1 | | DATE | 9 |
+| INT64 | 2 | | BLOB | 10 |
+| FLOAT | 3 | | STRING | 11 |
+| DOUBLE | 4 | | VECTOR | 6 |
+| TEXT | 5 | | | |
+
+### 6.2 `TSEncoding`
+
+| Name | Code | Applicable types |
+|---|---|---|
+| PLAIN | 0 | all types |
+| DICTIONARY | 1 | TEXT, STRING |
+| RLE | 2 | INT32, INT64, TIMESTAMP, DATE |
+| TS_2DIFF | 4 | INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE |
+| GORILLA | 8 | INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE |
+| ZIGZAG | 9 | INT32, INT64 |
+| SPRINTZ | 12 | INT32, INT64, FLOAT, DOUBLE |
+
+> The enum also reserves `DIFF` (3), `BITMAP` (5), `GORILLA_V1` (6),
+> `REGULAR` (7), and `FREQ` (10); these are not produced by the current C++
+> encoder factory.
+
+### 6.3 `CompressionType`
+
+| Name | Code | Notes |
+|---|---|---|
+| UNCOMPRESSED | 0 | No compression |
+| SNAPPY | 1 | Build option `ENABLE_SNAPPY` |
+| GZIP | 2 | Build option `ENABLE_GZIP` |
+| LZO | 3 | Build option `ENABLE_LZOKAY` |
+| LZ4 | 7 | Build option `ENABLE_LZ4` (default compression) |
+
+> Codes `SDT` (4), `PAA` (5), and `PLA` (6) are reserved but not implemented in
+> the C++ library.
+
+## 7. Table schema
+
+The metadata stores one `TableSchema` per table. A serialized `TableSchema` lists,
+for each column: name, `TSDataType`, encoding, compression, an optional property
+map, and the column category (`TAG` / `FIELD` / `ATTRIBUTE` / `TIME`). This is what
+lets a reader reconstruct the relational schema of the file.
+
+Within a device, data is stored as **aligned chunks**: a shared time chunk plus
+one value chunk per field column.
+
+## 8. Default write parameters
+
+The writer's defaults shape how data is split into pages and chunks:
+
+| Parameter | Default | Meaning |
+|---|---|---|
+| page max point count | 10000 | Points per page before a new page is started |
+| page max size | 128 KB | Byte cap per page |
+| chunk group size threshold | 128 MB | In-memory size that triggers a flush to disk |
+| max degree of index node | 256 | Fan-out of the metadata index tree |
+| bloom filter error percent | 0.05 | Target false-positive rate |
+| time column encoding | `TS_2DIFF` | Default encoding for the time column |
+| default value compression | `LZ4` | Default compression for value chunks |
+
+Default per-type value encodings: `BOOLEAN → PLAIN`, `INT32 / INT64 → TS_2DIFF`,
+`FLOAT / DOUBLE → GORILLA`, `TEXT / STRING / BLOB → PLAIN`.
+
+See the [Interface Definitions](../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md)
+for how to override these per column or globally when writing.
diff --git a/src/UserGuide/latest/DataFrame/TsFileDataFrame.md b/src/UserGuide/latest/DataFrame/TsFileDataFrame.md
new file mode 100644
index 000000000..6d97daac5
--- /dev/null
+++ b/src/UserGuide/latest/DataFrame/TsFileDataFrame.md
@@ -0,0 +1,288 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFileDataFrame
+
+`TsFileDataFrame` lets you read the time series inside one or more TsFiles the
+same way you would work with a pandas DataFrame — without having to care about
+the underlying file format or data-loading details. It is part of the Python
+package (`pip install tsfile`).
+
+## Quick start
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame("table_data/")           # load every .tsfile under the directory
+print(df)                                     # browse all series (metadata only)
+
+ts = df["weather.Beijing.humidity"]           # pick one series (lazy handle)
+window = ts[20:100]                           # slice by row index -> np.ndarray
+
+data = df.loc[start:end, [                     # align multiple series on timestamps
+    "weather.Beijing.temperature",
+    "weather.Beijing.humidity",
+]]
+data.values                                   # -> np.ndarray, shape = (N, 2)
+```
+
+## Core types
+
+`TsFileDataFrame` is built around three types:
+
+- **`TsFileDataFrame`** — the entry point. It loads one or more TsFiles and
+  exposes a unified view. Construction only scans metadata; **no values are read**.
+- **`Timeseries`** — a lazy handle to a single series, obtained from `df[...]`.
+  It carries the series' metadata but reads nothing until you index it by row.
+- **`AlignedTimeseries`** — the result of aligning several series on a common
+  time axis, obtained from `df.loc[...]`. It reads the requested range of the
+  requested series into memory at once.
+
+### TsFileDataFrame
+
+| Example | Operation | Returns |
+|---|---|---|
+| `TsFileDataFrame(paths)` | Load a file / list of files / directory | `TsFileDataFrame` |
+| `len(df)` | Number of time series | `int` |
+| `df.list_timeseries("weather")` | Series names, optionally filtered by prefix | `List[str]` |
+| `df["weather.Beijing.humidity"]`, `df[0]`, `df[-1]` | One series | `Timeseries` |
+| `df["city"]` | A metadata column (a tag / `field` / `start_time` / `end_time` / `count`) | `pandas.Series` |
+| `df[0:3]`, `df[[0, 2, 5]]` | A subset view | `TsFileDataFrame` |
+| `df[df["city"] == "Beijing"]` | Filter by a metadata column | `TsFileDataFrame` |
+| `df.loc[start:end, series_list]` | Timestamp-aligned query | `AlignedTimeseries` |
+| `df.show(max_rows=20)` / `print(df)` | Formatted metadata table | — |
+| `df.close()` | Release file handles | — |
+
+### Timeseries
+
+| Example | Operation | Returns |
+|---|---|---|
+| `ts.name` | Series name | `str` |
+| `len(ts)` | Number of points | `int` |
+| `ts.stats` | Series statistics | `dict` (`start_time`, `end_time`, `count`) |
+| `ts[20]` | Single value | `float` (or `None` if null) |
+| `ts[20:100]` | Row-range slice | `np.ndarray` |
+| `ts.timestamps` | Timestamp array | `np.ndarray` |
+
+### AlignedTimeseries
+
+| Example | Operation | Returns |
+|---|---|---|
+| `data.timestamps` | Timestamp array | `np.ndarray` |
+| `data.values` | Value matrix | `np.ndarray`, shape `(N, M)` |
+| `data.series_names` | Series names | `List[str]` |
+| `data.shape` | Shape `(N, M)` — N timestamps, M series | `tuple` |
+| `len(data)` | Number of rows | `int` |
+| `data[0]`, `data[0:10]`, `data[0, 1]` | Row / element indexing | `np.ndarray` / scalar |
+| `data.show(50)` / `print(data)` | Formatted output (auto-truncated) | — |
+
+## Series path naming
+
+A series is addressed by a single flat string, uniquely identified by **table
+name + tag values + field name**:
+
+```text
+{table_name}.{tag_value_1}.{tag_value_2}...{field_column_name}
+```
+
+Examples:
+
+- `weather.Beijing.humidity` — table `weather`, tag `Beijing`, field `humidity`
+- `sensor.s1.pressure` — table `sensor`, tag `s1`, field `pressure`
+
+## Loading
+
+A path may be a single file, a list of files, or a directory:
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame(["data/weather.tsfile", "data/sensor.tsfile"])
+df = TsFileDataFrame("data/")     # recursively find every .tsfile under the directory
+print(df)
+```
+
+Construction only scans metadata; actual values are not read. When several files
+are loaded, metadata is scanned in parallel.
+
+If several files contain the **same series** (e.g. daily shards of
+`weather.Beijing.humidity`), they are merged into one continuous series. For
+duplicate timestamps only the first is kept — this is not an expected situation,
+so deduplicate during preprocessing to avoid metadata distortion.
+
+### Displaying a DataFrame
+
+`print(df)` (and `df.show(max_rows=...)`) prints series metadata, head/tail
+truncated when large. The header is:
+
+```text
+index │ table │ <tag1> │ <tag2> │ ... │ field │ start_time │ end_time │ count
+```
+
+For devices with different numbers of tags the tag values are left-aligned and
+shorter ones are padded with `None` at the end.
+
+```text
+TsFileDataFrame(table model, 972 time series, 5 files)
+     table  ps_id                    sn  frac                 field           start_time             end_time  count
+  0    pvf     10  30100194A00234H00572     1                   pac  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+  1    pvf     10  30100194A00234H00572     1    tenmeterswindspeed  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+...
+```
+
+### Closing
+
+A `with` block closes file handles automatically; you can also close manually:
+
+```python
+with TsFileDataFrame("data/") as df:
+    ...                       # handles released on exit
+
+tsdf = TsFileDataFrame("data/")
+tsdf.close()                  # or close it yourself
+```
+
+## Browsing series
+
+`list_timeseries(path_prefix="")` lists the series names in the loaded files,
+optionally filtered by a prefix. Calling it with no argument returns all series.
+
+```python
+>>> df.list_timeseries("weather")
+['weather.Beijing.humidity', 'weather.Beijing.temperature',
+ 'weather.Shanghai.humidity', 'weather.Shanghai.temperature']
+>>> df.list_timeseries("weather.Beijing")
+['weather.Beijing.humidity', 'weather.Beijing.temperature']
+```
+
+To inspect metadata such as start/end time and count, print the DataFrame (or a
+subset of it) — see [Displaying a DataFrame](#displaying-a-dataframe).
+
+## Selecting series
+
+`df[...]` returns a lazy `Timeseries` handle (no data read) or a subset view:
+
+```python
+ts = df["weather.Beijing.humidity"]   # by name
+ts = df[0]                            # by index (negative indices allowed)
+
+sub_df = df[0:3]                      # slice           -> TsFileDataFrame (view)
+sub_df = df[[0, 2, 5]]                # integer list    -> TsFileDataFrame (view)
+sub_df = df[df["city"] == "Beijing"]  # metadata filter -> TsFileDataFrame (view)
+```
+
+```text
+>>> df["weather.Beijing.humidity"]
+Timeseries('weather.Beijing.humidity', count=2880, start=2026-01-27 00:00:00, end=2026-02-05 23:55:00)
+```
+
+Series metadata is served from cache (no I/O):
+
+```python
+>>> ts = df["weather.Beijing.humidity"]
+>>> ts.name
+'weather.Beijing.humidity'
+>>> len(ts)
+2880
+>>> ts.stats
+{'start_time': 1769443200000, 'end_time': 1770306900000, 'count': 2880}
+```
+
+## Reading data
+
+Indexing a `Timeseries` by row triggers the actual file read (results are cached
+to avoid re-reading):
+
+```python
+val = ts[20]            # -> float
+window = ts[20:100]     # -> np.ndarray, shape = (80,)
+last_ten = ts[-10:]     # -> np.ndarray
+sampled = ts[::2]       # -> np.ndarray (strided sampling)
+ts.timestamps[20:100]   # -> the timestamps for those rows, np.ndarray
+```
+
+```text
+>>> ts[20]
+46.1
+>>> ts[20:100]
+array([46.1 , 41.72, 52.94, ..., 76.3 , 84.35])
+>>> ts.timestamps[20:100]
+array([1769449200000, 1769449500000, ..., 1769472900000])
+```
+
+## Timestamp-aligned queries
+
+When you need several series strictly aligned on one time axis, use `.loc`:
+
+```python
+data = df.loc[start_time:end_time, [
+    "weather.Beijing.humidity",
+    "weather.Beijing.temperature",
+    "sensor.s1.pressure",
+]]
+```
+
+The returned `AlignedTimeseries` aligns all series to the **union** of their
+timestamps and fills missing positions with `NaN`:
+
+```python
+data.timestamps    # np.ndarray, millisecond timestamps
+data.values        # np.ndarray, shape = (N, 3)
+data.series_names  # ["weather.Beijing.humidity", ...]
+data.shape         # (N, 3)
+data[0:10]         # first 10 rows, np.ndarray shape = (10, 3)
+data.show(50)      # show up to 50 rows
+```
+
+Series may be given by name or by index, mixed freely:
+
+```python
+df.loc[start_time:end_time, [0, 1, 4]]
+df.loc[start_time:end_time, [0, "weather.Beijing.temperature", 4]]
+```
+
+```text
+>>> df.loc[1769616000000:1769702100000,
+...        ['weather.Beijing.temperature', 'weather.Beijing.humidity', 'sensor.s2.pressure']]
+AlignedTimeseries(288 rows, 3 series)
+          timestamp  weather.Beijing.temperature  weather.Beijing.humidity  sensor.s2.pressure
+2026-01-29 00:00:00                        29.12                     92.87                 NaN
+2026-01-29 00:05:00                         1.55                     87.34                 NaN
+...
+```
+
+The pretty-printed view shows only value columns; to read the aligned timestamp
+column use `df.loc[...].timestamps`.
+
+## Known limitations
+
+- **Timestamp cache.** The underlying TsFile reader currently supports only
+  time-range queries, so on load every series caches its full timestamp array to
+  map row indices to timestamps (also used to compute statistics). This means a
+  one-time full timestamp scan at load (slower for very large files), and the
+  timestamp arrays stay resident in memory (the actual values are not cached).
+- **Alignment cost.** `.loc` time alignment (merge + dedup + NaN fill) is done in
+  Python, so queries spanning tens of millions of timestamps can be a bottleneck.
+
+## Performance notes
+
+- **Parallel loading.** Multiple files are scanned with a thread pool
+  (workers = `min(file_count, cpu_count)`). Keep the file count under the
+  system's open-file-handle limit.
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
index f55643986..cd2e9fccc 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -32,13 +32,47 @@ typedef enum {
     TS_DATATYPE_FLOAT = 3,
     TS_DATATYPE_DOUBLE = 4,
     TS_DATATYPE_TEXT = 5,
-    TS_DATATYPE_STRING = 11
+    TS_DATATYPE_VECTOR = 6,
+    TS_DATATYPE_TIMESTAMP = 8,
+    TS_DATATYPE_DATE = 9,
+    TS_DATATYPE_BLOB = 10,
+    TS_DATATYPE_STRING = 11,
+    TS_DATATYPE_INVALID = 255
 } TSDataType;
 
-typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
-
-// ColumnSchema: Represents the schema of a single column, 
+// Value encoding (used by the configuration functions below).
+typedef enum {
+    TS_ENCODING_PLAIN = 0,
+    TS_ENCODING_DICTIONARY = 1,
+    TS_ENCODING_RLE = 2,
+    TS_ENCODING_TS_2DIFF = 4,
+    TS_ENCODING_GORILLA = 8,
+    TS_ENCODING_ZIGZAG = 9,
+    TS_ENCODING_SPRINTZ = 12,
+    TS_ENCODING_INVALID = 255
+} TSEncoding;
+
+// Per-column compression. LZ4 is the default.
+typedef enum {
+    TS_COMPRESSION_UNCOMPRESSED = 0,
+    TS_COMPRESSION_SNAPPY = 1,
+    TS_COMPRESSION_GZIP = 2,
+    TS_COMPRESSION_LZO = 3,
+    TS_COMPRESSION_LZ4 = 7,
+    TS_COMPRESSION_INVALID = 255
+} CompressionType;
+
+typedef enum column_category {
+    TAG = 0,
+    FIELD = 1,
+    ATTRIBUTE = 2,
+    TIME = 3
+} ColumnCategory;
+
+// ColumnSchema: Represents the schema of a single column,
 // including its name, data type, and category.
+// Encoding/compression for columns follow the global defaults
+// (see "Configuration" below).
 typedef struct column_schema {
     char* column_name;
     TSDataType data_type;
@@ -62,6 +96,9 @@ typedef struct result_set_meta_data {
 } ResultSetMetaData;
 ```
 
+> `ColumnSchema` does not carry encoding/compression — those follow the global
+> defaults (see [Configuration](#configuration-encoding--compression)).
+
 
 ## Write Interface
 
@@ -260,6 +297,41 @@ ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
 
 
 
+## Configuration (encoding & compression)
+
+Columns are stored with the **global default** encoding and compression for their
+data type (a `ColumnSchema` does not carry per-column codec settings). Change those
+defaults *before* creating a writer with the functions below.
+
+Each setter returns `RET_OK` (0) on success, or `RET_NOT_SUPPORT` (40) for an
+unsupported data-type/encoding or compression combination.
+
+```C
+/* Default value encoding per data type, and default compression. */
+int     set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int     set_global_compression(uint8_t compression);
+uint8_t get_datatype_encoding(uint8_t data_type);
+uint8_t get_global_compression();
+
+/* Time column (the time data type is fixed to INT64). */
+int     set_global_time_encoding(uint8_t encoding);
+int     set_global_time_compression(uint8_t compression);
+uint8_t get_global_time_encoding();
+uint8_t get_global_time_compression();
+```
+
+Allowed values: encoding accepts `PLAIN` for `BOOLEAN`; `PLAIN`/`TS_2DIFF`/
+`GORILLA`/`ZIGZAG`/`RLE`/`SPRINTZ` for `INT32`/`INT64`/`DATE`;
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`SPRINTZ` for `FLOAT`/`DOUBLE`;
+`PLAIN`/`DICTIONARY` for `STRING`/`TEXT`. Compression accepts `UNCOMPRESSED`,
+`SNAPPY`, `GZIP`, `LZO`, or `LZ4`.
+
+```C
+// e.g. write every column with LZ4 compression
+ERRNO code = set_global_compression(TS_COMPRESSION_LZ4);
+if (code != RET_OK) { /* handle unsupported value */ }
+```
+
 ## Read  Interface
 
 ###  TsFile Reader Create/Close
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index b1642f88b..ca02c95cf 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -20,6 +20,68 @@
 -->
 # Interface Definitions - C++
 
+## Data Types, Encoding and Compression
+
+These enumerations are shared by the read and write interfaces. The numeric
+codes are also the values stored on disk (see
+[TsFile Data Format](../../TsFileFormat/TsFile-Format.md)).
+
+```cpp
+// Supported measurement/column data types.
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    TIMESTAMP = 8,
+    DATE = 9,
+    BLOB = 10,
+    STRING = 11,
+};
+
+// Per-column encoding. See the table below for which encodings apply to which types.
+enum TSEncoding : uint8_t {
+    PLAIN = 0,
+    DICTIONARY = 1,
+    RLE = 2,
+    TS_2DIFF = 4,
+    GORILLA = 8,
+    ZIGZAG = 9,
+    SPRINTZ = 12,
+};
+
+// Per-column compression. SNAPPY/GZIP/LZO/LZ4 depend on build options; LZ4 is the default.
+enum CompressionType : uint8_t {
+    UNCOMPRESSED = 0,
+    SNAPPY = 1,
+    GZIP = 2,
+    LZO = 3,
+    LZ4 = 7,
+};
+
+// Column role within a table schema (table model).
+enum class ColumnCategory { TAG = 0, FIELD = 1, ATTRIBUTE = 2, TIME = 3 };
+```
+
+Encodings applicable to each data type:
+
+| Encoding | Applicable types |
+|---|---|
+| `PLAIN` | all types |
+| `DICTIONARY` | `TEXT`, `STRING` |
+| `RLE` | `INT32`, `INT64`, `TIMESTAMP`, `DATE` |
+| `TS_2DIFF` | `INT32`, `INT64`, `TIMESTAMP`, `DATE`, `FLOAT`, `DOUBLE` |
+| `GORILLA` | `INT32`, `INT64`, `TIMESTAMP`, `DATE`, `FLOAT`, `DOUBLE` |
+| `ZIGZAG` | `INT32`, `INT64` |
+| `SPRINTZ` | `INT32`, `INT64`, `FLOAT`, `DOUBLE` |
+
+Default value encoding per type: `BOOLEAN → PLAIN`, `INT32 / INT64 → TS_2DIFF`,
+`FLOAT / DOUBLE → GORILLA`, `TEXT / STRING / BLOB → PLAIN`. The default
+compression is `LZ4`. See [Configuring encoding and compression](#configuring-encoding-and-compression)
+for how to override these.
+
 ## Write Interface
 
 ### TsFileTableWriter
@@ -111,44 +173,41 @@ class TableSchema {
 struct ColumnSchema {
     std::string column_name_;
     common::TSDataType data_type_;
+    common::CompressionType compression_;
+    common::TSEncoding encoding_;
     ColumnCategory column_category_;
 
     /**
-     * @brief Constructs a ColumnSchema object with the given parameters.
+     * @brief Constructs a ColumnSchema with explicit compression and encoding.
      *
      * @param column_name The name of the column. Must be a non-empty string.
-     *                    This name is used to identify the column within the table.
-     * @param data_type The data type of the measurement, such as INT32, DOUBLE, TEXT, etc.
-     *                  This determines how the data will be stored and interpreted.
-     * @param column_category The category of the column indicating its role or type
-     *                        within the schema, e.g., FIELD, TAG.
-     *                        Defaults to ColumnCategory::FIELD if not specified.
-     * @note It is the responsibility of the caller to ensure that `column_name` is not empty.
+     * @param data_type The data type of the column (INT32, DOUBLE, TEXT, ...).
+     * @param compression The compression applied to the column's chunks.
+     * @param encoding The encoding applied to the column's values.
+     * @param column_category The role of the column (FIELD, TAG, ...). Defaults to FIELD.
      */
     ColumnSchema(std::string column_name, common::TSDataType data_type,
-                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
-                                                                           data_type_(data_type),
-                                                                           column_category_(column_category) {
-    }
-};
+                 common::CompressionType compression, common::TSEncoding encoding,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 
-/**
- * @brief Represents the data type of a measurement.
- *
- * This enumeration defines the supported data types for measurements in the system.
- */
-enum TSDataType : uint8_t {
-    BOOLEAN = 0,
-    INT32 = 1,
-    INT64 = 2,
-    FLOAT = 3,
-    DOUBLE = 4,
-    TEXT = 5,
-    STRING = 11
+    /**
+     * @brief Constructs a ColumnSchema using the engine's default encoding and
+     * compression for the given data type.
+     *
+     * @param column_name The name of the column. Must be a non-empty string.
+     * @param data_type The data type of the column.
+     * @param column_category The role of the column. Defaults to FIELD.
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 };
-
 ```
 
+> `TAG` columns are the device identifier (joint primary key); their data type is
+> always `STRING`. `FIELD` columns hold the measured values. The encoding and
+> compression you set on a `ColumnSchema` apply to that column when written; the
+> two-argument constructor falls back to the per-type defaults.
+
 ### Tablet
 
 Write column memory structure
@@ -214,6 +273,48 @@ public:
 };
 ```
 
+### Configuring encoding and compression
+
+There are two ways to control encoding and compression.
+
+**1. Per column.** Pass the encoding and compression when you build the schema —
+on a `ColumnSchema`:
+
+```cpp
+// Store column "temperature" as TS_2DIFF + LZ4.
+common::ColumnSchema col("temperature", common::INT64,
+                         common::LZ4, common::TS_2DIFF,
+                         common::ColumnCategory::FIELD);
+```
+
+**2. Global defaults.** Change the defaults *before* creating a writer; they then
+apply to any column whose schema does not specify its own encoding/compression.
+These helpers live in `common`/`storage` and validate their arguments (returning
+`E_NOT_SUPPORT` for an unsupported combination):
+
+```cpp
+// Default value encoding per data type and default compression.
+int  common::set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int  common::set_global_compression(uint8_t compression);
+uint8_t common::get_datatype_encoding(uint8_t data_type);
+uint8_t common::get_global_compression();
+
+// Time-column encoding/compression (the data type is fixed to INT64).
+int  common::set_global_time_encoding(uint8_t encoding);
+int  common::set_global_time_compression(uint8_t compression);
+
+// Page / index tuning.
+void storage::set_page_max_point_count(uint32_t page_max_point_count);   // default 10000
+void storage::set_max_degree_of_index_node(uint32_t max_degree);         // default 256
+void storage::set_strict_page_size(bool strict_page_size);               // default true
+```
+
+Allowed combinations are the same as in the
+[encoding table](#data-types-encoding-and-compression) above (e.g. only `PLAIN`
+for `BOOLEAN`; `PLAIN`/`DICTIONARY` for `STRING`/`TEXT`). The time column accepts
+`TS_2DIFF`, `PLAIN`, `GORILLA`, `ZIGZAG`, `RLE`, or `SPRINTZ`; compression
+accepts `UNCOMPRESSED`, `SNAPPY`, `GZIP`, `LZO`, or `LZ4`.
+
 ## Read Interface 
 ### Tsfile Reader
 use to execute query in tsfile and return value by ResultSet.
@@ -222,9 +323,8 @@ use to execute query in tsfile and return value by ResultSet.
  * @brief TsfileReader provides the ability to query all files with the suffix
  * .tsfile
  *
- * TsfileReader is designed to query .tsfile files, it accepts tree model
- * queries and table model queries, and supports querying metadata such as
- * TableSchema and TimeseriesSchema.
+ * TsfileReader is designed to query .tsfile files. It accepts table-model
+ * queries and supports querying metadata such as TableSchema.
  */
 class TsFileReader {
    public:
@@ -253,17 +353,6 @@ class TsFileReader {
      * @return Returns 0 on success, or a non-zero error code on failure.
      */
     int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
-    /**
-     * @brief query the tsfile by the path list, start time and end time
-     * this method is used to query the tsfile by the tree model.
-     *
-     * @param [in] path_list the path list
-     * @param [in] start_time the start time
-     * @param [in] end_time the end time
-     * @param [out] result_set the result set
-     */
-    int query(std::vector<std::string> &path_list, int64_t start_time,
-              int64_t end_time, ResultSet *&result_set);
     /**
      * @brief query the tsfile by the table name, columns names, start time
      * and end time. this method is used to query the tsfile by the table
@@ -302,27 +391,6 @@ class TsFileReader {
      * @param qds the result set
      */
     void destroy_query_data_set(ResultSet *qds);
-    ResultSet *read_timeseries(
-        const std::shared_ptr<IDeviceID> &device_id,
-        const std::vector<std::string> &measurement_name);
-    /**
-     * @brief get all devices in the tsfile
-     *
-     * @param table_name the table name
-     * @return std::vector<std::shared_ptr<IDeviceID>> the device id list
-     */
-    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
-        std::string table_name);
-    /**
-     * @brief get the timeseries schema by the device id and measurement name
-     *
-     * @param [in] device_id the device id
-     * @param [out] result std::vector<MeasurementSchema> the measurement schema
-     * list
-     * @return Returns 0 on success, or a non-zero error code on failure.
-     */
-    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
-                              std::vector<MeasurementSchema> &result);
     /**
      * @brief get the table schema by the table name
      *
@@ -347,12 +415,8 @@ A collection of query.Support iterator to get data, and directly through the col
  * to the results.
  *
  * ResultSet is a virtual class. Convert it to the corresponding implementation
- * class when used
- * @note When using the tree model and the filter is a global time filter,
- * it should be cast as QDSWithoutTimeGenerator.
- * @note When using the tree model and the filter is not a global time filter,
- * it should be QDSWithTimeGenerator.
- * @note If the query uses the table model, the cast should be TableResultSet
+ * class when used.
+ * @note For a table-model query, the concrete type is TableResultSet.
  */
 class ResultSet {
    public:
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 849f1c000..7e5d6365f 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -39,15 +39,41 @@ class TSDataType(IntEnum):
     BLOB = 10
     STRING = 11
 
+class TSEncoding(IntEnum):
+    """
+    Per-column value encoding accepted by the writer. The comment after each
+    member lists the data types it can be used with.
+    """
+    PLAIN = 0         # all types
+    DICTIONARY = 1    # STRING, TEXT
+    RLE = 2           # INT32, INT64, TIMESTAMP, DATE
+    TS_2DIFF = 4      # INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE
+    GORILLA = 8       # INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE
+    ZIGZAG = 9        # INT32, INT64
+    SPRINTZ = 12      # INT32, INT64, FLOAT, DOUBLE
+
+class Compressor(IntEnum):
+    """
+    Per-column compression accepted by the writer. The default is LZ4.
+    """
+    UNCOMPRESSED = 0
+    SNAPPY = 1
+    GZIP = 2
+    LZO = 3
+    LZ4 = 7
+
 class ColumnCategory(IntEnum):
     """
     Enumeration of column categories in TsFile.
-    TAG: Represents a tag column, used for metadata.
-    FIELD: Represents a field column, used for storing actual data values.
+    TAG: a tag column (part of the device identifier / joint primary key).
+    FIELD: a field column, holding the measured values.
+    ATTRIBUTE / TIME: reserved column roles.
     """
 
     TAG = 0
     FIELD = 1
+    ATTRIBUTE = 2
+    TIME = 3
 
 class ColumnSchema:
     """Defines schema for a table column (name, datatype, category)."""
@@ -60,7 +86,7 @@ class ColumnSchema:
                  category: ColumnCategory = ColumnCategory.FIELD)
 
 class TableSchema:
-    """Schema definition for a table structure."""
+    """Schema definition for a table structure (table model)."""
     
     table_name = None
     columns = None
@@ -95,9 +121,11 @@ class TsFileTableWriter:
     """
     :param path: The path of tsfile, will create if it doesn't exist.
     :param table_schema: describes the schema of the tables want to write.
+    :param memory_threshold: bytes buffered before an automatic flush (default 128MB).
     :return: no return value.
     """
-    def __init__(self, path: str, table_schema: TableSchema)
+    def __init__(self, path: str, table_schema: TableSchema,
+                 memory_threshold: int = 128 * 1024 * 1024)
 
 
     """
@@ -106,13 +134,32 @@ class TsFileTableWriter:
     :return: no return value.
     """
     def write_table(self, tablet: Tablet)
-      
+
+    """
+    Write a pandas DataFrame into the table. Column encoding/compression follow
+    the table schema (or the engine defaults).
+    :param dataframe: the data to write.
+    :return: no return value.
+    """
+    def write_dataframe(self, dataframe: pandas.DataFrame)
+
+    """
+    Flush buffered data to disk.
+    :return: no return value.
+    """
+    def flush(self)
+
     """
     Close TsFileTableWriter and flush data automatically.
     :return: no return value.
     """
     def close(self)
 
+    # Usable as a context manager:
+    #   with TsFileTableWriter(path, schema) as w:
+    #       w.write_table(tablet)
+    def __enter__(self)
+    def __exit__(self, exc_type, exc_val, exc_tb)
 ```
 
 
@@ -140,6 +187,54 @@ class Tablet(object)
     
 ```
 
+### dataframe_to_tsfile
+
+Convenience one-call writer that serializes a pandas DataFrame to a TsFile.
+
+```python
+def dataframe_to_tsfile(dataframe: pd.DataFrame,
+                        file_path: str,
+                        table_name: Optional[str] = None,
+                        time_column: Optional[str] = None,
+                        tag_column: Optional[list[str]] = None)
+    """
+    Write a pandas DataFrame to a TsFile.
+
+    :param dataframe:   the data to write.
+    :param file_path:   destination .tsfile path.
+    :param table_name:  output table name (table model).
+    :param time_column: name of the column to use as the timestamp column.
+    :param tag_column:  names of the columns to treat as TAG columns.
+    """
+```
+
+## Configuration
+
+Global write defaults — including the default per-type encodings, the default
+compression, the time-column encoding/compression, page size, and index
+fan-out — are exposed as a single dictionary. Change them **before** creating a
+writer.
+
+```python
+from tsfile import get_tsfile_config, set_tsfile_config
+from tsfile import TSEncoding, Compressor
+
+cfg = get_tsfile_config()          # -> dict of all config values
+# e.g. cfg["default_compression_type_"], cfg["int64_encoding_type_"],
+#      cfg["page_writer_max_point_num_"], cfg["max_degree_of_index_node_"],
+#      cfg["time_encoding_type_"], cfg["time_compress_type_"], ...
+
+set_tsfile_config({
+    "default_compression_type_": Compressor.LZ4,
+    "int64_encoding_type_": TSEncoding.TS_2DIFF,
+    "page_writer_max_point_num_": 20000,
+})
+```
+
+`set_tsfile_config` validates each value and only updates the keys you pass.
+Encoding/compression values are `TSEncoding` / `Compressor` members; the same
+type-vs-encoding restrictions as the C++ API apply.
+
 ## Read Interface
 
 ### TsFileReader
@@ -299,7 +394,6 @@ def to_dataframe(file_path: str,
        Read data from a TsFile and convert it into a Pandas DataFrame or
        an iterator of DataFrames.
 
-       This function supports both table-model and tree-model TsFiles.
        Users can filter data by table name, column names, time range,
        and maximum number of rows.
 
diff --git a/src/UserGuide/latest/Tools/Tsfile-CLI.md b/src/UserGuide/latest/Tools/Tsfile-CLI.md
new file mode 100644
index 000000000..6a92e4b7b
--- /dev/null
+++ b/src/UserGuide/latest/Tools/Tsfile-CLI.md
@@ -0,0 +1,222 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-cli
+
+`tsfile-cli` is a single, pipe-friendly C++ command-line tool for inspecting
+**and** importing Apache TsFile (`.tsfile`) files from the shell. Read commands print data to **stdout** and
+diagnostics to **stderr**, so they compose with `awk`, `jq`, `sort`, and friends;
+the `write` command imports CSV/TSV into a new `.tsfile`. It is built on the
+public `TsFileReader` and `TsFileTableWriter` APIs and does not modify the
+storage engine.
+
+The source lives under `cpp/tools/` in the
+[apache/tsfile](https://github.com/apache/tsfile) repository.
+
+## Building from source
+
+The CLI is part of the C++ module and is built by default (CMake option
+`BUILD_TOOLS=ON`). The CMake target is `tsfile_cli`; the produced executable is
+named `tsfile-cli`.
+
+**Prerequisites:** a C++11 compiler (GCC / Clang / MSVC) and CMake ≥ 3.11. The
+third-party dependencies (ANTLR4, Snappy, LZ4, LZOKAY, Zlib, GoogleTest) are
+bundled under `cpp/third_party/` and built automatically — no separate install
+step needed.
+
+Choose any one of the following.
+
+**1. Build script (recommended).** From `cpp/`:
+
+```bash
+bash build.sh -t=Debug      # -> cpp/build/Debug/bin/tsfile-cli
+bash build.sh               # Release (default) -> cpp/build/Release/bin/tsfile-cli
+bash build.sh install       # Release build, then run make install
+```
+
+**2. Maven (builds the whole C++ module).** From the repository root:
+
+```bash
+./mvnw clean package -P with-cpp   # -> cpp/target/build/bin/tsfile-cli
+```
+
+**3. Plain CMake.** From `cpp/`:
+
+```bash
+mkdir -p build/Debug && cd build/Debug
+cmake ../.. -DCMAKE_BUILD_TYPE=Debug
+make -j tsfile_cli                 # -> build/Debug/bin/tsfile-cli
+```
+
+> **CMake 4.x note.** The bundled ANTLR4 runtime sets old CMake policies that
+> CMake 4 rejects (`Policy CMP00xx may not be set to OLD behavior`). The reader
+> and CLI do not use ANTLR4, so disable it — `--disable-antlr4` for the build
+> script, or `-DENABLE_ANTLR4=OFF` for plain CMake:
+>
+> ```bash
+> bash build.sh -t=Debug --disable-antlr4
+> ```
+
+Verify the binary:
+
+```bash
+./build/Debug/bin/tsfile-cli --version    # -> tsfile-cli (Apache TsFile C++) <version>
+./build/Debug/bin/tsfile-cli --help
+```
+
+The executable links the `tsfile` shared library built alongside it. To run it
+from anywhere, run it by its full path, or install it with `bash build.sh
+install`, `cmake --install .`, or `make install`. The install step places the
+binary under `<prefix>/bin` and `libtsfile` under `<prefix>/lib`.
+
+## Usage
+
+```text
+tsfile-cli <command> [options] <file.tsfile>
+tsfile-cli --help | --version | help
+```
+
+Exit codes: `0` success, `1` usage/argument error, `2` file open/corrupt,
+`3` query/runtime error.
+
+### Reading
+
+| Command | Description |
+|---|---|
+| `ls` | List devices (tree model) or tables (table model), one name per line |
+| `schema` | Per-series `target, measurement, datatype, encoding, compression` |
+| `meta` | File summary: model, device/table/series counts, time range, file size |
+| `stats` | Per-series `count, start_time, end_time, min, max, first, last, sum` |
+| `count` | Per-series row counts plus a `total` row (from statistics, no page scan) |
+| `head` | First N rows (default 10; use `-n`) |
+| `cat` | All matching rows, streamed (`table` format buffers to align columns) |
+| `sample` | Reproducible reservoir sample (default 10; `-n`, `--seed`) |
+
+The metadata commands (`ls` / `schema` / `meta` / `stats` / `count`) answer most
+questions **without decoding data pages**.
+
+Shared options:
+
+| Option | Meaning |
+|---|---|
+| `-f, --format csv\|tsv\|json\|table` | Output format; defaults to `table` on a TTY, `tsv` when piped |
+| `-d, --device <id>` / `-t, --table <name>` | Scope to one device / table (mutually exclusive) |
+| `-m, --measurements a,b,c` | Column projection (`schema`, `stats`, `count`, `head`, `cat`, `sample`) |
+| `-n, --limit N` / `--offset N` | Max rows / rows to skip (`head`, `cat`; `--offset` not valid for `sample`) |
+| `--start <ms>` / `--end <ms>` | Inclusive epoch-millisecond time range (`head`, `cat`, `sample`) |
+| `--seed N` | Reproducible sampling seed (`sample` only) |
+| `--tag-filter C OP V` / `--tag-between C L U` / `--tag-not-between C L U` | Table TAG predicate for `head`, `cat`, `sample`; `OP` is `eq`, `neq`, `lt`, `lteq`, `gt`, `gteq`, `regexp`, or `not-regexp` |
+| `--no-header` | Omit the header row |
+| `--model tree\|table` | Force the model (otherwise auto-detected) |
+
+`json` output is NDJSON (one object per line; numbers/booleans bare, other values
+quoted, nulls as `null`; non-finite floats — NaN/Inf — become `null`). CSV output
+follows RFC 4180. Timestamps are raw epoch milliseconds. The `table` format
+buffers all rows in memory to align columns, so prefer `csv`/`tsv`/`json` when
+dumping large files.
+
+```bash
+BIN=cpp/build/Debug/bin/tsfile-cli
+$BIN ls -f tsv data.tsfile                          # list tables / devices
+$BIN meta data.tsfile                               # quick file overview
+$BIN count -t table1 -f tsv data.tsfile             # row counts, no page scan
+$BIN cat -t table1 --tag-filter device eq dev_1 -m temp -f tsv data.tsfile
+$BIN cat -m temp,humidity --start 1700000000000 -f csv data.tsfile | head
+$BIN sample -m temp -n 20 --seed 42 -f json data.tsfile | jq .
+```
+
+> For a table-model file, the row commands (`head` / `cat` / `sample`) query the
+> **first** table unless you pass `-t <table>`. `count` covers all tables.
+
+### Writing (import)
+
+`tsfile-cli write` imports CSV/TSV rows into a **new table-model** `.tsfile` (the
+output is overwritten). The first input column is the timestamp (epoch
+milliseconds); the remaining columns are declared explicitly with `--columns` —
+there is no type inference.
+
+Timestamps must be **strictly increasing per device**, where a device is
+identified by its `tag` column values (rows that share the same tags form one
+device's timeline). Rows for different tag combinations may freely interleave and
+reuse timestamps. Out-of-order input is rejected with the offending line number,
+and a failed import leaves no output file behind. `--output` must differ from the
+input file.
+
+```text
+tsfile-cli write --table <name> --columns <spec> -o <out.tsfile> \
+                 [-f csv|tsv] [--no-header] [--header-match] [-v] [<input> | -]
+```
+
+`--columns` is a comma-separated list of `name:TYPE:category`, where `category`
+(case-insensitive) is `tag` or `field` and `TYPE` (case-insensitive) is one of
+`BOOLEAN, INT32, INT64, FLOAT, DOUBLE, STRING, TEXT, TIMESTAMP, DATE, BLOB` — for
+example `--columns "id1:STRING:tag,s1:INT64:field"`. `DATE` cells are written as
+`YYYY-MM-DD`; `TIMESTAMP` cells as epoch milliseconds. Each column is stored with
+the engine's default encoding and compression for its type.
+
+| Option | Meaning |
+|---|---|
+| `--table <name>` | Output table name (lower-cased) |
+| `--columns <spec>` | Ordered data columns (excludes the leading timestamp column) |
+| `-o, --output <path>` | Output `.tsfile` (required; overwritten) |
+| `<input>` / `-` | Input file, or `-` / omitted for stdin |
+| `-f csv\|tsv` | Input delimiter (default csv; `json` / `table` are rejected) |
+| `--no-header` | Input has no header row (default: first line is a header and is skipped) |
+| `--header-match` | Validate header names against `--columns` |
+| `-v, --verbose` | Print `wrote N rows to <out>` to stderr (otherwise silent on success) |
+
+An empty cell is written as null. The command is silent on success (Unix-style);
+pass `-v` for a one-line summary.
+
+```bash
+# round-trip through a pipe
+printf 'time,id1,s1\n0,dev,0\n1,dev,10\n' \
+  | tsfile-cli write --table t1 --columns "id1:STRING:tag,s1:INT64:field" -o out.tsfile -
+tsfile-cli count -f tsv out.tsfile          # -> t1.dev  s1  2
+```
+
+For tree-model writes, JSON input, or programmatic use, use the C++ SDK directly
+— see `cpp/examples/cpp_examples/demo_write.cpp` (`TsFileTableWriter` /
+`TsFileWriter` + `Tablet`).
+
+## Using the skill with an AI assistant
+
+`cpp/tools/skills/tsfile-cli/SKILL.md` is a machine-readable reference that
+teaches AI coding assistants (e.g. Claude Code) how to drive `tsfile-cli`
+correctly. Such assistants auto-discover skills from a `.claude/skills/`
+directory at session start, so "installing" the skill just means placing it
+there — project-level or user-level:
+
+```bash
+# project-level (this repository only)
+mkdir -p .claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md .claude/skills/tsfile-cli/SKILL.md
+
+# or user-level (available in all your projects)
+mkdir -p ~/.claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md ~/.claude/skills/tsfile-cli/SKILL.md
+```
+
+> The installed `SKILL.md` must begin with its YAML front-matter (`--- … ---`)
+> for the assistant to detect it. If discovery fails, delete the leading
+> `<!-- … -->` license block so `---` is the first line.
+
+Start a new assistant session afterward. The skill then activates automatically
+when you ask to inspect or import a `.tsfile`.
diff --git a/src/UserGuide/latest/Tools/Tsfile-Viewer.md b/src/UserGuide/latest/Tools/Tsfile-Viewer.md
new file mode 100644
index 000000000..c4f2a4b7c
--- /dev/null
+++ b/src/UserGuide/latest/Tools/Tsfile-Viewer.md
@@ -0,0 +1,93 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-viewer
+
+[Apache TsFile Viewer](https://github.com/apache/tsfile-viewer) is a web-based
+application for browsing and analyzing TsFile data in your browser. It pairs a
+Spring Boot backend (which reads `.tsfile` files via the Apache TsFile library)
+with a Vue 3 frontend that renders metadata, paginated tables, and interactive
+charts.
+
+- **Repository:** <https://github.com/apache/tsfile-viewer>
+- **License:** Apache-2.0
+
+## Features
+
+- **File browsing and upload** — open `.tsfile` files from the UI.
+- **Metadata display** — schema, devices, and measurements.
+- **Paginated data tables** with filtering by time range, devices, measurements,
+  and value range.
+- **Interactive charts** (ECharts) with multi-series overlay and aggregation.
+- **Both data models** — supports tree-model and table-model TsFiles.
+- **Export** — data as CSV or JSON; charts as PNG or SVG.
+- **Performance** — chunk-level reading and metadata caching.
+
+## Requirements
+
+| Component | Version |
+|---|---|
+| JDK | 17 or 21 (LTS) |
+| Maven | 3.9+ |
+| Node.js | `^20.19.0 \|\| >=22.12.0` |
+| pnpm | latest |
+| Apache TsFile | 2.3.0 (bundled dependency) |
+
+## Get the source
+
+Clone the repository, then build and run it as shown below:
+
+```bash
+git clone https://github.com/apache/tsfile-viewer.git
+cd tsfile-viewer
+```
+
+## Running from source (development)
+
+Run the backend and frontend in two terminals.
+
+**Backend** (Spring Boot):
+
+```bash
+cd backend
+mvn spring-boot:run
+```
+
+**Frontend** (Vue + Vite dev server):
+
+```bash
+cd frontend
+pnpm install
+pnpm dev
+```
+
+Then open the dev UI at <http://localhost:5173/view/>.
+
+## Building and running a production bundle
+
+Build a self-contained distribution, then launch the packaged jar (the frontend
+is served by the backend):
+
+```bash
+./build-dist.sh
+java -jar backend/target/tsfile-viewer-*.jar
+```
+
+Open the app at <http://localhost:8080/view/>.
diff --git a/src/UserGuide/latest/TsFileFormat/TsFile-Format.md b/src/UserGuide/latest/TsFileFormat/TsFile-Format.md
new file mode 100644
index 000000000..c7c69bc01
--- /dev/null
+++ b/src/UserGuide/latest/TsFileFormat/TsFile-Format.md
@@ -0,0 +1,296 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFile Data Format
+
+This page describes the on-disk binary layout of a TsFile. It documents the
+current format version (`0x04`) as implemented by the C++ library, and is
+intended for developers who build tools on top of TsFile, debug files, or
+implement readers/writers in other languages.
+
+> **Notation.** Multi-byte integers are big-endian unless noted otherwise.
+> `varint` / `varuint` are LEB128-style variable-length integers. A *var-string*
+> is a `varuint` length prefix followed by that many UTF-8 bytes.
+
+## 1. Design overview
+
+A TsFile is a self-contained, write-once columnar file for time series. Its
+guiding ideas are:
+
+- **Column-oriented storage.** Each measurement (series) is stored in its own
+  *Chunk*, so a query reads only the columns it needs.
+- **Block-at-a-time encoding + compression.** A Chunk is split into *Pages*;
+  each page is first encoded (e.g. `TS_2DIFF`, `GORILLA`) and then compressed
+  (e.g. `LZ4`, `SNAPPY`), so both temporal and value redundancy are removed.
+- **Embedded statistics.** Every page and chunk carries summary statistics
+  (count / time range / min / max / first / last / sum). Queries with time or
+  value predicates can skip whole pages and chunks without decoding them.
+- **A metadata index at the tail.** A B-tree-like *metadata index* maps each
+  device and measurement to the file offset of its data, so a reader can
+  locate any series with a few seeks instead of scanning the file.
+- **Self-describing schema.** The relational schema (table name, tag and field
+  columns, and each column's type/encoding/compression) is serialized in the
+  file's metadata. See [Data Model](../QuickStart/Data-Model.md).
+
+## 2. File layout
+
+A TsFile is laid out as a header, a data area of one or more **Chunk Groups**, a
+separator, the **metadata** area, and a footer:
+
+```text
+┌───────────────────────────────────────────────┐
+│  Magic  "TsFile"               (6 bytes)        │  ← Head magic
+│  Version 0x04                  (1 byte)         │
+├───────────────────────────────────────────────┤
+│  Chunk Group 1                                  │  ┐
+│  Chunk Group 2                                  │  │ Data area
+│  ...                                            │  │ (one group per device)
+│  Chunk Group N                                  │  ┘
+├───────────────────────────────────────────────┤
+│  Separator marker 0x02         (1 byte)         │
+├───────────────────────────────────────────────┤
+│  TimeseriesIndex records                        │  ┐
+│  Metadata index trees (one per table)           │  │ Metadata area
+│  TsFileMetadata (+ schemas, bloom filter)       │  ┘
+├───────────────────────────────────────────────┤
+│  Metadata size                 (4 bytes)        │  ┐ Footer
+│  Magic  "TsFile"               (6 bytes)        │  ┘ (tail magic)
+└───────────────────────────────────────────────┘
+```
+
+- The file **begins and ends** with the 6-byte ASCII magic string `TsFile`;
+  readers validate both to detect truncation/corruption.
+- The single byte after the head magic is the **version number** (`0x04`).
+- To read a file, a reader seeks to the end, reads the 6-byte tail magic and the
+  preceding 4-byte metadata size, then jumps back to the start of the metadata
+  area and parses it. Data pages are read on demand using offsets found there.
+
+## 3. Data area
+
+### 3.1 Chunk Group
+
+A Chunk Group holds all the chunks of **one device** — a table name plus the
+tag-column values that identify the device. It begins with a 1-byte marker
+followed by the device identifier, then the chunks:
+
+```text
+[ 0x00  Chunk-Group header marker (1 byte) ]
+[ Device ID            (serialized IDeviceID) ]
+[ Chunk 1 ] [ Chunk 2 ] ... [ Chunk K ]
+```
+
+The device ID encodes the table name plus the tag-column values that identify the
+device.
+
+### 3.2 Chunk
+
+A Chunk stores one measurement (column) within a device. It starts with a
+**Chunk header** and is followed by one or more pages:
+
+| Field | Type | Description |
+|---|---|---|
+| chunk type | 1 byte | Marker + alignment bits (see below) |
+| measurement name | var-string | Column / measurement name |
+| data size | varuint | Total byte size of all page data that follows |
+| data type | 1 byte | `TSDataType` (§6.1) |
+| compression | 1 byte | `CompressionType` (§6.3) |
+| encoding | 1 byte | `TSEncoding` (§6.2) |
+
+The chunk-type byte carries the header marker and two alignment mask bits:
+
+| Constant | Value | Meaning |
+|---|---|---|
+| `CHUNK_HEADER_MARKER` | `1` | Chunk with multiple pages |
+| `ONLY_ONE_PAGE_CHUNK_HEADER_MARKER` | `5` | Chunk with a single page (page header omits statistics) |
+| `TIME_COLUMN_MASK` | `0x80` | Time column of an aligned chunk |
+| `VALUE_COLUMN_MASK` | `0x40` | Value column of an aligned chunk |
+
+**Aligned chunks.** The timestamps are written once into a *time chunk*
+(`TIME_COLUMN_MASK`) and each measurement is written into a *value chunk*
+(`VALUE_COLUMN_MASK`) that shares that time column.
+
+### 3.3 Page
+
+A page is the smallest decodable unit. It consists of a **Page header** and the
+encoded+compressed page data:
+
+| Page header field | Type | Description |
+|---|---|---|
+| uncompressed size | varuint | Size of the page body before compression |
+| compressed size | varuint | Size of the page body as stored on disk |
+| statistics | struct | Page statistics (§4) — **present only when the chunk has more than one page** |
+
+A time page holds only the encoded timestamps; a value page holds only the encoded
+values (plus a null bitmap). The body is encoded with the chunk's `encoding`, then
+the result is compressed with the chunk's `compression`.
+
+A reader can therefore: read the page header → if predicates exclude the page's
+statistics, skip `compressed size` bytes → otherwise decompress, then decode.
+
+## 4. Statistics
+
+Statistics are stored per page and aggregated per chunk and per series. The set
+of fields depends on the data type:
+
+| Field | Meaning |
+|---|---|
+| count | Number of data points |
+| start_time / end_time | Minimum / maximum timestamp |
+| min_value / max_value | Minimum / maximum value (numeric & comparable types) |
+| first_value / last_value | First / last value in time order |
+| sum_value | Sum of values (numeric types) |
+
+- Numeric types (`INT32`, `INT64`, `FLOAT`, `DOUBLE`) store min/max/first/last/sum.
+- `BOOLEAN` stores count, time range, first/last (and a count of `true`).
+- `TEXT` / `STRING` store min/max/first/last by lexicographic order.
+- `BLOB` stores only count and the time range.
+
+When a chunk has a single page (`ONLY_ONE_PAGE_CHUNK_HEADER_MARKER`), the page's
+statistics are omitted and the chunk-level statistics in the metadata are used
+instead.
+
+## 5. Metadata area
+
+The metadata area lets a reader find any series without scanning the data.
+
+### 5.1 TimeseriesIndex
+
+For each measurement, a `TimeseriesIndex` records:
+
+- the measurement name and `TSDataType`;
+- a flag byte (single-chunk vs. multi-chunk and which statistic fields are present);
+- the merged statistics across all of the measurement's chunks;
+- the list of `ChunkMetadata` (each pointing to a chunk's file offset).
+
+For aligned series an `AlignedTimeseriesIndex` pairs the time-column index with
+each value-column index.
+
+### 5.2 Metadata index tree
+
+`TimeseriesIndex` records are organized into a B-tree-like **metadata index**
+whose nodes have one of four types:
+
+| Node type | Value | Role |
+|---|---|---|
+| `INTERNAL_DEVICE` | 0 | Internal node over device entries |
+| `LEAF_DEVICE` | 1 | Leaf node pointing at a device's measurement index |
+| `INTERNAL_MEASUREMENT` | 2 | Internal node over measurement entries |
+| `LEAF_MEASUREMENT` | 3 | Leaf node pointing at `TimeseriesIndex` offsets |
+
+Each entry carries a key (device ID or measurement name) and the file offset
+where the next level / the `TimeseriesIndex` begins. The fan-out of the tree is
+bounded by `max_degree_of_index_node` (default **256**), which keeps lookups
+shallow. There is one index tree **per table**.
+
+### 5.3 TsFileMetadata
+
+The `TsFileMetadata` is the root of the metadata area. It contains:
+
+- a map from **table name → metadata index tree** (one entry per table);
+- a map from **table name → TableSchema** (see §7);
+- the `meta_offset` (offset of the separator marker, i.e. the end of the data area);
+- an optional **bloom filter**;
+- a property map (e.g. encryption metadata).
+
+### 5.4 Bloom filter
+
+To answer "does this file contain series X?" cheaply, the metadata may include a
+bloom filter over the device/measurement paths. Key parameters:
+
+- up to `MAX_HASH_FUNC_COUNT = 8` hash functions;
+- minimum bit-set size `MIN_SIZE = 256`;
+- target false-positive rate `tsfile_index_bloom_filter_error_percent` (default **0.05**).
+
+A reader can consult the bloom filter before walking the index tree and return
+"not found" immediately for absent paths.
+
+## 6. Type, encoding, and compression codes
+
+These 1-byte codes appear in chunk headers and schema serialization.
+
+### 6.1 `TSDataType`
+
+| Name | Code | | Name | Code |
+|---|---|---|---|---|
+| BOOLEAN | 0 | | TIMESTAMP | 8 |
+| INT32 | 1 | | DATE | 9 |
+| INT64 | 2 | | BLOB | 10 |
+| FLOAT | 3 | | STRING | 11 |
+| DOUBLE | 4 | | VECTOR | 6 |
+| TEXT | 5 | | | |
+
+### 6.2 `TSEncoding`
+
+| Name | Code | Applicable types |
+|---|---|---|
+| PLAIN | 0 | all types |
+| DICTIONARY | 1 | TEXT, STRING |
+| RLE | 2 | INT32, INT64, TIMESTAMP, DATE |
+| TS_2DIFF | 4 | INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE |
+| GORILLA | 8 | INT32, INT64, TIMESTAMP, DATE, FLOAT, DOUBLE |
+| ZIGZAG | 9 | INT32, INT64 |
+| SPRINTZ | 12 | INT32, INT64, FLOAT, DOUBLE |
+
+> The enum also reserves `DIFF` (3), `BITMAP` (5), `GORILLA_V1` (6),
+> `REGULAR` (7), and `FREQ` (10); these are not produced by the current C++
+> encoder factory.
+
+### 6.3 `CompressionType`
+
+| Name | Code | Notes |
+|---|---|---|
+| UNCOMPRESSED | 0 | No compression |
+| SNAPPY | 1 | Build option `ENABLE_SNAPPY` |
+| GZIP | 2 | Build option `ENABLE_GZIP` |
+| LZO | 3 | Build option `ENABLE_LZOKAY` |
+| LZ4 | 7 | Build option `ENABLE_LZ4` (default compression) |
+
+> Codes `SDT` (4), `PAA` (5), and `PLA` (6) are reserved but not implemented in
+> the C++ library.
+
+## 7. Table schema
+
+The metadata stores one `TableSchema` per table. A serialized `TableSchema` lists,
+for each column: name, `TSDataType`, encoding, compression, an optional property
+map, and the column category (`TAG` / `FIELD` / `ATTRIBUTE` / `TIME`). This is what
+lets a reader reconstruct the relational schema of the file.
+
+Within a device, data is stored as **aligned chunks**: a shared time chunk plus
+one value chunk per field column.
+
+## 8. Default write parameters
+
+The writer's defaults shape how data is split into pages and chunks:
+
+| Parameter | Default | Meaning |
+|---|---|---|
+| page max point count | 10000 | Points per page before a new page is started |
+| page max size | 128 KB | Byte cap per page |
+| chunk group size threshold | 128 MB | In-memory size that triggers a flush to disk |
+| max degree of index node | 256 | Fan-out of the metadata index tree |
+| bloom filter error percent | 0.05 | Target false-positive rate |
+| time column encoding | `TS_2DIFF` | Default encoding for the time column |
+| default value compression | `LZ4` | Default compression for value chunks |
+
+Default per-type value encodings: `BOOLEAN → PLAIN`, `INT32 / INT64 → TS_2DIFF`,
+`FLOAT / DOUBLE → GORILLA`, `TEXT / STRING / BLOB → PLAIN`.
+
+See the [Interface Definitions](../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md)
+for how to override these per column or globally when writing.
diff --git a/src/zh/UserGuide/develop/DataFrame/TsFileDataFrame.md b/src/zh/UserGuide/develop/DataFrame/TsFileDataFrame.md
new file mode 100644
index 000000000..6590c539b
--- /dev/null
+++ b/src/zh/UserGuide/develop/DataFrame/TsFileDataFrame.md
@@ -0,0 +1,271 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFileDataFrame
+
+`TsFileDataFrame` 让你像操作 pandas DataFrame 一样读取一个或多个 TsFile 中的时序数据,
+无需关心底层文件格式与数据加载细节。它是 Python 包的一部分(`pip install tsfile`)。
+
+## 快速上手
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame("table_data/")           # 加载目录下所有 .tsfile
+print(df)                                     # 浏览所有序列(仅元数据)
+
+ts = df["weather.Beijing.humidity"]           # 取一条序列(懒加载句柄)
+window = ts[20:100]                           # 按行号切片 -> np.ndarray
+
+data = df.loc[start:end, [                     # 按时间戳对齐多条序列
+    "weather.Beijing.temperature",
+    "weather.Beijing.humidity",
+]]
+data.values                                   # -> np.ndarray, shape = (N, 2)
+```
+
+## 核心类型
+
+`TsFileDataFrame` 围绕三个核心类型:
+
+- **`TsFileDataFrame`**:入口对象,加载一至多个 TsFile 并提供统一视图。初始化时只扫描元数据,
+  **不读取实际数值**。
+- **`Timeseries`**:单条序列的懒加载句柄,通过 `df[...]` 获得。它携带序列元信息,但在按行号索引前
+  不读取任何数据。
+- **`AlignedTimeseries`**:多条序列在同一时间轴上的对齐结果,通过 `df.loc[...]` 获得,会一次性将
+  指定时间范围内的多条序列读入内存。
+
+### TsFileDataFrame
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `TsFileDataFrame(paths)` | 加载文件 / 文件列表 / 目录 | `TsFileDataFrame` |
+| `len(df)` | 时间序列总数 | `int` |
+| `df.list_timeseries("weather")` | 获取序列名,可按前缀筛选 | `List[str]` |
+| `df["weather.Beijing.humidity"]`、`df[0]`、`df[-1]` | 获取单条序列 | `Timeseries` |
+| `df["city"]` | 获取某元数据列(标签 / `field` / `start_time` / `end_time` / `count`) | `pandas.Series` |
+| `df[0:3]`、`df[[0, 2, 5]]` | 获取子集视图 | `TsFileDataFrame` |
+| `df[df["city"] == "Beijing"]` | 按元数据列过滤 | `TsFileDataFrame` |
+| `df.loc[start:end, series_list]` | 按时间戳对齐查询 | `AlignedTimeseries` |
+| `df.show(max_rows=20)` / `print(df)` | 格式化元数据表格 | — |
+| `df.close()` | 释放文件句柄 | — |
+
+### Timeseries
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `ts.name` | 序列名 | `str` |
+| `len(ts)` | 序列点数 | `int` |
+| `ts.stats` | 序列统计信息 | `dict`(`start_time`、`end_time`、`count`) |
+| `ts[20]` | 单值读取 | `float`(空值为 `None`) |
+| `ts[20:100]` | 行范围切片 | `np.ndarray` |
+| `ts.timestamps` | 时间戳数组 | `np.ndarray` |
+
+### AlignedTimeseries
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `data.timestamps` | 时间戳数组 | `np.ndarray` |
+| `data.values` | 值矩阵 | `np.ndarray`,shape `(N, M)` |
+| `data.series_names` | 序列名列表 | `List[str]` |
+| `data.shape` | 形状 `(N, M)`——N 为时间戳数,M 为序列数 | `tuple` |
+| `len(data)` | 行数 | `int` |
+| `data[0]`、`data[0:10]`、`data[0, 1]` | 行 / 元素索引 | `np.ndarray` / 标量 |
+| `data.show(50)` / `print(data)` | 格式化输出(自动截断) | — |
+
+## 序列路径命名
+
+序列通过一个扁平字符串寻址,由 **表名 + 标签值 + 测点名** 唯一确定:
+
+```text
+{table_name}.{tag_value_1}.{tag_value_2}...{field_column_name}
+```
+
+示例:
+
+- `weather.Beijing.humidity` — 表 `weather`,标签 `Beijing`,测点 `humidity`
+- `sensor.s1.pressure` — 表 `sensor`,标签 `s1`,测点 `pressure`
+
+## 加载
+
+路径可以是单个文件、文件列表或目录:
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame(["data/weather.tsfile", "data/sensor.tsfile"])
+df = TsFileDataFrame("data/")     # 递归查找目录下所有 .tsfile
+print(df)
+```
+
+初始化时只扫描元数据,不读取实际数值。加载多个文件时会并行扫描元数据。
+
+如果多个文件包含 **同名序列**(如按日分片的 `weather.Beijing.humidity`),会自动合并为一条连续序列。
+对于重复时间戳仅保留第一条——这并非预期情况,请在预处理阶段去重,以免造成元数据失真。
+
+### DataFrame 的展示
+
+`print(df)`(以及 `df.show(max_rows=...)`)打印序列元信息,数据量大时头尾截断。表头为:
+
+```text
+index │ table │ <tag1> │ <tag2> │ ... │ field │ start_time │ end_time │ count
+```
+
+对于标签数量不同的设备:标签值按左对齐,较短的在末尾补 `None`。
+
+```text
+TsFileDataFrame(table model, 972 time series, 5 files)
+     table  ps_id                    sn  frac                 field           start_time             end_time  count
+  0    pvf     10  30100194A00234H00572     1                   pac  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+  1    pvf     10  30100194A00234H00572     1    tenmeterswindspeed  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+...
+```
+
+### 关闭
+
+`with` 语句会自动释放文件句柄,也可以手动关闭:
+
+```python
+with TsFileDataFrame("data/") as df:
+    ...                       # 退出后自动关闭
+
+tsdf = TsFileDataFrame("data/")
+tsdf.close()                  # 也可以自己关闭
+```
+
+## 浏览序列
+
+`list_timeseries(path_prefix="")` 列出已加载文件中的序列名,可按前缀筛选;不传参返回全部序列。
+
+```python
+>>> df.list_timeseries("weather")
+['weather.Beijing.humidity', 'weather.Beijing.temperature',
+ 'weather.Shanghai.humidity', 'weather.Shanghai.temperature']
+>>> df.list_timeseries("weather.Beijing")
+['weather.Beijing.humidity', 'weather.Beijing.temperature']
+```
+
+若需查看起止时间、点数等元信息,可打印 DataFrame(或其子集)——见[DataFrame 的展示](#dataframe-的展示)。
+
+## 选取序列
+
+`df[...]` 返回懒加载的 `Timeseries` 句柄(不触发读取),或返回子集视图:
+
+```python
+ts = df["weather.Beijing.humidity"]   # 按名称
+ts = df[0]                            # 按索引(支持负索引)
+
+sub_df = df[0:3]                      # 切片         -> TsFileDataFrame(视图)
+sub_df = df[[0, 2, 5]]                # 整数列表     -> TsFileDataFrame(视图)
+sub_df = df[df["city"] == "Beijing"]  # 按元数据过滤 -> TsFileDataFrame(视图)
+```
+
+```text
+>>> df["weather.Beijing.humidity"]
+Timeseries('weather.Beijing.humidity', count=2880, start=2026-01-27 00:00:00, end=2026-02-05 23:55:00)
+```
+
+序列元信息从缓存读取(无 I/O):
+
+```python
+>>> ts = df["weather.Beijing.humidity"]
+>>> ts.name
+'weather.Beijing.humidity'
+>>> len(ts)
+2880
+>>> ts.stats
+{'start_time': 1769443200000, 'end_time': 1770306900000, 'count': 2880}
+```
+
+## 读取数据
+
+对 `Timeseries` 按行号索引时才触发实际的文件读取(结果会缓存,避免重复读取):
+
+```python
+val = ts[20]            # -> float
+window = ts[20:100]     # -> np.ndarray, shape = (80,)
+last_ten = ts[-10:]     # -> np.ndarray
+sampled = ts[::2]       # -> np.ndarray(步长采样)
+ts.timestamps[20:100]   # -> 对应行号的时间戳, np.ndarray
+```
+
+```text
+>>> ts[20]
+46.1
+>>> ts[20:100]
+array([46.1 , 41.72, 52.94, ..., 76.3 , 84.35])
+>>> ts.timestamps[20:100]
+array([1769449200000, 1769449500000, ..., 1769472900000])
+```
+
+## 多序列对齐查询
+
+当需要多条序列在同一时间轴上严格对齐时,使用 `.loc`:
+
+```python
+data = df.loc[start_time:end_time, [
+    "weather.Beijing.humidity",
+    "weather.Beijing.temperature",
+    "sensor.s1.pressure",
+]]
+```
+
+返回的 `AlignedTimeseries` 将所有序列对齐到时间戳的 **并集**,缺失位置填充 `NaN`:
+
+```python
+data.timestamps    # np.ndarray,毫秒时间戳
+data.values        # np.ndarray, shape = (N, 3)
+data.series_names  # ["weather.Beijing.humidity", ...]
+data.shape         # (N, 3)
+data[0:10]         # 前 10 行, np.ndarray shape = (10, 3)
+data.show(50)      # 最多显示 50 行
+```
+
+序列可按名称或索引指定,并可混用:
+
+```python
+df.loc[start_time:end_time, [0, 1, 4]]
+df.loc[start_time:end_time, [0, "weather.Beijing.temperature", 4]]
+```
+
+```text
+>>> df.loc[1769616000000:1769702100000,
+...        ['weather.Beijing.temperature', 'weather.Beijing.humidity', 'sensor.s2.pressure']]
+AlignedTimeseries(288 rows, 3 series)
+          timestamp  weather.Beijing.temperature  weather.Beijing.humidity  sensor.s2.pressure
+2026-01-29 00:00:00                        29.12                     92.87                 NaN
+2026-01-29 00:05:00                         1.55                     87.34                 NaN
+...
+```
+
+该美化视图仅展示值列;如需读取对齐后的时间戳列,请使用 `df.loc[...].timestamps`。
+
+## 当前已知限制
+
+- **时间戳缓存**:底层 TsFile 读取器目前仅支持时间范围查询,因此加载时会为每条序列缓存完整的时间戳数组,
+  用于行号到时间戳的映射(也用于计算统计信息)。这意味着加载时需要一次全量时间戳扫描(超大文件较慢),
+  且时间戳数组常驻内存(实际数值不缓存)。
+- **对齐开销**:`.loc` 的时间对齐(合并 + 去重 + NaN 填充)在 Python 层完成,对于横跨数千万时间戳的查询
+  可能成为瓶颈。
+
+## 性能特性
+
+- **并行加载**:多文件时使用线程池并行扫描元数据(Worker 数 = `min(文件数, CPU 核数)`)。
+  注意文件数不要超过系统最大文件句柄数限制。
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
index 45db6f3ff..e6f810152 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -32,12 +32,45 @@ typedef enum {
     TS_DATATYPE_FLOAT = 3,
     TS_DATATYPE_DOUBLE = 4,
     TS_DATATYPE_TEXT = 5,
-    TS_DATATYPE_STRING = 11
+    TS_DATATYPE_VECTOR = 6,
+    TS_DATATYPE_TIMESTAMP = 8,
+    TS_DATATYPE_DATE = 9,
+    TS_DATATYPE_BLOB = 10,
+    TS_DATATYPE_STRING = 11,
+    TS_DATATYPE_INVALID = 255
 } TSDataType;
 
-typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+// 值编码(供下文的配置函数使用)。
+typedef enum {
+    TS_ENCODING_PLAIN = 0,
+    TS_ENCODING_DICTIONARY = 1,
+    TS_ENCODING_RLE = 2,
+    TS_ENCODING_TS_2DIFF = 4,
+    TS_ENCODING_GORILLA = 8,
+    TS_ENCODING_ZIGZAG = 9,
+    TS_ENCODING_SPRINTZ = 12,
+    TS_ENCODING_INVALID = 255
+} TSEncoding;
+
+// 按列设置的压缩,默认值为 LZ4。
+typedef enum {
+    TS_COMPRESSION_UNCOMPRESSED = 0,
+    TS_COMPRESSION_SNAPPY = 1,
+    TS_COMPRESSION_GZIP = 2,
+    TS_COMPRESSION_LZO = 3,
+    TS_COMPRESSION_LZ4 = 7,
+    TS_COMPRESSION_INVALID = 255
+} CompressionType;
+
+typedef enum column_category {
+    TAG = 0,
+    FIELD = 1,
+    ATTRIBUTE = 2,
+    TIME = 3
+} ColumnCategory;
 
 // ColumnSchema:表示单个列的模式,包括列名、数据类型和分类。
+// 列的编码/压缩遵循全局默认值(见下文“配置”)。
 typedef struct column_schema {
     char* column_name;
     TSDataType data_type;
@@ -59,6 +92,8 @@ typedef struct result_set_meta_data {
 } ResultSetMetaData;
 ```
 
+> `ColumnSchema` 不携带编码/压缩——它们遵循全局默认值(见[配置](#配置编码与压缩))。
+
 ## 写入接口
 
 ### 创建/关闭 TsFile 写入文件
@@ -250,6 +285,38 @@ ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
 
 
 
+## 配置(编码与压缩)
+
+列按其数据类型的 **全局默认** 编码与压缩存储(`ColumnSchema` 不携带按列的编解码设置)。
+请在创建写入器 *之前* 用下列函数修改这些默认值。
+
+每个 setter 成功返回 `RET_OK`(0),遇到不支持的数据类型/编码或压缩组合返回 `RET_NOT_SUPPORT`(40)。
+
+```C
+/* 按数据类型的默认值编码,以及默认压缩。 */
+int     set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int     set_global_compression(uint8_t compression);
+uint8_t get_datatype_encoding(uint8_t data_type);
+uint8_t get_global_compression();
+
+/* 时间列(时间数据类型固定为 INT64)。 */
+int     set_global_time_encoding(uint8_t encoding);
+int     set_global_time_compression(uint8_t compression);
+uint8_t get_global_time_encoding();
+uint8_t get_global_time_compression();
+```
+
+允许的取值:编码方面,`BOOLEAN` 仅 `PLAIN`;`INT32`/`INT64`/`DATE` 为
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`ZIGZAG`/`RLE`/`SPRINTZ`;`FLOAT`/`DOUBLE` 为
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`SPRINTZ`;`STRING`/`TEXT` 为 `PLAIN`/`DICTIONARY`。
+压缩可取 `UNCOMPRESSED`、`SNAPPY`、`GZIP`、`LZO`、`LZ4`。
+
+```C
+// 例如:所有列均以 LZ4 压缩写入
+ERRNO code = set_global_compression(TS_COMPRESSION_LZ4);
+if (code != RET_OK) { /* 处理不支持的取值 */ }
+```
+
 ## 读取接口
 
 ###  TsFile Reader 创建/关闭
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 494cc34ab..65cf3db2b 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -18,7 +18,67 @@
     under the License.
 
 -->
-# 接口定义 - Cpp
+# 接口定义 - C++
+
+## 数据类型、编码与压缩
+
+下列枚举为读写接口共用。其数值编码同时也是磁盘上存储的取值(参见
+[TsFile 数据格式](../../TsFileFormat/TsFile-Format.md))。
+
+```cpp
+// 支持的测点/列数据类型。
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    TIMESTAMP = 8,
+    DATE = 9,
+    BLOB = 10,
+    STRING = 11,
+};
+
+// 按列设置的编码。各编码适用于哪些类型见下表。
+enum TSEncoding : uint8_t {
+    PLAIN = 0,
+    DICTIONARY = 1,
+    RLE = 2,
+    TS_2DIFF = 4,
+    GORILLA = 8,
+    ZIGZAG = 9,
+    SPRINTZ = 12,
+};
+
+// 按列设置的压缩。SNAPPY/GZIP/LZO/LZ4 取决于构建选项;默认压缩为 LZ4。
+enum CompressionType : uint8_t {
+    UNCOMPRESSED = 0,
+    SNAPPY = 1,
+    GZIP = 2,
+    LZO = 3,
+    LZ4 = 7,
+};
+
+// 表模型中列在表 schema 内的角色。
+enum class ColumnCategory { TAG = 0, FIELD = 1, ATTRIBUTE = 2, TIME = 3 };
+```
+
+各数据类型适用的编码:
+
+| 编码 | 适用类型 |
+|---|---|
+| `PLAIN` | 所有类型 |
+| `DICTIONARY` | `TEXT`、`STRING` |
+| `RLE` | `INT32`、`INT64`、`TIMESTAMP`、`DATE` |
+| `TS_2DIFF` | `INT32`、`INT64`、`TIMESTAMP`、`DATE`、`FLOAT`、`DOUBLE` |
+| `GORILLA` | `INT32`、`INT64`、`TIMESTAMP`、`DATE`、`FLOAT`、`DOUBLE` |
+| `ZIGZAG` | `INT32`、`INT64` |
+| `SPRINTZ` | `INT32`、`INT64`、`FLOAT`、`DOUBLE` |
+
+各类型的默认值编码:`BOOLEAN → PLAIN`、`INT32 / INT64 → TS_2DIFF`、
+`FLOAT / DOUBLE → GORILLA`、`TEXT / STRING / BLOB → PLAIN`。默认压缩为 `LZ4`。
+覆盖方式见[配置编码与压缩](#配置编码与压缩)。
 
 ## 写入接口
 
@@ -113,44 +173,38 @@ class TableSchema {
 struct ColumnSchema {
     std::string column_name_;
     common::TSDataType data_type_;
+    common::CompressionType compression_;
+    common::TSEncoding encoding_;
     ColumnCategory column_category_;
 
-   /**
-     * @brief 使用给定参数构造一个 ColumnSchema 对象。
+    /**
+     * @brief 使用显式的压缩与编码构造 ColumnSchema。
      *
      * @param column_name 列的名称,必须为非空字符串。
-     *                    此名称用于在表中标识该列。
-     * @param data_type 该列的数据类型,例如 INT32、DOUBLE、TEXT 等。
-     *                  数据类型决定了数据的存储与解释方式。
-     * @param column_category 列的类别,用于标识其在模式中的角色或类型,
-     *                        例如 FIELD(字段)、TAG(标签)。
-     *                        如果未指定,默认为 ColumnCategory::FIELD。
-     * @note 调用者有责任确保 `column_name` 非空。
+     * @param data_type 该列的数据类型(INT32、DOUBLE、TEXT 等)。
+     * @param compression 该列 chunk 使用的压缩方式。
+     * @param encoding 该列值使用的编码方式。
+     * @param column_category 列的类别(FIELD、TAG 等),默认为 FIELD。
      */
     ColumnSchema(std::string column_name, common::TSDataType data_type,
-                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
-                                                                           data_type_(data_type),
-                                                                           column_category_(column_category) {
-    }
-};
+                 common::CompressionType compression, common::TSEncoding encoding,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 
-/**
- * @brief Represents the data type of a measurement.
- *
- * This enumeration defines the supported data types for measurements in the system.
- */
-enum TSDataType : uint8_t {
-    BOOLEAN = 0,
-    INT32 = 1,
-    INT64 = 2,
-    FLOAT = 3,
-    DOUBLE = 4,
-    TEXT = 5,
-    STRING = 11
+    /**
+     * @brief 使用引擎对该数据类型的默认编码与压缩构造 ColumnSchema。
+     *
+     * @param column_name 列的名称,必须为非空字符串。
+     * @param data_type 该列的数据类型。
+     * @param column_category 列的类别,默认为 FIELD。
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 };
-
 ```
 
+> `TAG` 列是设备的唯一标识(联合主键),数据类型固定为 `STRING`;`FIELD` 列存储测量值。
+> 在 `ColumnSchema` 上设置的编码与压缩会在写入时作用于该列;双参数构造函数则回退到按类型的默认值。
+
 ### Tablet
 
 
@@ -218,14 +272,52 @@ public:
 };
 ```
 
+### 配置编码与压缩
+
+控制编码与压缩有两种方式。
+
+**1. 按列设置**:在构造 schema 时传入编码与压缩——在 `ColumnSchema` 上设置:
+
+```cpp
+// 将 "temperature" 列以 TS_2DIFF + LZ4 存储。
+common::ColumnSchema col("temperature", common::INT64,
+                         common::LZ4, common::TS_2DIFF,
+                         common::ColumnCategory::FIELD);
+```
+
+**2. 全局默认值**:在创建写入器 *之前* 修改默认值;它们会作用于所有未在 schema 中
+指定自身编码/压缩的列。这些函数位于 `common`/`storage` 命名空间,会校验参数(不支持的组合返回
+`E_NOT_SUPPORT`):
+
+```cpp
+// 按数据类型的默认值编码,以及默认压缩。
+int  common::set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int  common::set_global_compression(uint8_t compression);
+uint8_t common::get_datatype_encoding(uint8_t data_type);
+uint8_t common::get_global_compression();
+
+// 时间列的编码/压缩(数据类型固定为 INT64)。
+int  common::set_global_time_encoding(uint8_t encoding);
+int  common::set_global_time_compression(uint8_t compression);
+
+// page / 索引调优。
+void storage::set_page_max_point_count(uint32_t page_max_point_count);   // 默认 10000
+void storage::set_max_degree_of_index_node(uint32_t max_degree);         // 默认 256
+void storage::set_strict_page_size(bool strict_page_size);               // 默认 true
+```
+
+允许的组合与上文[编码表](#数据类型编码与压缩)一致(例如 `BOOLEAN` 仅 `PLAIN`;
+`STRING`/`TEXT` 为 `PLAIN`/`DICTIONARY`)。时间列编码可取 `TS_2DIFF`、`PLAIN`、`GORILLA`、
+`ZIGZAG`、`RLE`、`SPRINTZ`;压缩可取 `UNCOMPRESSED`、`SNAPPY`、`GZIP`、`LZO`、`LZ4`。
+
 ## 读取接口
 ### Tsfile Reader
 ```cpp
 /**
  * @brief TsFileReader 提供了查询所有以 .tsfile 为后缀的文件的能力。
  *
- * TsFileReader 旨在用于查询 .tsfile 文件,它支持树模型查询和表模型查询,
- * 并支持查询元数据信息,如 TableSchema 和 TimeseriesSchema。
+ * TsFileReader 旨在用于查询 .tsfile 文件,支持表模型查询,
+ * 并支持查询元数据信息,如 TableSchema。
  */
 
 class TsFileReader {
@@ -254,17 +346,6 @@ class TsFileReader {
      * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
      */
     int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
-    /**
-     * @brief 通过路径列表、起始时间和结束时间查询 tsfile,
-     * 本方法使用树模型进行查询。
-     *
-     * @param [in] path_list 路径列表。
-     * @param [in] start_time 起始时间。
-     * @param [in] end_time 结束时间。
-     * @param [out] result_set 查询结果集。
-     */
-    int query(std::vector<std::string> &path_list, int64_t start_time,
-              int64_t end_time, ResultSet *&result_set);
     /**
      * @brief 通过表名、列名、起始时间和结束时间查询 tsfile,
      * 本方法使用表模型进行查询。
@@ -300,26 +381,6 @@ class TsFileReader {
      * @param qds 查询结果集。
      */
     void destroy_query_data_set(ResultSet *qds);
-    ResultSet *read_timeseries(
-        const std::shared_ptr<IDeviceID> &device_id,
-        const std::vector<std::string> &measurement_name);
-    /**
-     * @brief 获取 tsfile 中的所有设备。
-     *
-     * @param table_name 表名。
-     * @return std::vector<std::shared_ptr<IDeviceID>> 设备 ID 列表。
-     */
-    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
-        std::string table_name);
-    /**
-     * @brief 根据设备 ID 和测量名称获取时间序列模式信息。
-     *
-     * @param [in] device_id 设备 ID。
-     * @param [out] result std::vector<MeasurementSchema> 测量模式列表。
-     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
-     */
-    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
-                              std::vector<MeasurementSchema> &result);
     /**
      * @brief 根据表名获取表的模式信息。
      *
@@ -342,9 +403,7 @@ class TsFileReader {
  * @brief ResultSet 是 TsFileReader 的查询结果集,用于访问查询结果。
  *
  * ResultSet 是一个虚类,使用时应转换为相应的实现类。
- * @note 当使用树模型且过滤器是全局时间过滤器时,应转换为 QDSWithoutTimeGenerator。
- * @note 当使用树模型但过滤器不是全局时间过滤器时,应转换为 QDSWithTimeGenerator。
- * @note 如果查询使用的是表模型,则应转换为 TableResultSet。
+ * @note 表模型查询的具体类型为 TableResultSet。
  */
 class ResultSet {
    public:
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 60515bff4..ee0f3402b 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -38,14 +38,39 @@ class TSDataType(IntEnum):
     BLOB = 10
     STRING = 11
 
+class TSEncoding(IntEnum):
+    """
+    写入器支持的按列值编码。每个成员后的注释列出其可用于哪些数据类型。
+    """
+    PLAIN = 0         # 所有类型
+    DICTIONARY = 1    # STRING、TEXT
+    RLE = 2           # INT32、INT64、TIMESTAMP、DATE
+    TS_2DIFF = 4      # INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE
+    GORILLA = 8       # INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE
+    ZIGZAG = 9        # INT32、INT64
+    SPRINTZ = 12      # INT32、INT64、FLOAT、DOUBLE
+
+class Compressor(IntEnum):
+    """
+    写入器支持的按列压缩,默认值为 LZ4。
+    """
+    UNCOMPRESSED = 0
+    SNAPPY = 1
+    GZIP = 2
+    LZO = 3
+    LZ4 = 7
+
 class ColumnCategory(IntEnum):
     """
     TsFile 中的列类别枚举。
-    TAG:表示标签列,用于存储元数据。
-    FIELD:表示测点列,用于存储实际数据值。
+    TAG:标签列(设备标识 / 联合主键的一部分)。
+    FIELD:测点列,存储测量值。
+    ATTRIBUTE / TIME:保留的列角色。
     """
     TAG = 0
     FIELD = 1
+    ATTRIBUTE = 2
+    TIME = 3
 
 class ColumnSchema:
     """定义表中某一列的模式(名称、数据类型、类别)。"""
@@ -58,7 +83,7 @@ class ColumnSchema:
                  category: ColumnCategory = ColumnCategory.FIELD)
 
 class TableSchema:
-    """表结构的模式定义。"""
+    """表结构的模式定义(表模型)。"""
 
     table_name = None
     columns = None
@@ -92,9 +117,11 @@ class TsFileTableWriter:
     """
     :param path: tsfile 文件路径,如果不存在则会创建。
     :param table_schema: 描述要写入表的结构信息。
+    :param memory_threshold: 触发自动刷盘前缓冲的字节数(默认 128MB)。
     :return: 无返回值。
     """
-    def __init__(self, path: str, table_schema: TableSchema)
+    def __init__(self, path: str, table_schema: TableSchema,
+                 memory_threshold: int = 128 * 1024 * 1024)
 
     """
     将一个 Tablet 写入 TsFile 中的表中。
@@ -103,12 +130,30 @@ class TsFileTableWriter:
     """
     def write_table(self, tablet: Tablet)
 
+    """
+    将一个 pandas DataFrame 写入表中。列的编码/压缩遵循表 schema(或引擎默认值)。
+    :param dataframe: 要写入的数据。
+    :return: 无返回值。
+    """
+    def write_dataframe(self, dataframe: pandas.DataFrame)
+
+    """
+    将缓冲数据刷新到磁盘。
+    :return: 无返回值。
+    """
+    def flush(self)
+
     """
     关闭 TsFileTableWriter,并自动刷新数据。
     :return: 无返回值。
     """
     def close(self)
 
+    # 可作为上下文管理器使用:
+    #   with TsFileTableWriter(path, schema) as w:
+    #       w.write_table(tablet)
+    def __enter__(self)
+    def __exit__(self, exc_type, exc_val, exc_tb)
 
 ```
 
@@ -134,6 +179,51 @@ class Tablet(object)
 
 ```
 
+### dataframe_to_tsfile
+
+将 pandas DataFrame 一次性序列化为 TsFile 的便捷函数。
+
+```python
+def dataframe_to_tsfile(dataframe: pd.DataFrame,
+                        file_path: str,
+                        table_name: Optional[str] = None,
+                        time_column: Optional[str] = None,
+                        tag_column: Optional[list[str]] = None)
+    """
+    将 pandas DataFrame 写入 TsFile。
+
+    :param dataframe:   要写入的数据。
+    :param file_path:   目标 .tsfile 路径。
+    :param table_name:  输出表名(表模型)。
+    :param time_column: 用作时间戳列的列名。
+    :param tag_column:  作为 TAG 列处理的列名列表。
+    """
+```
+
+## 配置
+
+全局写入默认值——包括各类型的默认编码、默认压缩、时间列编码/压缩、page 大小、索引扇出等——
+以一个字典暴露。请在创建写入器 **之前** 修改它们。
+
+```python
+from tsfile import get_tsfile_config, set_tsfile_config
+from tsfile import TSEncoding, Compressor
+
+cfg = get_tsfile_config()          # -> 包含所有配置项的 dict
+# 例如 cfg["default_compression_type_"]、cfg["int64_encoding_type_"]、
+#      cfg["page_writer_max_point_num_"]、cfg["max_degree_of_index_node_"]、
+#      cfg["time_encoding_type_"]、cfg["time_compress_type_"] 等。
+
+set_tsfile_config({
+    "default_compression_type_": Compressor.LZ4,
+    "int64_encoding_type_": TSEncoding.TS_2DIFF,
+    "page_writer_max_point_num_": 20000,
+})
+```
+
+`set_tsfile_config` 会校验每个取值,且只更新你传入的键。编码/压缩取值为 `TSEncoding` / `Compressor`
+成员;类型与编码的适配限制同 C++ 接口。
+
 ## 读取接口
 
 ### TsFileReader
@@ -265,6 +355,7 @@ class ResultSet:
 
 ```
 
+
 ### to_dataframe
 
 ```Python
@@ -280,7 +371,6 @@ def to_dataframe(file_path: str,
        从 TsFile 中读取数据,并将其转换为 Pandas DataFrame
        或 DataFrame 迭代器。
 
-       该函数同时支持表模型(table-model)和树模型(tree-model)的 TsFile。
        用户可以通过表名、列名、时间范围以及最大行数对数据进行过滤。
 
        Parameters
@@ -333,4 +423,3 @@ def to_dataframe(file_path: str,
     """
 
 ```
-
diff --git a/src/zh/UserGuide/develop/Tools/Tsfile-CLI.md b/src/zh/UserGuide/develop/Tools/Tsfile-CLI.md
new file mode 100644
index 000000000..94953f9b2
--- /dev/null
+++ b/src/zh/UserGuide/develop/Tools/Tsfile-CLI.md
@@ -0,0 +1,198 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-cli
+
+`tsfile-cli` 是一个单一、对管道友好的 C++ 命令行工具,用于在 shell 中检视 **并** 导入 Apache
+TsFile(`.tsfile`)文件。读取类命令将数据打印到
+**stdout**、诊断信息打印到 **stderr**,因此可与 `awk`、`jq`、`sort` 等组合使用;`write` 命令
+将 CSV/TSV 导入为新的 `.tsfile`。它构建于公开的 `TsFileReader` 与 `TsFileTableWriter` 接口之上,
+不修改存储引擎。
+
+源代码位于 [apache/tsfile](https://github.com/apache/tsfile) 仓库的 `cpp/tools/` 目录下。
+
+## 从源码构建
+
+CLI 是 C++ 模块的一部分,默认构建(CMake 选项 `BUILD_TOOLS=ON`)。CMake 目标为 `tsfile_cli`,
+生成的可执行文件名为 `tsfile-cli`。
+
+**前置条件**:C++11 编译器(GCC / Clang / MSVC)与 CMake ≥ 3.11。第三方依赖(ANTLR4、Snappy、
+LZ4、LZOKAY、Zlib、GoogleTest)已捆绑在 `cpp/third_party/` 下并自动构建,无需单独安装。
+
+以下方式任选其一。
+
+**1. 构建脚本(推荐)**。在 `cpp/` 下:
+
+```bash
+bash build.sh -t=Debug      # -> cpp/build/Debug/bin/tsfile-cli
+bash build.sh               # Release(默认)-> cpp/build/Release/bin/tsfile-cli
+bash build.sh install       # Release 构建,然后执行 make install
+```
+
+**2. Maven(构建整个 C++ 模块)**。在仓库根目录:
+
+```bash
+./mvnw clean package -P with-cpp   # -> cpp/target/build/bin/tsfile-cli
+```
+
+**3. 原生 CMake**。在 `cpp/` 下:
+
+```bash
+mkdir -p build/Debug && cd build/Debug
+cmake ../.. -DCMAKE_BUILD_TYPE=Debug
+make -j tsfile_cli                 # -> build/Debug/bin/tsfile-cli
+```
+
+> **CMake 4.x 提示**:捆绑的 ANTLR4 运行时设置了 CMake 4 拒绝的旧策略
+> (`Policy CMP00xx may not be set to OLD behavior`)。读取器与 CLI 不使用 ANTLR4,可将其关闭——
+> 构建脚本用 `--disable-antlr4`,原生 CMake 用 `-DENABLE_ANTLR4=OFF`:
+>
+> ```bash
+> bash build.sh -t=Debug --disable-antlr4
+> ```
+
+验证二进制:
+
+```bash
+./build/Debug/bin/tsfile-cli --version    # -> tsfile-cli (Apache TsFile C++) <version>
+./build/Debug/bin/tsfile-cli --help
+```
+
+该可执行文件链接随它一起构建的 `tsfile` 共享库。若要在任意位置运行,可用完整路径运行,或通过
+`bash build.sh install`、`cmake --install .`、`make install` 安装。安装步骤会将二进制放入
+`<prefix>/bin`,将 `libtsfile` 放入 `<prefix>/lib`。
+
+## 使用方式
+
+```text
+tsfile-cli <command> [options] <file.tsfile>
+tsfile-cli --help | --version | help
+```
+
+退出码:`0` 成功,`1` 用法/参数错误,`2` 文件打开/损坏,`3` 查询/运行时错误。
+
+### 读取
+
+| 命令 | 说明 |
+|---|---|
+| `ls` | 列出设备(树模型)或表(表模型),每行一个名称 |
+| `schema` | 每序列的 `target, measurement, datatype, encoding, compression` |
+| `meta` | 文件概要:模型、设备/表/序列数、时间范围、文件大小 |
+| `stats` | 每序列的 `count, start_time, end_time, min, max, first, last, sum` |
+| `count` | 每序列行数及一行 `total`(来自统计信息,不扫描 page) |
+| `head` | 前 N 行(默认 10;用 `-n`) |
+| `cat` | 所有匹配行,流式输出(`table` 格式会缓冲以对齐列) |
+| `sample` | 可复现的蓄水池抽样(默认 10;`-n`、`--seed`) |
+
+元数据类命令(`ls` / `schema` / `meta` / `stats` / `count`)**无需解码数据 page** 即可回答大多数问题。
+
+通用选项:
+
+| 选项 | 含义 |
+|---|---|
+| `-f, --format csv\|tsv\|json\|table` | 输出格式;TTY 下默认 `table`,管道下默认 `tsv` |
+| `-d, --device <id>` / `-t, --table <name>` | 限定到一个设备 / 表(互斥) |
+| `-m, --measurements a,b,c` | 列投影(`schema`、`stats`、`count`、`head`、`cat`、`sample`) |
+| `-n, --limit N` / `--offset N` | 最大行数 / 跳过行数(`head`、`cat`;`--offset` 不适用于 `sample`) |
+| `--start <ms>` / `--end <ms>` | 闭区间的毫秒时间范围(`head`、`cat`、`sample`) |
+| `--seed N` | 可复现抽样种子(仅 `sample`) |
+| `--tag-filter C OP V` / `--tag-between C L U` / `--tag-not-between C L U` | `head`、`cat`、`sample` 的表标签谓词;`OP` 为 `eq`、`neq`、`lt`、`lteq`、`gt`、`gteq`、`regexp`、`not-regexp` |
+| `--no-header` | 不输出表头行 |
+| `--model tree\|table` | 强制指定模型(否则自动检测) |
+
+`json` 输出为 NDJSON(每行一个对象;数字/布尔裸输出,其他值加引号,空值为 `null`;非有限浮点数
+——NaN/Inf——变为 `null`)。CSV 输出遵循 RFC 4180。时间戳为原始毫秒时间戳。`table` 格式会在内存中
+缓冲所有行以对齐列,因此导出大文件时优先用 `csv`/`tsv`/`json`。
+
+```bash
+BIN=cpp/build/Debug/bin/tsfile-cli
+$BIN ls -f tsv data.tsfile                          # 列出表 / 设备
+$BIN meta data.tsfile                               # 快速文件概览
+$BIN count -t table1 -f tsv data.tsfile             # 行数,不扫描 page
+$BIN cat -t table1 --tag-filter device eq dev_1 -m temp -f tsv data.tsfile
+$BIN cat -m temp,humidity --start 1700000000000 -f csv data.tsfile | head
+$BIN sample -m temp -n 20 --seed 42 -f json data.tsfile | jq .
+```
+
+> 对于表模型文件,行命令(`head` / `cat` / `sample`)在不指定 `-t <table>` 时只查询 **第一个** 表;
+> `count` 覆盖所有表。
+
+### 写入(导入)
+
+`tsfile-cli write` 将 CSV/TSV 行导入为一个 **新的表模型** `.tsfile`(输出会被覆盖)。输入的第一列是
+时间戳(毫秒);其余列通过 `--columns` 显式声明——不做类型推断。
+
+时间戳必须 **按设备严格递增**,设备由其 `tag` 列取值标识(共享相同标签的行构成同一设备的时间线)。
+不同标签组合的行可自由交错并复用时间戳。乱序输入会被拒绝并报出错行号,导入失败不会留下输出文件。
+`--output` 必须与输入文件不同。
+
+```text
+tsfile-cli write --table <name> --columns <spec> -o <out.tsfile> \
+                 [-f csv|tsv] [--no-header] [--header-match] [-v] [<input> | -]
+```
+
+`--columns` 是逗号分隔的 `name:TYPE:category` 列表,其中 `category`(不区分大小写)为 `tag` 或
+`field`,`TYPE`(不区分大小写)为 `BOOLEAN, INT32, INT64, FLOAT, DOUBLE, STRING, TEXT, TIMESTAMP,
+DATE, BLOB` 之一——例如 `--columns "id1:STRING:tag,s1:INT64:field"`。`DATE` 单元格写作
+`YYYY-MM-DD`,`TIMESTAMP` 单元格为毫秒。每列按其类型的引擎默认编码与压缩存储。
+
+| 选项 | 含义 |
+|---|---|
+| `--table <name>` | 输出表名(会转小写) |
+| `--columns <spec>` | 有序数据列(不含开头的时间戳列) |
+| `-o, --output <path>` | 输出 `.tsfile`(必填;会被覆盖) |
+| `<input>` / `-` | 输入文件,或 `-` / 省略表示 stdin |
+| `-f csv\|tsv` | 输入分隔符(默认 csv;`json` / `table` 被拒绝) |
+| `--no-header` | 输入无表头行(默认首行为表头并跳过) |
+| `--header-match` | 校验表头名是否与 `--columns` 一致 |
+| `-v, --verbose` | 向 stderr 打印 `wrote N rows to <out>`(否则成功时静默) |
+
+空单元格写为 null。成功时静默(Unix 风格),用 `-v` 打印一行摘要。
+
+```bash
+# 通过管道往返
+printf 'time,id1,s1\n0,dev,0\n1,dev,10\n' \
+  | tsfile-cli write --table t1 --columns "id1:STRING:tag,s1:INT64:field" -o out.tsfile -
+tsfile-cli count -f tsv out.tsfile          # -> t1.dev  s1  2
+```
+
+如需树模型写入、JSON 输入或编程式使用,请直接使用 C++ SDK——参见
+`cpp/examples/cpp_examples/demo_write.cpp`(`TsFileTableWriter` / `TsFileWriter` + `Tablet`)。
+
+## 与 AI 助手配合使用 skill
+
+`cpp/tools/skills/tsfile-cli/SKILL.md` 是一份机器可读的参考,用于教 AI 编码助手
+(如 Claude Code)正确驱动 `tsfile-cli`。这类助手在会话开始时会从 `.claude/skills/` 目录自动发现
+skill,所以“安装”即把它放到该目录——项目级或用户级皆可:
+
+```bash
+# 项目级(仅本仓库)
+mkdir -p .claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md .claude/skills/tsfile-cli/SKILL.md
+
+# 或用户级(所有项目可用)
+mkdir -p ~/.claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md ~/.claude/skills/tsfile-cli/SKILL.md
+```
+
+> 安装后的 `SKILL.md` 必须以其 YAML front-matter(`--- … ---`)开头,助手才能识别。若发现失败,
+> 删除开头的 `<!-- … -->` 许可证块,使 `---` 成为第一行。
+
+之后启动新的助手会话。当你请求检视或导入 `.tsfile` 时,该 skill 会自动激活。
diff --git a/src/zh/UserGuide/develop/Tools/Tsfile-Viewer.md b/src/zh/UserGuide/develop/Tools/Tsfile-Viewer.md
new file mode 100644
index 000000000..f613bc84a
--- /dev/null
+++ b/src/zh/UserGuide/develop/Tools/Tsfile-Viewer.md
@@ -0,0 +1,89 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-viewer
+
+[Apache TsFile Viewer](https://github.com/apache/tsfile-viewer) 是一个基于 Web 的应用,
+用于在浏览器中浏览与分析 TsFile 数据。它由一个 Spring Boot 后端(通过 Apache TsFile 库读取
+`.tsfile` 文件)与一个 Vue 3 前端(渲染元数据、分页表格与交互式图表)组成。
+
+- **仓库**:<https://github.com/apache/tsfile-viewer>
+- **许可证**:Apache-2.0
+
+## 功能
+
+- **文件浏览与上传**——在界面中打开 `.tsfile` 文件。
+- **元数据展示**——schema、设备与测点。
+- **分页数据表格**,支持按时间范围、设备、测点、数值范围过滤。
+- **交互式图表**(ECharts),支持多序列叠加与聚合。
+- **支持两种数据模型**——树模型与表模型 TsFile。
+- **导出**——数据导出为 CSV 或 JSON;图表导出为 PNG 或 SVG。
+- **性能**——chunk 级读取与元数据缓存。
+
+## 环境要求
+
+| 组件 | 版本 |
+|---|---|
+| JDK | 17 或 21(LTS) |
+| Maven | 3.9+ |
+| Node.js | `^20.19.0 \|\| >=22.12.0` |
+| pnpm | 最新版 |
+| Apache TsFile | 2.3.0(捆绑依赖) |
+
+## 获取源码
+
+克隆仓库,然后按下文构建并运行:
+
+```bash
+git clone https://github.com/apache/tsfile-viewer.git
+cd tsfile-viewer
+```
+
+## 从源码运行(开发模式)
+
+在两个终端分别运行后端与前端。
+
+**后端**(Spring Boot):
+
+```bash
+cd backend
+mvn spring-boot:run
+```
+
+**前端**(Vue + Vite 开发服务器):
+
+```bash
+cd frontend
+pnpm install
+pnpm dev
+```
+
+然后打开开发界面 <http://localhost:5173/view/>。
+
+## 构建并运行生产包
+
+构建一个自包含的发行包,再启动打好的 jar(前端由后端提供服务):
+
+```bash
+./build-dist.sh
+java -jar backend/target/tsfile-viewer-*.jar
+```
+
+打开应用 <http://localhost:8080/view/>。
diff --git a/src/zh/UserGuide/develop/TsFileFormat/TsFile-Format.md b/src/zh/UserGuide/develop/TsFileFormat/TsFile-Format.md
new file mode 100644
index 000000000..8fe32d0be
--- /dev/null
+++ b/src/zh/UserGuide/develop/TsFileFormat/TsFile-Format.md
@@ -0,0 +1,266 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFile 数据格式
+
+本页描述 TsFile 的磁盘二进制布局,对应当前格式版本(`0x04`,由 C++ 实现)。它面向在
+TsFile 之上开发工具、排查文件问题,或用其他语言实现读写器的开发者。
+
+> **约定**:除特别说明外,多字节整数采用大端序。`varint` / `varuint` 为 LEB128
+> 风格的变长整数;*变长字符串* 为一个 `varuint` 长度前缀加相应字节数的 UTF-8 内容。
+
+## 1. 设计概览
+
+TsFile 是一种自包含、一次写入的时序列式文件。其核心设计思想为:
+
+- **列式存储**:每个测点(序列)存储在各自的 *Chunk* 中,查询只需读取所需的列。
+- **按块编码 + 压缩**:一个 Chunk 划分为若干 *Page*;每个 page 先编码(如 `TS_2DIFF`、
+  `GORILLA`)再压缩(如 `LZ4`、`SNAPPY`),同时消除时间与数值上的冗余。
+- **内嵌统计信息**:每个 page 与 chunk 都携带汇总统计(点数 / 时间范围 / 最小 / 最大 /
+  首值 / 末值 / 求和)。带时间或数值谓词的查询可在不解码的情况下跳过整个 page 和 chunk。
+- **文件尾部的元数据索引**:类 B 树的 *元数据索引* 将每个设备与测点映射到其数据的文件
+  偏移,读取器只需少量寻道即可定位任意序列,无需扫描整个文件。
+- **自描述 schema**:关系模式(表名、标签列与测点列,以及每列的类型/编码/压缩)序列化在
+  文件的元数据中。参见[数据模型](../QuickStart/Data-Model.md)。
+
+## 2. 文件布局
+
+TsFile 由文件头、一个或多个 **Chunk Group** 组成的数据区、分隔符、**元数据区** 和文件尾组成:
+
+```text
+┌───────────────────────────────────────────────┐
+│  魔数 "TsFile"                 (6 字节)         │  ← 头部魔数
+│  版本号 0x04                   (1 字节)         │
+├───────────────────────────────────────────────┤
+│  Chunk Group 1                                  │  ┐
+│  Chunk Group 2                                  │  │ 数据区
+│  ...                                            │  │ (每个设备一个 group)
+│  Chunk Group N                                  │  ┘
+├───────────────────────────────────────────────┤
+│  分隔符 0x02                   (1 字节)         │
+├───────────────────────────────────────────────┤
+│  TimeseriesIndex 记录                           │  ┐
+│  元数据索引树(按表 / 设备)                     │  │ 元数据区
+│  TsFileMetadata(含 schema、布隆过滤器)         │  ┘
+├───────────────────────────────────────────────┤
+│  元数据大小                    (4 字节)         │  ┐ 文件尾
+│  魔数 "TsFile"                 (6 字节)         │  ┘ (尾部魔数)
+└───────────────────────────────────────────────┘
+```
+
+- 文件 **开头与结尾** 均为 6 字节 ASCII 魔数 `TsFile`,读取器校验两者以检测截断/损坏。
+- 头部魔数之后的 1 个字节是 **版本号**(`0x04`)。
+- 读取文件时,读取器先定位到文件末尾,读取 6 字节尾部魔数及其前面的 4 字节元数据大小,
+  再跳回元数据区起始处解析;数据 page 则按其中记录的偏移按需读取。
+
+## 3. 数据区
+
+### 3.1 Chunk Group
+
+一个 Chunk Group 保存 **一个设备**(表名加上标识该设备的标签列取值)的全部 chunk。
+它以 1 字节标记开头,随后是设备标识,再是各个 chunk:
+
+```text
+[ 0x00  Chunk Group 头部标记 (1 字节) ]
+[ 设备 ID             (序列化的 IDeviceID) ]
+[ Chunk 1 ] [ Chunk 2 ] ... [ Chunk K ]
+```
+
+设备 ID 编码了表名以及标识该设备的标签列取值。
+
+### 3.2 Chunk
+
+一个 Chunk 存储某设备内的一个测点(列)。它以 **Chunk 头** 开头,后接一个或多个 page:
+
+| 字段 | 类型 | 说明 |
+|---|---|---|
+| chunk 类型 | 1 字节 | 标记 + 对齐位(见下) |
+| 测点名 | 变长字符串 | 列 / 测点名 |
+| 数据大小 | varuint | 后续所有 page 数据的总字节数 |
+| 数据类型 | 1 字节 | `TSDataType`(§6.1) |
+| 压缩 | 1 字节 | `CompressionType`(§6.3) |
+| 编码 | 1 字节 | `TSEncoding`(§6.2) |
+
+chunk 类型字节携带头部标记与两个对齐掩码位:
+
+| 常量 | 取值 | 含义 |
+|---|---|---|
+| `CHUNK_HEADER_MARKER` | `1` | 多 page 的 chunk |
+| `ONLY_ONE_PAGE_CHUNK_HEADER_MARKER` | `5` | 单 page 的 chunk(page 头省略统计信息) |
+| `TIME_COLUMN_MASK` | `0x80` | 对齐 chunk 的时间列 |
+| `VALUE_COLUMN_MASK` | `0x40` | 对齐 chunk 的值列 |
+
+**对齐 chunk**:时间戳只写入一次到 *时间 chunk*(`TIME_COLUMN_MASK`),每个测点写入共享该
+时间列的 *值 chunk*(`VALUE_COLUMN_MASK`)。
+
+### 3.3 Page
+
+Page 是最小可解码单元,由 **Page 头** 与编码+压缩后的 page 数据组成:
+
+| Page 头字段 | 类型 | 说明 |
+|---|---|---|
+| 未压缩大小 | varuint | 压缩前的 page 体大小 |
+| 压缩后大小 | varuint | 磁盘上存储的 page 体大小 |
+| 统计信息 | 结构体 | page 统计(§4)——**仅当 chunk 含多于一个 page 时存在** |
+
+时间 page 只存编码后的时间戳,值 page 只存编码后的值(外加空值位图)。page 体先用 chunk 的
+`encoding` 编码,再用 chunk 的 `compression` 压缩。
+
+因此读取器可以:读取 page 头 → 若谓词排除了该 page 的统计 → 跳过 `压缩后大小` 字节;
+否则解压、再解码。
+
+## 4. 统计信息
+
+统计信息按 page 存储,并按 chunk、按序列汇总。字段随数据类型而定:
+
+| 字段 | 含义 |
+|---|---|
+| count | 数据点数 |
+| start_time / end_time | 最小 / 最大时间戳 |
+| min_value / max_value | 最小 / 最大值(数值及可比较类型) |
+| first_value / last_value | 时间序上的首值 / 末值 |
+| sum_value | 数值求和(数值类型) |
+
+- 数值类型(`INT32`、`INT64`、`FLOAT`、`DOUBLE`)存 min/max/first/last/sum。
+- `BOOLEAN` 存点数、时间范围、首值/末值(以及 `true` 的计数)。
+- `TEXT` / `STRING` 按字典序存 min/max/first/last。
+- `BLOB` 仅存点数与时间范围。
+
+当 chunk 仅含单个 page(`ONLY_ONE_PAGE_CHUNK_HEADER_MARKER`)时,省略该 page 的统计信息,
+改用元数据中 chunk 级的统计。
+
+## 5. 元数据区
+
+元数据区让读取器无需扫描数据即可定位任意序列。
+
+### 5.1 TimeseriesIndex
+
+每个测点对应一条 `TimeseriesIndex`,记录:
+
+- 测点名与 `TSDataType`;
+- 一个标志字节(单 chunk / 多 chunk,以及哪些统计字段存在);
+- 该测点所有 chunk 合并后的统计;
+- `ChunkMetadata` 列表(每个指向一个 chunk 的文件偏移)。
+
+对齐序列使用 `AlignedTimeseriesIndex`,将时间列索引与各值列索引配对。
+
+### 5.2 元数据索引树
+
+`TimeseriesIndex` 记录被组织成一棵类 B 树的 **元数据索引**,节点有四种类型:
+
+| 节点类型 | 取值 | 作用 |
+|---|---|---|
+| `INTERNAL_DEVICE` | 0 | 设备条目之上的内部节点 |
+| `LEAF_DEVICE` | 1 | 指向某设备测点索引的叶子节点 |
+| `INTERNAL_MEASUREMENT` | 2 | 测点条目之上的内部节点 |
+| `LEAF_MEASUREMENT` | 3 | 指向 `TimeseriesIndex` 偏移的叶子节点 |
+
+每个条目携带一个键(设备 ID 或测点名)与下一层 / `TimeseriesIndex` 起始的文件偏移。树的扇出
+受 `max_degree_of_index_node`(默认 **256**)限制,使查找保持浅层。每个表对应一棵索引树。
+
+### 5.3 TsFileMetadata
+
+`TsFileMetadata` 是元数据区的根,包含:
+
+- **表名 → 元数据索引树** 的映射(每表一项);
+- **表名 → TableSchema** 的映射(见 §7);
+- `meta_offset`(分隔符标记的偏移,即数据区结束位置);
+- 可选的 **布隆过滤器**;
+- 属性映射(如加密元数据)。
+
+### 5.4 布隆过滤器
+
+为低成本回答“此文件是否包含序列 X?”,元数据可包含一个覆盖设备/测点路径的布隆过滤器。关键参数:
+
+- 至多 `MAX_HASH_FUNC_COUNT = 8` 个哈希函数;
+- 最小位集大小 `MIN_SIZE = 256`;
+- 目标误判率 `tsfile_index_bloom_filter_error_percent`(默认 **0.05**)。
+
+读取器可在遍历索引树前先查布隆过滤器,对不存在的路径立即返回“未找到”。
+
+## 6. 类型、编码与压缩编码值
+
+以下 1 字节编码值出现在 chunk 头与 schema 序列化中。
+
+### 6.1 `TSDataType`
+
+| 名称 | 编码 | | 名称 | 编码 |
+|---|---|---|---|---|
+| BOOLEAN | 0 | | TIMESTAMP | 8 |
+| INT32 | 1 | | DATE | 9 |
+| INT64 | 2 | | BLOB | 10 |
+| FLOAT | 3 | | STRING | 11 |
+| DOUBLE | 4 | | VECTOR | 6 |
+| TEXT | 5 | | | |
+
+### 6.2 `TSEncoding`
+
+| 名称 | 编码 | 适用类型 |
+|---|---|---|
+| PLAIN | 0 | 所有类型 |
+| DICTIONARY | 1 | TEXT、STRING |
+| RLE | 2 | INT32、INT64、TIMESTAMP、DATE |
+| TS_2DIFF | 4 | INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE |
+| GORILLA | 8 | INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE |
+| ZIGZAG | 9 | INT32、INT64 |
+| SPRINTZ | 12 | INT32、INT64、FLOAT、DOUBLE |
+
+> 枚举还保留 `DIFF`(3)、`BITMAP`(5)、`GORILLA_V1`(6)、`REGULAR`(7)、`FREQ`(10),
+> 当前 C++ 编码器工厂不会产出这些编码。
+
+### 6.3 `CompressionType`
+
+| 名称 | 编码 | 说明 |
+|---|---|---|
+| UNCOMPRESSED | 0 | 不压缩 |
+| SNAPPY | 1 | 构建选项 `ENABLE_SNAPPY` |
+| GZIP | 2 | 构建选项 `ENABLE_GZIP` |
+| LZO | 3 | 构建选项 `ENABLE_LZOKAY` |
+| LZ4 | 7 | 构建选项 `ENABLE_LZ4`(默认压缩) |
+
+> 编码值 `SDT`(4)、`PAA`(5)、`PLA`(6) 已保留,但 C++ 库未实现。
+
+## 7. 表 schema
+
+元数据为每个表存储一份 `TableSchema`。序列化后的 `TableSchema` 为每列列出:列名、`TSDataType`、
+编码、压缩、可选属性映射,以及列类别(`TAG` / `FIELD` / `ATTRIBUTE` / `TIME`)。读取器据此重建
+文件的关系模式。
+
+设备内的数据以 **对齐 chunk** 存储:一个共享的时间 chunk 加上每个测点列一个值 chunk。
+
+## 8. 默认写入参数
+
+写入器的默认参数决定数据如何切分为 page 与 chunk:
+
+| 参数 | 默认值 | 含义 |
+|---|---|---|
+| page 最大点数 | 10000 | 开新 page 前每个 page 的点数 |
+| page 最大大小 | 128 KB | 每个 page 的字节上限 |
+| chunk group 大小阈值 | 128 MB | 触发刷盘的内存占用大小 |
+| 索引节点最大扇出 | 256 | 元数据索引树的扇出 |
+| 布隆过滤器误判率 | 0.05 | 目标误判率 |
+| 时间列编码 | `TS_2DIFF` | 时间列的默认编码 |
+| 默认值压缩 | `LZ4` | 值 chunk 的默认压缩 |
+
+各类型的默认值编码:`BOOLEAN → PLAIN`、`INT32 / INT64 → TS_2DIFF`、
+`FLOAT / DOUBLE → GORILLA`、`TEXT / STRING / BLOB → PLAIN`。
+
+写入时如何按列或全局覆盖这些默认值,参见
+[接口定义](../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md)。
diff --git a/src/zh/UserGuide/latest/DataFrame/TsFileDataFrame.md b/src/zh/UserGuide/latest/DataFrame/TsFileDataFrame.md
new file mode 100644
index 000000000..6590c539b
--- /dev/null
+++ b/src/zh/UserGuide/latest/DataFrame/TsFileDataFrame.md
@@ -0,0 +1,271 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFileDataFrame
+
+`TsFileDataFrame` 让你像操作 pandas DataFrame 一样读取一个或多个 TsFile 中的时序数据,
+无需关心底层文件格式与数据加载细节。它是 Python 包的一部分(`pip install tsfile`)。
+
+## 快速上手
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame("table_data/")           # 加载目录下所有 .tsfile
+print(df)                                     # 浏览所有序列(仅元数据)
+
+ts = df["weather.Beijing.humidity"]           # 取一条序列(懒加载句柄)
+window = ts[20:100]                           # 按行号切片 -> np.ndarray
+
+data = df.loc[start:end, [                     # 按时间戳对齐多条序列
+    "weather.Beijing.temperature",
+    "weather.Beijing.humidity",
+]]
+data.values                                   # -> np.ndarray, shape = (N, 2)
+```
+
+## 核心类型
+
+`TsFileDataFrame` 围绕三个核心类型:
+
+- **`TsFileDataFrame`**:入口对象,加载一至多个 TsFile 并提供统一视图。初始化时只扫描元数据,
+  **不读取实际数值**。
+- **`Timeseries`**:单条序列的懒加载句柄,通过 `df[...]` 获得。它携带序列元信息,但在按行号索引前
+  不读取任何数据。
+- **`AlignedTimeseries`**:多条序列在同一时间轴上的对齐结果,通过 `df.loc[...]` 获得,会一次性将
+  指定时间范围内的多条序列读入内存。
+
+### TsFileDataFrame
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `TsFileDataFrame(paths)` | 加载文件 / 文件列表 / 目录 | `TsFileDataFrame` |
+| `len(df)` | 时间序列总数 | `int` |
+| `df.list_timeseries("weather")` | 获取序列名,可按前缀筛选 | `List[str]` |
+| `df["weather.Beijing.humidity"]`、`df[0]`、`df[-1]` | 获取单条序列 | `Timeseries` |
+| `df["city"]` | 获取某元数据列(标签 / `field` / `start_time` / `end_time` / `count`) | `pandas.Series` |
+| `df[0:3]`、`df[[0, 2, 5]]` | 获取子集视图 | `TsFileDataFrame` |
+| `df[df["city"] == "Beijing"]` | 按元数据列过滤 | `TsFileDataFrame` |
+| `df.loc[start:end, series_list]` | 按时间戳对齐查询 | `AlignedTimeseries` |
+| `df.show(max_rows=20)` / `print(df)` | 格式化元数据表格 | — |
+| `df.close()` | 释放文件句柄 | — |
+
+### Timeseries
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `ts.name` | 序列名 | `str` |
+| `len(ts)` | 序列点数 | `int` |
+| `ts.stats` | 序列统计信息 | `dict`(`start_time`、`end_time`、`count`) |
+| `ts[20]` | 单值读取 | `float`(空值为 `None`) |
+| `ts[20:100]` | 行范围切片 | `np.ndarray` |
+| `ts.timestamps` | 时间戳数组 | `np.ndarray` |
+
+### AlignedTimeseries
+
+| 示例 | 操作 | 返回类型 |
+|---|---|---|
+| `data.timestamps` | 时间戳数组 | `np.ndarray` |
+| `data.values` | 值矩阵 | `np.ndarray`,shape `(N, M)` |
+| `data.series_names` | 序列名列表 | `List[str]` |
+| `data.shape` | 形状 `(N, M)`——N 为时间戳数,M 为序列数 | `tuple` |
+| `len(data)` | 行数 | `int` |
+| `data[0]`、`data[0:10]`、`data[0, 1]` | 行 / 元素索引 | `np.ndarray` / 标量 |
+| `data.show(50)` / `print(data)` | 格式化输出(自动截断) | — |
+
+## 序列路径命名
+
+序列通过一个扁平字符串寻址,由 **表名 + 标签值 + 测点名** 唯一确定:
+
+```text
+{table_name}.{tag_value_1}.{tag_value_2}...{field_column_name}
+```
+
+示例:
+
+- `weather.Beijing.humidity` — 表 `weather`,标签 `Beijing`,测点 `humidity`
+- `sensor.s1.pressure` — 表 `sensor`,标签 `s1`,测点 `pressure`
+
+## 加载
+
+路径可以是单个文件、文件列表或目录:
+
+```python
+from tsfile import TsFileDataFrame
+
+df = TsFileDataFrame(["data/weather.tsfile", "data/sensor.tsfile"])
+df = TsFileDataFrame("data/")     # 递归查找目录下所有 .tsfile
+print(df)
+```
+
+初始化时只扫描元数据,不读取实际数值。加载多个文件时会并行扫描元数据。
+
+如果多个文件包含 **同名序列**(如按日分片的 `weather.Beijing.humidity`),会自动合并为一条连续序列。
+对于重复时间戳仅保留第一条——这并非预期情况,请在预处理阶段去重,以免造成元数据失真。
+
+### DataFrame 的展示
+
+`print(df)`(以及 `df.show(max_rows=...)`)打印序列元信息,数据量大时头尾截断。表头为:
+
+```text
+index │ table │ <tag1> │ <tag2> │ ... │ field │ start_time │ end_time │ count
+```
+
+对于标签数量不同的设备:标签值按左对齐,较短的在末尾补 `None`。
+
+```text
+TsFileDataFrame(table model, 972 time series, 5 files)
+     table  ps_id                    sn  frac                 field           start_time             end_time  count
+  0    pvf     10  30100194A00234H00572     1                   pac  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+  1    pvf     10  30100194A00234H00572     1    tenmeterswindspeed  2024-04-02 00:00:00  2024-10-28 23:45:00  20160
+...
+```
+
+### 关闭
+
+`with` 语句会自动释放文件句柄,也可以手动关闭:
+
+```python
+with TsFileDataFrame("data/") as df:
+    ...                       # 退出后自动关闭
+
+tsdf = TsFileDataFrame("data/")
+tsdf.close()                  # 也可以自己关闭
+```
+
+## 浏览序列
+
+`list_timeseries(path_prefix="")` 列出已加载文件中的序列名,可按前缀筛选;不传参返回全部序列。
+
+```python
+>>> df.list_timeseries("weather")
+['weather.Beijing.humidity', 'weather.Beijing.temperature',
+ 'weather.Shanghai.humidity', 'weather.Shanghai.temperature']
+>>> df.list_timeseries("weather.Beijing")
+['weather.Beijing.humidity', 'weather.Beijing.temperature']
+```
+
+若需查看起止时间、点数等元信息,可打印 DataFrame(或其子集)——见[DataFrame 的展示](#dataframe-的展示)。
+
+## 选取序列
+
+`df[...]` 返回懒加载的 `Timeseries` 句柄(不触发读取),或返回子集视图:
+
+```python
+ts = df["weather.Beijing.humidity"]   # 按名称
+ts = df[0]                            # 按索引(支持负索引)
+
+sub_df = df[0:3]                      # 切片         -> TsFileDataFrame(视图)
+sub_df = df[[0, 2, 5]]                # 整数列表     -> TsFileDataFrame(视图)
+sub_df = df[df["city"] == "Beijing"]  # 按元数据过滤 -> TsFileDataFrame(视图)
+```
+
+```text
+>>> df["weather.Beijing.humidity"]
+Timeseries('weather.Beijing.humidity', count=2880, start=2026-01-27 00:00:00, end=2026-02-05 23:55:00)
+```
+
+序列元信息从缓存读取(无 I/O):
+
+```python
+>>> ts = df["weather.Beijing.humidity"]
+>>> ts.name
+'weather.Beijing.humidity'
+>>> len(ts)
+2880
+>>> ts.stats
+{'start_time': 1769443200000, 'end_time': 1770306900000, 'count': 2880}
+```
+
+## 读取数据
+
+对 `Timeseries` 按行号索引时才触发实际的文件读取(结果会缓存,避免重复读取):
+
+```python
+val = ts[20]            # -> float
+window = ts[20:100]     # -> np.ndarray, shape = (80,)
+last_ten = ts[-10:]     # -> np.ndarray
+sampled = ts[::2]       # -> np.ndarray(步长采样)
+ts.timestamps[20:100]   # -> 对应行号的时间戳, np.ndarray
+```
+
+```text
+>>> ts[20]
+46.1
+>>> ts[20:100]
+array([46.1 , 41.72, 52.94, ..., 76.3 , 84.35])
+>>> ts.timestamps[20:100]
+array([1769449200000, 1769449500000, ..., 1769472900000])
+```
+
+## 多序列对齐查询
+
+当需要多条序列在同一时间轴上严格对齐时,使用 `.loc`:
+
+```python
+data = df.loc[start_time:end_time, [
+    "weather.Beijing.humidity",
+    "weather.Beijing.temperature",
+    "sensor.s1.pressure",
+]]
+```
+
+返回的 `AlignedTimeseries` 将所有序列对齐到时间戳的 **并集**,缺失位置填充 `NaN`:
+
+```python
+data.timestamps    # np.ndarray,毫秒时间戳
+data.values        # np.ndarray, shape = (N, 3)
+data.series_names  # ["weather.Beijing.humidity", ...]
+data.shape         # (N, 3)
+data[0:10]         # 前 10 行, np.ndarray shape = (10, 3)
+data.show(50)      # 最多显示 50 行
+```
+
+序列可按名称或索引指定,并可混用:
+
+```python
+df.loc[start_time:end_time, [0, 1, 4]]
+df.loc[start_time:end_time, [0, "weather.Beijing.temperature", 4]]
+```
+
+```text
+>>> df.loc[1769616000000:1769702100000,
+...        ['weather.Beijing.temperature', 'weather.Beijing.humidity', 'sensor.s2.pressure']]
+AlignedTimeseries(288 rows, 3 series)
+          timestamp  weather.Beijing.temperature  weather.Beijing.humidity  sensor.s2.pressure
+2026-01-29 00:00:00                        29.12                     92.87                 NaN
+2026-01-29 00:05:00                         1.55                     87.34                 NaN
+...
+```
+
+该美化视图仅展示值列;如需读取对齐后的时间戳列,请使用 `df.loc[...].timestamps`。
+
+## 当前已知限制
+
+- **时间戳缓存**:底层 TsFile 读取器目前仅支持时间范围查询,因此加载时会为每条序列缓存完整的时间戳数组,
+  用于行号到时间戳的映射(也用于计算统计信息)。这意味着加载时需要一次全量时间戳扫描(超大文件较慢),
+  且时间戳数组常驻内存(实际数值不缓存)。
+- **对齐开销**:`.loc` 的时间对齐(合并 + 去重 + NaN 填充)在 Python 层完成,对于横跨数千万时间戳的查询
+  可能成为瓶颈。
+
+## 性能特性
+
+- **并行加载**:多文件时使用线程池并行扫描元数据(Worker 数 = `min(文件数, CPU 核数)`)。
+  注意文件数不要超过系统最大文件句柄数限制。
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
index 45db6f3ff..e6f810152 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -32,12 +32,45 @@ typedef enum {
     TS_DATATYPE_FLOAT = 3,
     TS_DATATYPE_DOUBLE = 4,
     TS_DATATYPE_TEXT = 5,
-    TS_DATATYPE_STRING = 11
+    TS_DATATYPE_VECTOR = 6,
+    TS_DATATYPE_TIMESTAMP = 8,
+    TS_DATATYPE_DATE = 9,
+    TS_DATATYPE_BLOB = 10,
+    TS_DATATYPE_STRING = 11,
+    TS_DATATYPE_INVALID = 255
 } TSDataType;
 
-typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+// 值编码(供下文的配置函数使用)。
+typedef enum {
+    TS_ENCODING_PLAIN = 0,
+    TS_ENCODING_DICTIONARY = 1,
+    TS_ENCODING_RLE = 2,
+    TS_ENCODING_TS_2DIFF = 4,
+    TS_ENCODING_GORILLA = 8,
+    TS_ENCODING_ZIGZAG = 9,
+    TS_ENCODING_SPRINTZ = 12,
+    TS_ENCODING_INVALID = 255
+} TSEncoding;
+
+// 按列设置的压缩,默认值为 LZ4。
+typedef enum {
+    TS_COMPRESSION_UNCOMPRESSED = 0,
+    TS_COMPRESSION_SNAPPY = 1,
+    TS_COMPRESSION_GZIP = 2,
+    TS_COMPRESSION_LZO = 3,
+    TS_COMPRESSION_LZ4 = 7,
+    TS_COMPRESSION_INVALID = 255
+} CompressionType;
+
+typedef enum column_category {
+    TAG = 0,
+    FIELD = 1,
+    ATTRIBUTE = 2,
+    TIME = 3
+} ColumnCategory;
 
 // ColumnSchema:表示单个列的模式,包括列名、数据类型和分类。
+// 列的编码/压缩遵循全局默认值(见下文“配置”)。
 typedef struct column_schema {
     char* column_name;
     TSDataType data_type;
@@ -59,6 +92,8 @@ typedef struct result_set_meta_data {
 } ResultSetMetaData;
 ```
 
+> `ColumnSchema` 不携带编码/压缩——它们遵循全局默认值(见[配置](#配置编码与压缩))。
+
 ## 写入接口
 
 ### 创建/关闭 TsFile 写入文件
@@ -250,6 +285,38 @@ ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
 
 
 
+## 配置(编码与压缩)
+
+列按其数据类型的 **全局默认** 编码与压缩存储(`ColumnSchema` 不携带按列的编解码设置)。
+请在创建写入器 *之前* 用下列函数修改这些默认值。
+
+每个 setter 成功返回 `RET_OK`(0),遇到不支持的数据类型/编码或压缩组合返回 `RET_NOT_SUPPORT`(40)。
+
+```C
+/* 按数据类型的默认值编码,以及默认压缩。 */
+int     set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int     set_global_compression(uint8_t compression);
+uint8_t get_datatype_encoding(uint8_t data_type);
+uint8_t get_global_compression();
+
+/* 时间列(时间数据类型固定为 INT64)。 */
+int     set_global_time_encoding(uint8_t encoding);
+int     set_global_time_compression(uint8_t compression);
+uint8_t get_global_time_encoding();
+uint8_t get_global_time_compression();
+```
+
+允许的取值:编码方面,`BOOLEAN` 仅 `PLAIN`;`INT32`/`INT64`/`DATE` 为
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`ZIGZAG`/`RLE`/`SPRINTZ`;`FLOAT`/`DOUBLE` 为
+`PLAIN`/`TS_2DIFF`/`GORILLA`/`SPRINTZ`;`STRING`/`TEXT` 为 `PLAIN`/`DICTIONARY`。
+压缩可取 `UNCOMPRESSED`、`SNAPPY`、`GZIP`、`LZO`、`LZ4`。
+
+```C
+// 例如:所有列均以 LZ4 压缩写入
+ERRNO code = set_global_compression(TS_COMPRESSION_LZ4);
+if (code != RET_OK) { /* 处理不支持的取值 */ }
+```
+
 ## 读取接口
 
 ###  TsFile Reader 创建/关闭
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index a652c81d4..65cf3db2b 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -20,6 +20,66 @@
 -->
 # 接口定义 - C++
 
+## 数据类型、编码与压缩
+
+下列枚举为读写接口共用。其数值编码同时也是磁盘上存储的取值(参见
+[TsFile 数据格式](../../TsFileFormat/TsFile-Format.md))。
+
+```cpp
+// 支持的测点/列数据类型。
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    TIMESTAMP = 8,
+    DATE = 9,
+    BLOB = 10,
+    STRING = 11,
+};
+
+// 按列设置的编码。各编码适用于哪些类型见下表。
+enum TSEncoding : uint8_t {
+    PLAIN = 0,
+    DICTIONARY = 1,
+    RLE = 2,
+    TS_2DIFF = 4,
+    GORILLA = 8,
+    ZIGZAG = 9,
+    SPRINTZ = 12,
+};
+
+// 按列设置的压缩。SNAPPY/GZIP/LZO/LZ4 取决于构建选项;默认压缩为 LZ4。
+enum CompressionType : uint8_t {
+    UNCOMPRESSED = 0,
+    SNAPPY = 1,
+    GZIP = 2,
+    LZO = 3,
+    LZ4 = 7,
+};
+
+// 表模型中列在表 schema 内的角色。
+enum class ColumnCategory { TAG = 0, FIELD = 1, ATTRIBUTE = 2, TIME = 3 };
+```
+
+各数据类型适用的编码:
+
+| 编码 | 适用类型 |
+|---|---|
+| `PLAIN` | 所有类型 |
+| `DICTIONARY` | `TEXT`、`STRING` |
+| `RLE` | `INT32`、`INT64`、`TIMESTAMP`、`DATE` |
+| `TS_2DIFF` | `INT32`、`INT64`、`TIMESTAMP`、`DATE`、`FLOAT`、`DOUBLE` |
+| `GORILLA` | `INT32`、`INT64`、`TIMESTAMP`、`DATE`、`FLOAT`、`DOUBLE` |
+| `ZIGZAG` | `INT32`、`INT64` |
+| `SPRINTZ` | `INT32`、`INT64`、`FLOAT`、`DOUBLE` |
+
+各类型的默认值编码:`BOOLEAN → PLAIN`、`INT32 / INT64 → TS_2DIFF`、
+`FLOAT / DOUBLE → GORILLA`、`TEXT / STRING / BLOB → PLAIN`。默认压缩为 `LZ4`。
+覆盖方式见[配置编码与压缩](#配置编码与压缩)。
+
 ## 写入接口
 
 ### TsFileTableWriter
@@ -113,44 +173,38 @@ class TableSchema {
 struct ColumnSchema {
     std::string column_name_;
     common::TSDataType data_type_;
+    common::CompressionType compression_;
+    common::TSEncoding encoding_;
     ColumnCategory column_category_;
 
-   /**
-     * @brief 使用给定参数构造一个 ColumnSchema 对象。
+    /**
+     * @brief 使用显式的压缩与编码构造 ColumnSchema。
      *
      * @param column_name 列的名称,必须为非空字符串。
-     *                    此名称用于在表中标识该列。
-     * @param data_type 该列的数据类型,例如 INT32、DOUBLE、TEXT 等。
-     *                  数据类型决定了数据的存储与解释方式。
-     * @param column_category 列的类别,用于标识其在模式中的角色或类型,
-     *                        例如 FIELD(字段)、TAG(标签)。
-     *                        如果未指定,默认为 ColumnCategory::FIELD。
-     * @note 调用者有责任确保 `column_name` 非空。
+     * @param data_type 该列的数据类型(INT32、DOUBLE、TEXT 等)。
+     * @param compression 该列 chunk 使用的压缩方式。
+     * @param encoding 该列值使用的编码方式。
+     * @param column_category 列的类别(FIELD、TAG 等),默认为 FIELD。
      */
     ColumnSchema(std::string column_name, common::TSDataType data_type,
-                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
-                                                                           data_type_(data_type),
-                                                                           column_category_(column_category) {
-    }
-};
+                 common::CompressionType compression, common::TSEncoding encoding,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 
-/**
- * @brief Represents the data type of a measurement.
- *
- * This enumeration defines the supported data types for measurements in the system.
- */
-enum TSDataType : uint8_t {
-    BOOLEAN = 0,
-    INT32 = 1,
-    INT64 = 2,
-    FLOAT = 3,
-    DOUBLE = 4,
-    TEXT = 5,
-    STRING = 11
+    /**
+     * @brief 使用引擎对该数据类型的默认编码与压缩构造 ColumnSchema。
+     *
+     * @param column_name 列的名称,必须为非空字符串。
+     * @param data_type 该列的数据类型。
+     * @param column_category 列的类别,默认为 FIELD。
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD);
 };
-
 ```
 
+> `TAG` 列是设备的唯一标识(联合主键),数据类型固定为 `STRING`;`FIELD` 列存储测量值。
+> 在 `ColumnSchema` 上设置的编码与压缩会在写入时作用于该列;双参数构造函数则回退到按类型的默认值。
+
 ### Tablet
 
 
@@ -218,14 +272,52 @@ public:
 };
 ```
 
+### 配置编码与压缩
+
+控制编码与压缩有两种方式。
+
+**1. 按列设置**:在构造 schema 时传入编码与压缩——在 `ColumnSchema` 上设置:
+
+```cpp
+// 将 "temperature" 列以 TS_2DIFF + LZ4 存储。
+common::ColumnSchema col("temperature", common::INT64,
+                         common::LZ4, common::TS_2DIFF,
+                         common::ColumnCategory::FIELD);
+```
+
+**2. 全局默认值**:在创建写入器 *之前* 修改默认值;它们会作用于所有未在 schema 中
+指定自身编码/压缩的列。这些函数位于 `common`/`storage` 命名空间,会校验参数(不支持的组合返回
+`E_NOT_SUPPORT`):
+
+```cpp
+// 按数据类型的默认值编码,以及默认压缩。
+int  common::set_datatype_encoding(uint8_t data_type, uint8_t encoding);
+int  common::set_global_compression(uint8_t compression);
+uint8_t common::get_datatype_encoding(uint8_t data_type);
+uint8_t common::get_global_compression();
+
+// 时间列的编码/压缩(数据类型固定为 INT64)。
+int  common::set_global_time_encoding(uint8_t encoding);
+int  common::set_global_time_compression(uint8_t compression);
+
+// page / 索引调优。
+void storage::set_page_max_point_count(uint32_t page_max_point_count);   // 默认 10000
+void storage::set_max_degree_of_index_node(uint32_t max_degree);         // 默认 256
+void storage::set_strict_page_size(bool strict_page_size);               // 默认 true
+```
+
+允许的组合与上文[编码表](#数据类型编码与压缩)一致(例如 `BOOLEAN` 仅 `PLAIN`;
+`STRING`/`TEXT` 为 `PLAIN`/`DICTIONARY`)。时间列编码可取 `TS_2DIFF`、`PLAIN`、`GORILLA`、
+`ZIGZAG`、`RLE`、`SPRINTZ`;压缩可取 `UNCOMPRESSED`、`SNAPPY`、`GZIP`、`LZO`、`LZ4`。
+
 ## 读取接口
 ### Tsfile Reader
 ```cpp
 /**
  * @brief TsFileReader 提供了查询所有以 .tsfile 为后缀的文件的能力。
  *
- * TsFileReader 旨在用于查询 .tsfile 文件,它支持树模型查询和表模型查询,
- * 并支持查询元数据信息,如 TableSchema 和 TimeseriesSchema。
+ * TsFileReader 旨在用于查询 .tsfile 文件,支持表模型查询,
+ * 并支持查询元数据信息,如 TableSchema。
  */
 
 class TsFileReader {
@@ -254,17 +346,6 @@ class TsFileReader {
      * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
      */
     int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
-    /**
-     * @brief 通过路径列表、起始时间和结束时间查询 tsfile,
-     * 本方法使用树模型进行查询。
-     *
-     * @param [in] path_list 路径列表。
-     * @param [in] start_time 起始时间。
-     * @param [in] end_time 结束时间。
-     * @param [out] result_set 查询结果集。
-     */
-    int query(std::vector<std::string> &path_list, int64_t start_time,
-              int64_t end_time, ResultSet *&result_set);
     /**
      * @brief 通过表名、列名、起始时间和结束时间查询 tsfile,
      * 本方法使用表模型进行查询。
@@ -300,26 +381,6 @@ class TsFileReader {
      * @param qds 查询结果集。
      */
     void destroy_query_data_set(ResultSet *qds);
-    ResultSet *read_timeseries(
-        const std::shared_ptr<IDeviceID> &device_id,
-        const std::vector<std::string> &measurement_name);
-    /**
-     * @brief 获取 tsfile 中的所有设备。
-     *
-     * @param table_name 表名。
-     * @return std::vector<std::shared_ptr<IDeviceID>> 设备 ID 列表。
-     */
-    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
-        std::string table_name);
-    /**
-     * @brief 根据设备 ID 和测量名称获取时间序列模式信息。
-     *
-     * @param [in] device_id 设备 ID。
-     * @param [out] result std::vector<MeasurementSchema> 测量模式列表。
-     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
-     */
-    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
-                              std::vector<MeasurementSchema> &result);
     /**
      * @brief 根据表名获取表的模式信息。
      *
@@ -342,9 +403,7 @@ class TsFileReader {
  * @brief ResultSet 是 TsFileReader 的查询结果集,用于访问查询结果。
  *
  * ResultSet 是一个虚类,使用时应转换为相应的实现类。
- * @note 当使用树模型且过滤器是全局时间过滤器时,应转换为 QDSWithoutTimeGenerator。
- * @note 当使用树模型但过滤器不是全局时间过滤器时,应转换为 QDSWithTimeGenerator。
- * @note 如果查询使用的是表模型,则应转换为 TableResultSet。
+ * @note 表模型查询的具体类型为 TableResultSet。
  */
 class ResultSet {
    public:
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 08a4b2f6c..ee0f3402b 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -38,14 +38,39 @@ class TSDataType(IntEnum):
     BLOB = 10
     STRING = 11
 
+class TSEncoding(IntEnum):
+    """
+    写入器支持的按列值编码。每个成员后的注释列出其可用于哪些数据类型。
+    """
+    PLAIN = 0         # 所有类型
+    DICTIONARY = 1    # STRING、TEXT
+    RLE = 2           # INT32、INT64、TIMESTAMP、DATE
+    TS_2DIFF = 4      # INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE
+    GORILLA = 8       # INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE
+    ZIGZAG = 9        # INT32、INT64
+    SPRINTZ = 12      # INT32、INT64、FLOAT、DOUBLE
+
+class Compressor(IntEnum):
+    """
+    写入器支持的按列压缩,默认值为 LZ4。
+    """
+    UNCOMPRESSED = 0
+    SNAPPY = 1
+    GZIP = 2
+    LZO = 3
+    LZ4 = 7
+
 class ColumnCategory(IntEnum):
     """
     TsFile 中的列类别枚举。
-    TAG:表示标签列,用于存储元数据。
-    FIELD:表示测点列,用于存储实际数据值。
+    TAG:标签列(设备标识 / 联合主键的一部分)。
+    FIELD:测点列,存储测量值。
+    ATTRIBUTE / TIME:保留的列角色。
     """
     TAG = 0
     FIELD = 1
+    ATTRIBUTE = 2
+    TIME = 3
 
 class ColumnSchema:
     """定义表中某一列的模式(名称、数据类型、类别)。"""
@@ -58,7 +83,7 @@ class ColumnSchema:
                  category: ColumnCategory = ColumnCategory.FIELD)
 
 class TableSchema:
-    """表结构的模式定义。"""
+    """表结构的模式定义(表模型)。"""
 
     table_name = None
     columns = None
@@ -92,9 +117,11 @@ class TsFileTableWriter:
     """
     :param path: tsfile 文件路径,如果不存在则会创建。
     :param table_schema: 描述要写入表的结构信息。
+    :param memory_threshold: 触发自动刷盘前缓冲的字节数(默认 128MB)。
     :return: 无返回值。
     """
-    def __init__(self, path: str, table_schema: TableSchema)
+    def __init__(self, path: str, table_schema: TableSchema,
+                 memory_threshold: int = 128 * 1024 * 1024)
 
     """
     将一个 Tablet 写入 TsFile 中的表中。
@@ -103,12 +130,30 @@ class TsFileTableWriter:
     """
     def write_table(self, tablet: Tablet)
 
+    """
+    将一个 pandas DataFrame 写入表中。列的编码/压缩遵循表 schema(或引擎默认值)。
+    :param dataframe: 要写入的数据。
+    :return: 无返回值。
+    """
+    def write_dataframe(self, dataframe: pandas.DataFrame)
+
+    """
+    将缓冲数据刷新到磁盘。
+    :return: 无返回值。
+    """
+    def flush(self)
+
     """
     关闭 TsFileTableWriter,并自动刷新数据。
     :return: 无返回值。
     """
     def close(self)
 
+    # 可作为上下文管理器使用:
+    #   with TsFileTableWriter(path, schema) as w:
+    #       w.write_table(tablet)
+    def __enter__(self)
+    def __exit__(self, exc_type, exc_val, exc_tb)
 
 ```
 
@@ -134,6 +179,51 @@ class Tablet(object)
 
 ```
 
+### dataframe_to_tsfile
+
+将 pandas DataFrame 一次性序列化为 TsFile 的便捷函数。
+
+```python
+def dataframe_to_tsfile(dataframe: pd.DataFrame,
+                        file_path: str,
+                        table_name: Optional[str] = None,
+                        time_column: Optional[str] = None,
+                        tag_column: Optional[list[str]] = None)
+    """
+    将 pandas DataFrame 写入 TsFile。
+
+    :param dataframe:   要写入的数据。
+    :param file_path:   目标 .tsfile 路径。
+    :param table_name:  输出表名(表模型)。
+    :param time_column: 用作时间戳列的列名。
+    :param tag_column:  作为 TAG 列处理的列名列表。
+    """
+```
+
+## 配置
+
+全局写入默认值——包括各类型的默认编码、默认压缩、时间列编码/压缩、page 大小、索引扇出等——
+以一个字典暴露。请在创建写入器 **之前** 修改它们。
+
+```python
+from tsfile import get_tsfile_config, set_tsfile_config
+from tsfile import TSEncoding, Compressor
+
+cfg = get_tsfile_config()          # -> 包含所有配置项的 dict
+# 例如 cfg["default_compression_type_"]、cfg["int64_encoding_type_"]、
+#      cfg["page_writer_max_point_num_"]、cfg["max_degree_of_index_node_"]、
+#      cfg["time_encoding_type_"]、cfg["time_compress_type_"] 等。
+
+set_tsfile_config({
+    "default_compression_type_": Compressor.LZ4,
+    "int64_encoding_type_": TSEncoding.TS_2DIFF,
+    "page_writer_max_point_num_": 20000,
+})
+```
+
+`set_tsfile_config` 会校验每个取值,且只更新你传入的键。编码/压缩取值为 `TSEncoding` / `Compressor`
+成员;类型与编码的适配限制同 C++ 接口。
+
 ## 读取接口
 
 ### TsFileReader
@@ -281,7 +371,6 @@ def to_dataframe(file_path: str,
        从 TsFile 中读取数据,并将其转换为 Pandas DataFrame
        或 DataFrame 迭代器。
 
-       该函数同时支持表模型(table-model)和树模型(tree-model)的 TsFile。
        用户可以通过表名、列名、时间范围以及最大行数对数据进行过滤。
 
        Parameters
diff --git a/src/zh/UserGuide/latest/Tools/Tsfile-CLI.md b/src/zh/UserGuide/latest/Tools/Tsfile-CLI.md
new file mode 100644
index 000000000..94953f9b2
--- /dev/null
+++ b/src/zh/UserGuide/latest/Tools/Tsfile-CLI.md
@@ -0,0 +1,198 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-cli
+
+`tsfile-cli` 是一个单一、对管道友好的 C++ 命令行工具,用于在 shell 中检视 **并** 导入 Apache
+TsFile(`.tsfile`)文件。读取类命令将数据打印到
+**stdout**、诊断信息打印到 **stderr**,因此可与 `awk`、`jq`、`sort` 等组合使用;`write` 命令
+将 CSV/TSV 导入为新的 `.tsfile`。它构建于公开的 `TsFileReader` 与 `TsFileTableWriter` 接口之上,
+不修改存储引擎。
+
+源代码位于 [apache/tsfile](https://github.com/apache/tsfile) 仓库的 `cpp/tools/` 目录下。
+
+## 从源码构建
+
+CLI 是 C++ 模块的一部分,默认构建(CMake 选项 `BUILD_TOOLS=ON`)。CMake 目标为 `tsfile_cli`,
+生成的可执行文件名为 `tsfile-cli`。
+
+**前置条件**:C++11 编译器(GCC / Clang / MSVC)与 CMake ≥ 3.11。第三方依赖(ANTLR4、Snappy、
+LZ4、LZOKAY、Zlib、GoogleTest)已捆绑在 `cpp/third_party/` 下并自动构建,无需单独安装。
+
+以下方式任选其一。
+
+**1. 构建脚本(推荐)**。在 `cpp/` 下:
+
+```bash
+bash build.sh -t=Debug      # -> cpp/build/Debug/bin/tsfile-cli
+bash build.sh               # Release(默认)-> cpp/build/Release/bin/tsfile-cli
+bash build.sh install       # Release 构建,然后执行 make install
+```
+
+**2. Maven(构建整个 C++ 模块)**。在仓库根目录:
+
+```bash
+./mvnw clean package -P with-cpp   # -> cpp/target/build/bin/tsfile-cli
+```
+
+**3. 原生 CMake**。在 `cpp/` 下:
+
+```bash
+mkdir -p build/Debug && cd build/Debug
+cmake ../.. -DCMAKE_BUILD_TYPE=Debug
+make -j tsfile_cli                 # -> build/Debug/bin/tsfile-cli
+```
+
+> **CMake 4.x 提示**:捆绑的 ANTLR4 运行时设置了 CMake 4 拒绝的旧策略
+> (`Policy CMP00xx may not be set to OLD behavior`)。读取器与 CLI 不使用 ANTLR4,可将其关闭——
+> 构建脚本用 `--disable-antlr4`,原生 CMake 用 `-DENABLE_ANTLR4=OFF`:
+>
+> ```bash
+> bash build.sh -t=Debug --disable-antlr4
+> ```
+
+验证二进制:
+
+```bash
+./build/Debug/bin/tsfile-cli --version    # -> tsfile-cli (Apache TsFile C++) <version>
+./build/Debug/bin/tsfile-cli --help
+```
+
+该可执行文件链接随它一起构建的 `tsfile` 共享库。若要在任意位置运行,可用完整路径运行,或通过
+`bash build.sh install`、`cmake --install .`、`make install` 安装。安装步骤会将二进制放入
+`<prefix>/bin`,将 `libtsfile` 放入 `<prefix>/lib`。
+
+## 使用方式
+
+```text
+tsfile-cli <command> [options] <file.tsfile>
+tsfile-cli --help | --version | help
+```
+
+退出码:`0` 成功,`1` 用法/参数错误,`2` 文件打开/损坏,`3` 查询/运行时错误。
+
+### 读取
+
+| 命令 | 说明 |
+|---|---|
+| `ls` | 列出设备(树模型)或表(表模型),每行一个名称 |
+| `schema` | 每序列的 `target, measurement, datatype, encoding, compression` |
+| `meta` | 文件概要:模型、设备/表/序列数、时间范围、文件大小 |
+| `stats` | 每序列的 `count, start_time, end_time, min, max, first, last, sum` |
+| `count` | 每序列行数及一行 `total`(来自统计信息,不扫描 page) |
+| `head` | 前 N 行(默认 10;用 `-n`) |
+| `cat` | 所有匹配行,流式输出(`table` 格式会缓冲以对齐列) |
+| `sample` | 可复现的蓄水池抽样(默认 10;`-n`、`--seed`) |
+
+元数据类命令(`ls` / `schema` / `meta` / `stats` / `count`)**无需解码数据 page** 即可回答大多数问题。
+
+通用选项:
+
+| 选项 | 含义 |
+|---|---|
+| `-f, --format csv\|tsv\|json\|table` | 输出格式;TTY 下默认 `table`,管道下默认 `tsv` |
+| `-d, --device <id>` / `-t, --table <name>` | 限定到一个设备 / 表(互斥) |
+| `-m, --measurements a,b,c` | 列投影(`schema`、`stats`、`count`、`head`、`cat`、`sample`) |
+| `-n, --limit N` / `--offset N` | 最大行数 / 跳过行数(`head`、`cat`;`--offset` 不适用于 `sample`) |
+| `--start <ms>` / `--end <ms>` | 闭区间的毫秒时间范围(`head`、`cat`、`sample`) |
+| `--seed N` | 可复现抽样种子(仅 `sample`) |
+| `--tag-filter C OP V` / `--tag-between C L U` / `--tag-not-between C L U` | `head`、`cat`、`sample` 的表标签谓词;`OP` 为 `eq`、`neq`、`lt`、`lteq`、`gt`、`gteq`、`regexp`、`not-regexp` |
+| `--no-header` | 不输出表头行 |
+| `--model tree\|table` | 强制指定模型(否则自动检测) |
+
+`json` 输出为 NDJSON(每行一个对象;数字/布尔裸输出,其他值加引号,空值为 `null`;非有限浮点数
+——NaN/Inf——变为 `null`)。CSV 输出遵循 RFC 4180。时间戳为原始毫秒时间戳。`table` 格式会在内存中
+缓冲所有行以对齐列,因此导出大文件时优先用 `csv`/`tsv`/`json`。
+
+```bash
+BIN=cpp/build/Debug/bin/tsfile-cli
+$BIN ls -f tsv data.tsfile                          # 列出表 / 设备
+$BIN meta data.tsfile                               # 快速文件概览
+$BIN count -t table1 -f tsv data.tsfile             # 行数,不扫描 page
+$BIN cat -t table1 --tag-filter device eq dev_1 -m temp -f tsv data.tsfile
+$BIN cat -m temp,humidity --start 1700000000000 -f csv data.tsfile | head
+$BIN sample -m temp -n 20 --seed 42 -f json data.tsfile | jq .
+```
+
+> 对于表模型文件,行命令(`head` / `cat` / `sample`)在不指定 `-t <table>` 时只查询 **第一个** 表;
+> `count` 覆盖所有表。
+
+### 写入(导入)
+
+`tsfile-cli write` 将 CSV/TSV 行导入为一个 **新的表模型** `.tsfile`(输出会被覆盖)。输入的第一列是
+时间戳(毫秒);其余列通过 `--columns` 显式声明——不做类型推断。
+
+时间戳必须 **按设备严格递增**,设备由其 `tag` 列取值标识(共享相同标签的行构成同一设备的时间线)。
+不同标签组合的行可自由交错并复用时间戳。乱序输入会被拒绝并报出错行号,导入失败不会留下输出文件。
+`--output` 必须与输入文件不同。
+
+```text
+tsfile-cli write --table <name> --columns <spec> -o <out.tsfile> \
+                 [-f csv|tsv] [--no-header] [--header-match] [-v] [<input> | -]
+```
+
+`--columns` 是逗号分隔的 `name:TYPE:category` 列表,其中 `category`(不区分大小写)为 `tag` 或
+`field`,`TYPE`(不区分大小写)为 `BOOLEAN, INT32, INT64, FLOAT, DOUBLE, STRING, TEXT, TIMESTAMP,
+DATE, BLOB` 之一——例如 `--columns "id1:STRING:tag,s1:INT64:field"`。`DATE` 单元格写作
+`YYYY-MM-DD`,`TIMESTAMP` 单元格为毫秒。每列按其类型的引擎默认编码与压缩存储。
+
+| 选项 | 含义 |
+|---|---|
+| `--table <name>` | 输出表名(会转小写) |
+| `--columns <spec>` | 有序数据列(不含开头的时间戳列) |
+| `-o, --output <path>` | 输出 `.tsfile`(必填;会被覆盖) |
+| `<input>` / `-` | 输入文件,或 `-` / 省略表示 stdin |
+| `-f csv\|tsv` | 输入分隔符(默认 csv;`json` / `table` 被拒绝) |
+| `--no-header` | 输入无表头行(默认首行为表头并跳过) |
+| `--header-match` | 校验表头名是否与 `--columns` 一致 |
+| `-v, --verbose` | 向 stderr 打印 `wrote N rows to <out>`(否则成功时静默) |
+
+空单元格写为 null。成功时静默(Unix 风格),用 `-v` 打印一行摘要。
+
+```bash
+# 通过管道往返
+printf 'time,id1,s1\n0,dev,0\n1,dev,10\n' \
+  | tsfile-cli write --table t1 --columns "id1:STRING:tag,s1:INT64:field" -o out.tsfile -
+tsfile-cli count -f tsv out.tsfile          # -> t1.dev  s1  2
+```
+
+如需树模型写入、JSON 输入或编程式使用,请直接使用 C++ SDK——参见
+`cpp/examples/cpp_examples/demo_write.cpp`(`TsFileTableWriter` / `TsFileWriter` + `Tablet`)。
+
+## 与 AI 助手配合使用 skill
+
+`cpp/tools/skills/tsfile-cli/SKILL.md` 是一份机器可读的参考,用于教 AI 编码助手
+(如 Claude Code)正确驱动 `tsfile-cli`。这类助手在会话开始时会从 `.claude/skills/` 目录自动发现
+skill,所以“安装”即把它放到该目录——项目级或用户级皆可:
+
+```bash
+# 项目级(仅本仓库)
+mkdir -p .claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md .claude/skills/tsfile-cli/SKILL.md
+
+# 或用户级(所有项目可用)
+mkdir -p ~/.claude/skills/tsfile-cli
+cp cpp/tools/skills/tsfile-cli/SKILL.md ~/.claude/skills/tsfile-cli/SKILL.md
+```
+
+> 安装后的 `SKILL.md` 必须以其 YAML front-matter(`--- … ---`)开头,助手才能识别。若发现失败,
+> 删除开头的 `<!-- … -->` 许可证块,使 `---` 成为第一行。
+
+之后启动新的助手会话。当你请求检视或导入 `.tsfile` 时,该 skill 会自动激活。
diff --git a/src/zh/UserGuide/latest/Tools/Tsfile-Viewer.md b/src/zh/UserGuide/latest/Tools/Tsfile-Viewer.md
new file mode 100644
index 000000000..f613bc84a
--- /dev/null
+++ b/src/zh/UserGuide/latest/Tools/Tsfile-Viewer.md
@@ -0,0 +1,89 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# tsfile-viewer
+
+[Apache TsFile Viewer](https://github.com/apache/tsfile-viewer) 是一个基于 Web 的应用,
+用于在浏览器中浏览与分析 TsFile 数据。它由一个 Spring Boot 后端(通过 Apache TsFile 库读取
+`.tsfile` 文件)与一个 Vue 3 前端(渲染元数据、分页表格与交互式图表)组成。
+
+- **仓库**:<https://github.com/apache/tsfile-viewer>
+- **许可证**:Apache-2.0
+
+## 功能
+
+- **文件浏览与上传**——在界面中打开 `.tsfile` 文件。
+- **元数据展示**——schema、设备与测点。
+- **分页数据表格**,支持按时间范围、设备、测点、数值范围过滤。
+- **交互式图表**(ECharts),支持多序列叠加与聚合。
+- **支持两种数据模型**——树模型与表模型 TsFile。
+- **导出**——数据导出为 CSV 或 JSON;图表导出为 PNG 或 SVG。
+- **性能**——chunk 级读取与元数据缓存。
+
+## 环境要求
+
+| 组件 | 版本 |
+|---|---|
+| JDK | 17 或 21(LTS) |
+| Maven | 3.9+ |
+| Node.js | `^20.19.0 \|\| >=22.12.0` |
+| pnpm | 最新版 |
+| Apache TsFile | 2.3.0(捆绑依赖) |
+
+## 获取源码
+
+克隆仓库,然后按下文构建并运行:
+
+```bash
+git clone https://github.com/apache/tsfile-viewer.git
+cd tsfile-viewer
+```
+
+## 从源码运行(开发模式)
+
+在两个终端分别运行后端与前端。
+
+**后端**(Spring Boot):
+
+```bash
+cd backend
+mvn spring-boot:run
+```
+
+**前端**(Vue + Vite 开发服务器):
+
+```bash
+cd frontend
+pnpm install
+pnpm dev
+```
+
+然后打开开发界面 <http://localhost:5173/view/>。
+
+## 构建并运行生产包
+
+构建一个自包含的发行包,再启动打好的 jar(前端由后端提供服务):
+
+```bash
+./build-dist.sh
+java -jar backend/target/tsfile-viewer-*.jar
+```
+
+打开应用 <http://localhost:8080/view/>。
diff --git a/src/zh/UserGuide/latest/TsFileFormat/TsFile-Format.md b/src/zh/UserGuide/latest/TsFileFormat/TsFile-Format.md
new file mode 100644
index 000000000..8fe32d0be
--- /dev/null
+++ b/src/zh/UserGuide/latest/TsFileFormat/TsFile-Format.md
@@ -0,0 +1,266 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# TsFile 数据格式
+
+本页描述 TsFile 的磁盘二进制布局,对应当前格式版本(`0x04`,由 C++ 实现)。它面向在
+TsFile 之上开发工具、排查文件问题,或用其他语言实现读写器的开发者。
+
+> **约定**:除特别说明外,多字节整数采用大端序。`varint` / `varuint` 为 LEB128
+> 风格的变长整数;*变长字符串* 为一个 `varuint` 长度前缀加相应字节数的 UTF-8 内容。
+
+## 1. 设计概览
+
+TsFile 是一种自包含、一次写入的时序列式文件。其核心设计思想为:
+
+- **列式存储**:每个测点(序列)存储在各自的 *Chunk* 中,查询只需读取所需的列。
+- **按块编码 + 压缩**:一个 Chunk 划分为若干 *Page*;每个 page 先编码(如 `TS_2DIFF`、
+  `GORILLA`)再压缩(如 `LZ4`、`SNAPPY`),同时消除时间与数值上的冗余。
+- **内嵌统计信息**:每个 page 与 chunk 都携带汇总统计(点数 / 时间范围 / 最小 / 最大 /
+  首值 / 末值 / 求和)。带时间或数值谓词的查询可在不解码的情况下跳过整个 page 和 chunk。
+- **文件尾部的元数据索引**:类 B 树的 *元数据索引* 将每个设备与测点映射到其数据的文件
+  偏移,读取器只需少量寻道即可定位任意序列,无需扫描整个文件。
+- **自描述 schema**:关系模式(表名、标签列与测点列,以及每列的类型/编码/压缩)序列化在
+  文件的元数据中。参见[数据模型](../QuickStart/Data-Model.md)。
+
+## 2. 文件布局
+
+TsFile 由文件头、一个或多个 **Chunk Group** 组成的数据区、分隔符、**元数据区** 和文件尾组成:
+
+```text
+┌───────────────────────────────────────────────┐
+│  魔数 "TsFile"                 (6 字节)         │  ← 头部魔数
+│  版本号 0x04                   (1 字节)         │
+├───────────────────────────────────────────────┤
+│  Chunk Group 1                                  │  ┐
+│  Chunk Group 2                                  │  │ 数据区
+│  ...                                            │  │ (每个设备一个 group)
+│  Chunk Group N                                  │  ┘
+├───────────────────────────────────────────────┤
+│  分隔符 0x02                   (1 字节)         │
+├───────────────────────────────────────────────┤
+│  TimeseriesIndex 记录                           │  ┐
+│  元数据索引树(按表 / 设备)                     │  │ 元数据区
+│  TsFileMetadata(含 schema、布隆过滤器)         │  ┘
+├───────────────────────────────────────────────┤
+│  元数据大小                    (4 字节)         │  ┐ 文件尾
+│  魔数 "TsFile"                 (6 字节)         │  ┘ (尾部魔数)
+└───────────────────────────────────────────────┘
+```
+
+- 文件 **开头与结尾** 均为 6 字节 ASCII 魔数 `TsFile`,读取器校验两者以检测截断/损坏。
+- 头部魔数之后的 1 个字节是 **版本号**(`0x04`)。
+- 读取文件时,读取器先定位到文件末尾,读取 6 字节尾部魔数及其前面的 4 字节元数据大小,
+  再跳回元数据区起始处解析;数据 page 则按其中记录的偏移按需读取。
+
+## 3. 数据区
+
+### 3.1 Chunk Group
+
+一个 Chunk Group 保存 **一个设备**(表名加上标识该设备的标签列取值)的全部 chunk。
+它以 1 字节标记开头,随后是设备标识,再是各个 chunk:
+
+```text
+[ 0x00  Chunk Group 头部标记 (1 字节) ]
+[ 设备 ID             (序列化的 IDeviceID) ]
+[ Chunk 1 ] [ Chunk 2 ] ... [ Chunk K ]
+```
+
+设备 ID 编码了表名以及标识该设备的标签列取值。
+
+### 3.2 Chunk
+
+一个 Chunk 存储某设备内的一个测点(列)。它以 **Chunk 头** 开头,后接一个或多个 page:
+
+| 字段 | 类型 | 说明 |
+|---|---|---|
+| chunk 类型 | 1 字节 | 标记 + 对齐位(见下) |
+| 测点名 | 变长字符串 | 列 / 测点名 |
+| 数据大小 | varuint | 后续所有 page 数据的总字节数 |
+| 数据类型 | 1 字节 | `TSDataType`(§6.1) |
+| 压缩 | 1 字节 | `CompressionType`(§6.3) |
+| 编码 | 1 字节 | `TSEncoding`(§6.2) |
+
+chunk 类型字节携带头部标记与两个对齐掩码位:
+
+| 常量 | 取值 | 含义 |
+|---|---|---|
+| `CHUNK_HEADER_MARKER` | `1` | 多 page 的 chunk |
+| `ONLY_ONE_PAGE_CHUNK_HEADER_MARKER` | `5` | 单 page 的 chunk(page 头省略统计信息) |
+| `TIME_COLUMN_MASK` | `0x80` | 对齐 chunk 的时间列 |
+| `VALUE_COLUMN_MASK` | `0x40` | 对齐 chunk 的值列 |
+
+**对齐 chunk**:时间戳只写入一次到 *时间 chunk*(`TIME_COLUMN_MASK`),每个测点写入共享该
+时间列的 *值 chunk*(`VALUE_COLUMN_MASK`)。
+
+### 3.3 Page
+
+Page 是最小可解码单元,由 **Page 头** 与编码+压缩后的 page 数据组成:
+
+| Page 头字段 | 类型 | 说明 |
+|---|---|---|
+| 未压缩大小 | varuint | 压缩前的 page 体大小 |
+| 压缩后大小 | varuint | 磁盘上存储的 page 体大小 |
+| 统计信息 | 结构体 | page 统计(§4)——**仅当 chunk 含多于一个 page 时存在** |
+
+时间 page 只存编码后的时间戳,值 page 只存编码后的值(外加空值位图)。page 体先用 chunk 的
+`encoding` 编码,再用 chunk 的 `compression` 压缩。
+
+因此读取器可以:读取 page 头 → 若谓词排除了该 page 的统计 → 跳过 `压缩后大小` 字节;
+否则解压、再解码。
+
+## 4. 统计信息
+
+统计信息按 page 存储,并按 chunk、按序列汇总。字段随数据类型而定:
+
+| 字段 | 含义 |
+|---|---|
+| count | 数据点数 |
+| start_time / end_time | 最小 / 最大时间戳 |
+| min_value / max_value | 最小 / 最大值(数值及可比较类型) |
+| first_value / last_value | 时间序上的首值 / 末值 |
+| sum_value | 数值求和(数值类型) |
+
+- 数值类型(`INT32`、`INT64`、`FLOAT`、`DOUBLE`)存 min/max/first/last/sum。
+- `BOOLEAN` 存点数、时间范围、首值/末值(以及 `true` 的计数)。
+- `TEXT` / `STRING` 按字典序存 min/max/first/last。
+- `BLOB` 仅存点数与时间范围。
+
+当 chunk 仅含单个 page(`ONLY_ONE_PAGE_CHUNK_HEADER_MARKER`)时,省略该 page 的统计信息,
+改用元数据中 chunk 级的统计。
+
+## 5. 元数据区
+
+元数据区让读取器无需扫描数据即可定位任意序列。
+
+### 5.1 TimeseriesIndex
+
+每个测点对应一条 `TimeseriesIndex`,记录:
+
+- 测点名与 `TSDataType`;
+- 一个标志字节(单 chunk / 多 chunk,以及哪些统计字段存在);
+- 该测点所有 chunk 合并后的统计;
+- `ChunkMetadata` 列表(每个指向一个 chunk 的文件偏移)。
+
+对齐序列使用 `AlignedTimeseriesIndex`,将时间列索引与各值列索引配对。
+
+### 5.2 元数据索引树
+
+`TimeseriesIndex` 记录被组织成一棵类 B 树的 **元数据索引**,节点有四种类型:
+
+| 节点类型 | 取值 | 作用 |
+|---|---|---|
+| `INTERNAL_DEVICE` | 0 | 设备条目之上的内部节点 |
+| `LEAF_DEVICE` | 1 | 指向某设备测点索引的叶子节点 |
+| `INTERNAL_MEASUREMENT` | 2 | 测点条目之上的内部节点 |
+| `LEAF_MEASUREMENT` | 3 | 指向 `TimeseriesIndex` 偏移的叶子节点 |
+
+每个条目携带一个键(设备 ID 或测点名)与下一层 / `TimeseriesIndex` 起始的文件偏移。树的扇出
+受 `max_degree_of_index_node`(默认 **256**)限制,使查找保持浅层。每个表对应一棵索引树。
+
+### 5.3 TsFileMetadata
+
+`TsFileMetadata` 是元数据区的根,包含:
+
+- **表名 → 元数据索引树** 的映射(每表一项);
+- **表名 → TableSchema** 的映射(见 §7);
+- `meta_offset`(分隔符标记的偏移,即数据区结束位置);
+- 可选的 **布隆过滤器**;
+- 属性映射(如加密元数据)。
+
+### 5.4 布隆过滤器
+
+为低成本回答“此文件是否包含序列 X?”,元数据可包含一个覆盖设备/测点路径的布隆过滤器。关键参数:
+
+- 至多 `MAX_HASH_FUNC_COUNT = 8` 个哈希函数;
+- 最小位集大小 `MIN_SIZE = 256`;
+- 目标误判率 `tsfile_index_bloom_filter_error_percent`(默认 **0.05**)。
+
+读取器可在遍历索引树前先查布隆过滤器,对不存在的路径立即返回“未找到”。
+
+## 6. 类型、编码与压缩编码值
+
+以下 1 字节编码值出现在 chunk 头与 schema 序列化中。
+
+### 6.1 `TSDataType`
+
+| 名称 | 编码 | | 名称 | 编码 |
+|---|---|---|---|---|
+| BOOLEAN | 0 | | TIMESTAMP | 8 |
+| INT32 | 1 | | DATE | 9 |
+| INT64 | 2 | | BLOB | 10 |
+| FLOAT | 3 | | STRING | 11 |
+| DOUBLE | 4 | | VECTOR | 6 |
+| TEXT | 5 | | | |
+
+### 6.2 `TSEncoding`
+
+| 名称 | 编码 | 适用类型 |
+|---|---|---|
+| PLAIN | 0 | 所有类型 |
+| DICTIONARY | 1 | TEXT、STRING |
+| RLE | 2 | INT32、INT64、TIMESTAMP、DATE |
+| TS_2DIFF | 4 | INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE |
+| GORILLA | 8 | INT32、INT64、TIMESTAMP、DATE、FLOAT、DOUBLE |
+| ZIGZAG | 9 | INT32、INT64 |
+| SPRINTZ | 12 | INT32、INT64、FLOAT、DOUBLE |
+
+> 枚举还保留 `DIFF`(3)、`BITMAP`(5)、`GORILLA_V1`(6)、`REGULAR`(7)、`FREQ`(10),
+> 当前 C++ 编码器工厂不会产出这些编码。
+
+### 6.3 `CompressionType`
+
+| 名称 | 编码 | 说明 |
+|---|---|---|
+| UNCOMPRESSED | 0 | 不压缩 |
+| SNAPPY | 1 | 构建选项 `ENABLE_SNAPPY` |
+| GZIP | 2 | 构建选项 `ENABLE_GZIP` |
+| LZO | 3 | 构建选项 `ENABLE_LZOKAY` |
+| LZ4 | 7 | 构建选项 `ENABLE_LZ4`(默认压缩) |
+
+> 编码值 `SDT`(4)、`PAA`(5)、`PLA`(6) 已保留,但 C++ 库未实现。
+
+## 7. 表 schema
+
+元数据为每个表存储一份 `TableSchema`。序列化后的 `TableSchema` 为每列列出:列名、`TSDataType`、
+编码、压缩、可选属性映射,以及列类别(`TAG` / `FIELD` / `ATTRIBUTE` / `TIME`)。读取器据此重建
+文件的关系模式。
+
+设备内的数据以 **对齐 chunk** 存储:一个共享的时间 chunk 加上每个测点列一个值 chunk。
+
+## 8. 默认写入参数
+
+写入器的默认参数决定数据如何切分为 page 与 chunk:
+
+| 参数 | 默认值 | 含义 |
+|---|---|---|
+| page 最大点数 | 10000 | 开新 page 前每个 page 的点数 |
+| page 最大大小 | 128 KB | 每个 page 的字节上限 |
+| chunk group 大小阈值 | 128 MB | 触发刷盘的内存占用大小 |
+| 索引节点最大扇出 | 256 | 元数据索引树的扇出 |
+| 布隆过滤器误判率 | 0.05 | 目标误判率 |
+| 时间列编码 | `TS_2DIFF` | 时间列的默认编码 |
+| 默认值压缩 | `LZ4` | 值 chunk 的默认压缩 |
+
+各类型的默认值编码:`BOOLEAN → PLAIN`、`INT32 / INT64 → TS_2DIFF`、
+`FLOAT / DOUBLE → GORILLA`、`TEXT / STRING / BLOB → PLAIN`。
+
+写入时如何按列或全局覆盖这些默认值,参见
+[接口定义](../QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md)。


(tsfile) 15/43: Add a quick to get started s2. category (Table. ColumnCategory. FEED) (#465)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 588f01477ef6c2a8e5bcf70ca65a6ea852903d88
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Tue Apr 22 14:31:32 2025 +0800

    Add a quick to get started s2. category (Table. ColumnCategory. FEED) (#465)
---
 src/UserGuide/latest/QuickStart/QuickStart.md    | 5 +++--
 src/zh/UserGuide/latest/QuickStart/QuickStart.md | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index 451ec86fe..9dfb09985 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -78,8 +78,9 @@ TableSchema tableSchema =
                                 .category(Tablet.ColumnCategory.FIELD)
                                 .build(),
                         new ColumnSchemaBuilder()
-                                .name("s2").
-                                dataType(TSDataType.BOOLEAN)
+                                .name("s2")
+                                .dataType(TSDataType.BOOLEAN)
+                                .category(Tablet.ColumnCategory.FIELD)
                                 .build()));
 
 long memoryThreshold = 10 * 1024 * 1024;
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index d934e1202..b750c458e 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -78,8 +78,9 @@ TableSchema tableSchema =
                                 .category(Tablet.ColumnCategory.FIELD)
                                 .build(),
                         new ColumnSchemaBuilder()
-                                .name("s2").
-                                dataType(TSDataType.BOOLEAN)
+                                .name("s2")
+                                .dataType(TSDataType.BOOLEAN)
+                                .category(Tablet.ColumnCategory.FIELD)
                                 .build()));
 
 long memoryThreshold = 10 * 1024 * 1024;


(tsfile) 07/43: Tsfle-2.x data model page reconstruction (#407)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit a3ae3d05e2666974df4892fb8a31d1e0537cadd1
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Thu Feb 13 20:27:26 2025 +0800

    Tsfle-2.x data model page reconstruction (#407)
---
 src/zh/UserGuide/develop/QuickStart/Data-Model.md | 45 +++++----------------
 src/zh/UserGuide/latest/QuickStart/Data-Model.md  | 48 +++++------------------
 2 files changed, 18 insertions(+), 75 deletions(-)

diff --git a/src/zh/UserGuide/develop/QuickStart/Data-Model.md b/src/zh/UserGuide/develop/QuickStart/Data-Model.md
index f6a8bc142..5226df304 100644
--- a/src/zh/UserGuide/develop/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/develop/QuickStart/Data-Model.md
@@ -24,44 +24,17 @@
 
 为管理工业物联网时序数据,TsFile 的测点数据模型包含如下信息
 
-- 标签列:以字符串键值对形式对一维物联网设备的描述。例如,“category=XT451”表示风力涡轮机的类别为“XT451”,“year=2021”表示其建造于2021年。
-- 测点列:设备正在测量的变量。与风扇速度、电压、温度、风速等类似。与目前固定为STRING数据类型的标记不同,字段受各种数据类型的支持。
-- 时间戳和时间序列:设备测量的FIELD的每个值都与一个唯一的时间戳相关联。FIELD的时间戳和值的序列是一个时间序列。
-- 元数据:一组可以唯一标识一种设备的标签,以及由这些设备测量的字段集。例如,风力涡轮机可以通过“省”、“市”、“风场”和“序列号”进行唯一定位,因此方案“wind_turbine”的TAG集可以是“省”,“市”,“风场“和“序列编号”。而其FIELD集包含“风扇速度”、“电压”、“温度”、“风速”等。
-- 设备号:物联网设备的唯一标识符,由模式名称和所有标签值组成。例如,对于上述模式“wind_turbine”,DeviceId可以是(“wind_urbine”、“Beijing”、“Beijing_1135”、“T1523678”)。
-
-<table>       
-  <tr>             
-    <th rowspan="1">概念</th>             
-    <th rowspan="1">定义</th>                          
-  </tr>       
-  <tr>             
-    <th rowspan="1">表</th>
-      <th>一类具有相同模式的设备的集合。建模时定义的存储表由标识列、时间列和物理量列三部分组成。</th>    
-  </tr>  
-  <tr>
-    <th rowspan="1">标识列</th>
-  	<th>设备唯一标识,一个表内可包含0至多个标识列,标识列的值按建表时的列顺序组合形成的复合值称为标识,复合值相同的标识为同一标识。标识列的数据类型目前只能为String,可以不指定,默认为String标识列的值可以全为空写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)</th>
-  </tr>
-  <tr>
-    <th rowspan="1">时间戳</th>  
-    <th>一个表必须有一列时间列,相同标识取值的数据默认按时间排序。时间列的值不能为空,必须顺序的。</th>
-  </tr> 
-  <tr>             
-    <th rowspan="1">测点列</th>  
-    <th>测点列定义了时序数据的测点名称、数据类型。</th>
-  </tr> 
-  <tr> 
-    <th rowspan="1">行</th>  
-    <th>表中的一行数据</th>
-  </tr> 
-</table>
-
+| **概念**                  | **定义**                                                     |
+| --------------------------- | ------------------------------------------------------------ |
+| **表**          | 具有相同模式的设备集合。<br> 建模时定义的存储表由时间列、标签列和测点列三部分组成。|
+| **时间列(TIME)**          | 每个时序表必须有一个时间列,数据类型为 TIMESTAMP,名称可以自定义<br>时间列的值不能为空,必须顺序的。 |
+| **标签列(TAG)**           | 设备的唯一标识(联合主键),可以为 0 至多个<br>标识列的数据类型目前仅支持String,不指定时默认为String<br>标签信息不可修改和删除,但允许增加<br>推荐按粒度由大到小进行排列<br>写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)|
+| **测点列(FIELD)** | 一个设备采集的测点可以有1个至多个,值随时间变化<br>表的测点列没有数量限制,可以达到数十万以上<br>字段支持多种数据类型(与标签列固定为STRING类型不同)。 |
 
 ## 示例
 
-元数据描述的是具有相同模式的设备的集合。如下图所示,它模拟了工厂设备的管理,每个设备的物理量采集都具备一定共性(如都采集温度和湿度物理量、同一设备的物理量同频采集等),因此可以逐个设备进行管理。
+表描述的是具有相同标签的设备的集合。如下图所示,它模拟了工厂设备的管理,每个设备的物理量采集都具备一定共性(如都采集温度和湿度物理量、同一设备的物理量同频采集等),因此可以逐个设备进行管理。
 
-此时,物理设备可以通过3个标签[区域]-[工厂]-[设备](下图中的橙色列,也称为设备标识信息)进行唯一标识。设备收集的字段为[温度]、[湿度]、[状态]和[到达时间](下图中的蓝色列)。
+此时,物理设备可以通过3个标签【地区】-【工厂】-【设备】(下图橙色列,又称设备标签)进行唯一标识。设备最终采集的指标为【温度】、【湿度】、【状态】、【到达时间】(下图中的蓝色列)。
 
-![](https://alioss.timecho.com/docs/img/data_model_example_image-zh.png)
\ No newline at end of file
+![](https://alioss.timecho.com/docs/img/Data-model01.png)
\ No newline at end of file
diff --git a/src/zh/UserGuide/latest/QuickStart/Data-Model.md b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
index 1ecc1e58e..5226df304 100644
--- a/src/zh/UserGuide/latest/QuickStart/Data-Model.md
+++ b/src/zh/UserGuide/latest/QuickStart/Data-Model.md
@@ -24,47 +24,17 @@
 
 为管理工业物联网时序数据,TsFile 的测点数据模型包含如下信息
 
-- 标签列:以字符串键值对形式对一维物联网设备的描述。例如,“category=XT451”表示风力涡轮机的类别为“XT451”,“year=2021”表示其建造于2021年。
-- 测点列:设备正在测量的变量。与风扇速度、电压、温度、风速等类似。与目前固定为STRING数据类型的标记不同,字段受各种数据类型的支持。
-- 时间戳和时间序列:设备测量的FIELD的每个值都与一个唯一的时间戳相关联。FIELD的时间戳和值的序列是一个时间序列。
-- 元数据:一组可以唯一标识一种设备的标签,以及由这些设备测量的字段集。例如,风力涡轮机可以通过“省”、“市”、“风场”和“序列号”进行唯一定位,因此方案“wind_turbine”的TAG集可以是“省”,“市”,“风场“和“序列编号”。而其FIELD集包含“风扇速度”、“电压”、“温度”、“风速”等。
-- 设备号:物联网设备的唯一标识符,由模式名称和所有标签值组成。例如,对于上述模式“wind_turbine”,DeviceId可以是(“wind_urbine”、“Beijing”、“Beijing_1135”、“T1523678”)。
-
-<table>
-	<thead>
-		<tr>
-			<th rowspan="1">概念</th>
-			<th rowspan="1">定义</th>
-		</tr>
-	</thead>
-	<tbody>
-		<tr>
-			<td rowspan="1">表</td>
-			<td>一类具有相同模式的设备的集合。建模时定义的存储表由标识列、时间列和物理量列三部分组成。</td>
-		</tr>
-		<tr>
-			<td rowspan="1">标识列</td>
-			<td>设备唯一标识,一个表内可包含0至多个标识列,标识列的值按建表时的列顺序组合形成的复合值称为标识,复合值相同的标识为同一标识。标识列的数据类型目前只能为String,可以不指定,默认为String标识列的值可以全为空写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)</td>
-		</tr>
-		<tr>
-			<td rowspan="1">时间戳</td>
-			<td>一个表必须有一列时间列,相同标识取值的数据默认按时间排序。时间列的值不能为空,必须顺序的。</td>
-		</tr>
-		<tr>
-			<td rowspan="1">测点列</td>
-			<td>测点列定义了时序数据的测点名称、数据类型。</td>
-		</tr>
-		<tr>
-			<td rowspan="1">行</td>
-			<td>表中的一行数据</td>
-		</tr>
-	</tbody>
-</table>
+| **概念**                  | **定义**                                                     |
+| --------------------------- | ------------------------------------------------------------ |
+| **表**          | 具有相同模式的设备集合。<br> 建模时定义的存储表由时间列、标签列和测点列三部分组成。|
+| **时间列(TIME)**          | 每个时序表必须有一个时间列,数据类型为 TIMESTAMP,名称可以自定义<br>时间列的值不能为空,必须顺序的。 |
+| **标签列(TAG)**           | 设备的唯一标识(联合主键),可以为 0 至多个<br>标识列的数据类型目前仅支持String,不指定时默认为String<br>标签信息不可修改和删除,但允许增加<br>推荐按粒度由大到小进行排列<br>写入时必须指定所有标识列(未指定的标识列默认使用 null 填充)|
+| **测点列(FIELD)** | 一个设备采集的测点可以有1个至多个,值随时间变化<br>表的测点列没有数量限制,可以达到数十万以上<br>字段支持多种数据类型(与标签列固定为STRING类型不同)。 |
 
 ## 示例
 
-元数据描述的是具有相同模式的设备的集合。如下图所示,它模拟了工厂设备的管理,每个设备的物理量采集都具备一定共性(如都采集温度和湿度物理量、同一设备的物理量同频采集等),因此可以逐个设备进行管理。
+表描述的是具有相同标签的设备的集合。如下图所示,它模拟了工厂设备的管理,每个设备的物理量采集都具备一定共性(如都采集温度和湿度物理量、同一设备的物理量同频采集等),因此可以逐个设备进行管理。
 
-此时,物理设备可以通过3个标签[区域]-[工厂]-[设备](下图中的橙色列,也称为设备标识信息)进行唯一标识。设备收集的字段为[温度]、[湿度]、[状态]和[到达时间](下图中的蓝色列)。
+此时,物理设备可以通过3个标签【地区】-【工厂】-【设备】(下图橙色列,又称设备标签)进行唯一标识。设备最终采集的指标为【温度】、【湿度】、【状态】、【到达时间】(下图中的蓝色列)。
 
-![](https://alioss.timecho.com/docs/img/data_model_example_image-zh.png)
\ No newline at end of file
+![](https://alioss.timecho.com/docs/img/Data-model01.png)
\ No newline at end of file


(tsfile) 28/43: Supplement documentation related to TagFilter (#654)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit bf1a68b9c7eeac3c043ccc52d37956531bfc1459
Author: Hongzhi Gao <76...@qq.com>
AuthorDate: Thu Dec 4 18:50:25 2025 +0800

    Supplement documentation related to TagFilter (#654)
    
    * Supplement documentation related to TagFilter
    
    * Add documentation about reducing dependencies.
    
    * Add documentation about reducing dependencies.
    
    * Add documentation about TagFilter example
---
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 45 +++++++++++++++++
 .../InterfaceDefinition-Java.md                    | 57 ++++++++++++++++++++++
 src/UserGuide/develop/QuickStart/QuickStart-C.md   | 20 ++++++++
 src/UserGuide/develop/QuickStart/QuickStart-CPP.md | 26 +++++++++-
 .../develop/QuickStart/QuickStart-JAVA.md          |  5 +-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 45 +++++++++++++++++
 .../InterfaceDefinition-Java.md                    | 57 ++++++++++++++++++++++
 src/UserGuide/latest/QuickStart/QuickStart-C.md    | 20 ++++++++
 src/UserGuide/latest/QuickStart/QuickStart-CPP.md  | 27 +++++++++-
 src/UserGuide/latest/QuickStart/QuickStart.md      |  5 +-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 44 +++++++++++++++++
 .../UserGuide/develop/QuickStart/QuickStart-C.md   | 21 +++++++-
 .../UserGuide/develop/QuickStart/QuickStart-CPP.md | 27 +++++++++-
 .../develop/QuickStart/QuickStart-JAVA.md          |  5 +-
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 44 +++++++++++++++++
 src/zh/UserGuide/latest/QuickStart/QuickStart-C.md | 21 +++++++-
 .../UserGuide/latest/QuickStart/QuickStart-CPP.md  | 27 +++++++++-
 src/zh/UserGuide/latest/QuickStart/QuickStart.md   |  5 +-
 18 files changed, 489 insertions(+), 12 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index b165a0244..044c496bb 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -278,6 +278,23 @@ class TsFileReader {
     int query(const std::string &table_name,
               const std::vector<std::string> &columns_names, int64_t start_time,
               int64_t end_time, ResultSet *&result_set);
+
+    /**
+     * @brief query the tsfile by the table name, columns names, start time
+     * and end time, tag filter. this method is used to query the tsfile by the
+     * table model.
+     *
+     * @param [in] table_name the table name
+     * @param [in] columns_names the columns names
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [in] tag_filter the tag filter
+     * @param [out] result_set the result set
+     */
+    int query(const std::string& table_name,
+              const std::vector<std::string>& columns_names, int64_t start_time,
+              int64_t end_time, ResultSet*& result_set, Filter* tag_filter);
+
     /**
      * @brief destroy the result set, this method should be called after the
      * query is finished and result_set
@@ -440,4 +457,32 @@ class ResultSetMetadata {
      */
     uint32_t get_column_count();
 };
+```
+### Filter
+#### TagFilterBuilder
+Used to construct tag-based filters for querying data
+```cpp
+class TagFilterBuilder {
+   public:
+    explicit TagFilterBuilder(TableSchema* schema);
+
+    Filter* eq(const std::string& columnName, const std::string& value);
+    Filter* neq(const std::string& columnName, const std::string& value);
+    Filter* lt(const std::string& columnName, const std::string& value);
+    Filter* lteq(const std::string& columnName, const std::string& value);
+    Filter* gt(const std::string& columnName, const std::string& value);
+    Filter* gteq(const std::string& columnName, const std::string& value);
+    Filter* reg_exp(const std::string& columnName, const std::string& value);
+    Filter* not_reg_exp(const std::string& columnName,
+                        const std::string& value);
+    Filter* between_and(const std::string& columnName, const std::string& lower,
+                        const std::string& upper);
+    Filter* not_between_and(const std::string& columnName,
+                            const std::string& lower, const std::string& upper);
+
+    // Logical operations
+    static Filter* and_filter(Filter* left, Filter* right);
+    static Filter* or_filter(Filter* left, Filter* right);
+    static Filter* not_filter(Filter* filter);
+};
 ```
\ No newline at end of file
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 3ae53d090..b71931d3b 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -160,6 +160,9 @@ Used to query data in tsfile
 interface ITsFileReader extends AutoCloseable {
   // Used to execute queries and return results
   ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime);
+
+  // Used to execute queries and return results
+  ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime, Filter tagFilter);
   
   // Return the schema of the table named tableName in tsfile
   Optional<TableSchema> getTableSchemas(String tableName);
@@ -238,3 +241,57 @@ interface ResultSetMetadata {
   TSDataType getColumnType(int columnIndex);
 }
 ```
+### Filter
+#### TagFilterBuilder
+Used to construct tag-based filters for querying data
+```java
+class TagFilterBuilder {
+  // Constructor function
+  public TagFilterBuilder(TableSchema tableSchema);
+  
+  // Equal to filter
+  public Filter eq(String columnName, Object value);
+  
+  // Not equal to filter
+  public Filter neq(String columnName, Object value);
+  
+  // Less than filter
+  public Filter lt(String columnName, Object value);
+  
+  // Less than or equal to filter
+  public Filter lteq(String columnName, Object value);
+  
+  // Greater than filter
+  public Filter gt(String columnName, Object value);
+  
+  // Greater than or equal to filter
+  public Filter gteq(String columnName, Object value);
+  
+  // Between and filter (inclusive)
+  public Filter betweenAnd(String columnName, Object value1, Object value2);
+  
+  // Not between and filter
+  public Filter notBetweenAnd(String columnName, Object value1, Object value2);
+  
+  // Regular expression filter
+  public Filter regExp(String columnName, String pattern);
+  
+  // Not regular expression filter
+  public Filter notRegExp(String columnName, String pattern);
+  
+  // LIKE pattern filter
+  public Filter like(String columnName, String pattern);
+  
+  // NOT LIKE pattern filter
+  public Filter notLike(String columnName, String pattern);
+  
+  // Logical AND filter
+  public Filter and(Filter left, Filter right);
+  
+  // Logical OR filter
+  public Filter or(Filter left, Filter right);
+  
+  // Logical NOT filter
+  public Filter not(Filter value);
+}
+```
\ No newline at end of file
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-C.md b/src/UserGuide/develop/QuickStart/QuickStart-C.md
index 68a258026..e65ddab2e 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -50,7 +50,27 @@ Windows:
 ```shell
 mvnw.cmd clean install -P with-cpp -DskipTests
 ```
+### Compilation Options
+TsFile provides build options to control the size of the generated library:
+```shell
+# Minimal build
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+
+**Option Descriptions**
+- `enable.*=OFF:` Do not compile compression algorithms (reduces library size)
+- `enable.antlr4=OFF:` Do not compile ANTLR4 dependency (reduces library size)
 
+**Library Size Comparison**
+- `Full build:` ~3.2MB
+- `With ANTLR4 disabled:` ~1.9MB
+- `With all compression algorithms disabled:` ~1.7MB
 ### Directory Structure
 
 • **Include Directory**: Located at `tsfile/cpp/target/build/include/cwrapper`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
index 560d7028e..e6f78614d 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -41,7 +41,27 @@ mvn clean install -P with-cpp -DskipTests
 ```
 
 Note: If Maven is not installed, you can use mvnw on Linux or mvnw.cmd on Windows.
+### Compilation Options
+TsFile provides build options to control the size of the generated library:
+```shell
+# Minimal build
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+
+**Option Descriptions**
+- `enable.*=OFF:` Do not compile compression algorithms (reduces library size)
+- `enable.antlr4=OFF:` Do not compile ANTLR4 dependency (reduces library size)
 
+**Library Size Comparison**
+- `Full build:` ~3.2MB
+- `With ANTLR4 disabled:` ~1.9MB
+- `With all compression algorithms disabled:` ~1.7MB
 ### Directory Structure
 
 • **Include Directory**: Located at `tsfile/cpp/target/build/include`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
@@ -152,8 +172,12 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
     columns.emplace_back("id2");
     columns.emplace_back("s1");
 
+    auto table_schema = reader.get_table_schema(table_name);
+    storage::Filter* tag_filter1 = storage::TagFilterBuilder(table_schema.get()).eq("id1", "id1_filed_1");
+    storage::Filter* tag_filter2 = storage::TagFilterBuilder(table_schema.get()).eq("id2", "id1_filed_2");
+    storage::Filter* tag_filter = storage::TagFilterBuilder(table_schema.get()).and_filter(tag_filter1, tag_filter2);
     // Column vector contains the columns you want to select.
-    reader.query(table_name, columns, 0, 100, temp_ret);
+    reader.query(table_name, columns, 0, 100, temp_ret, tag_filter);
 ```
 
 ### Query Data
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 2d329a134..79fe15351 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -129,7 +129,10 @@ ITsFileReader reader =
 ### Construct Query Request
 
 ```shell
-ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 2, 8)
+TableSchema schema = reader.getTableSchemas(tableName);
+TagFilterBuilder filterBuilder = new TagFilterBuilder(schema);
+ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 
+    2, 8, filterBuilder.eq("id1", "id1_filed_1"));
 ```
 
 ### Query Data
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index b165a0244..044c496bb 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -278,6 +278,23 @@ class TsFileReader {
     int query(const std::string &table_name,
               const std::vector<std::string> &columns_names, int64_t start_time,
               int64_t end_time, ResultSet *&result_set);
+
+    /**
+     * @brief query the tsfile by the table name, columns names, start time
+     * and end time, tag filter. this method is used to query the tsfile by the
+     * table model.
+     *
+     * @param [in] table_name the table name
+     * @param [in] columns_names the columns names
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [in] tag_filter the tag filter
+     * @param [out] result_set the result set
+     */
+    int query(const std::string& table_name,
+              const std::vector<std::string>& columns_names, int64_t start_time,
+              int64_t end_time, ResultSet*& result_set, Filter* tag_filter);
+
     /**
      * @brief destroy the result set, this method should be called after the
      * query is finished and result_set
@@ -440,4 +457,32 @@ class ResultSetMetadata {
      */
     uint32_t get_column_count();
 };
+```
+### Filter
+#### TagFilterBuilder
+Used to construct tag-based filters for querying data
+```cpp
+class TagFilterBuilder {
+   public:
+    explicit TagFilterBuilder(TableSchema* schema);
+
+    Filter* eq(const std::string& columnName, const std::string& value);
+    Filter* neq(const std::string& columnName, const std::string& value);
+    Filter* lt(const std::string& columnName, const std::string& value);
+    Filter* lteq(const std::string& columnName, const std::string& value);
+    Filter* gt(const std::string& columnName, const std::string& value);
+    Filter* gteq(const std::string& columnName, const std::string& value);
+    Filter* reg_exp(const std::string& columnName, const std::string& value);
+    Filter* not_reg_exp(const std::string& columnName,
+                        const std::string& value);
+    Filter* between_and(const std::string& columnName, const std::string& lower,
+                        const std::string& upper);
+    Filter* not_between_and(const std::string& columnName,
+                            const std::string& lower, const std::string& upper);
+
+    // Logical operations
+    static Filter* and_filter(Filter* left, Filter* right);
+    static Filter* or_filter(Filter* left, Filter* right);
+    static Filter* not_filter(Filter* filter);
+};
 ```
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 3ae53d090..b71931d3b 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -160,6 +160,9 @@ Used to query data in tsfile
 interface ITsFileReader extends AutoCloseable {
   // Used to execute queries and return results
   ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime);
+
+  // Used to execute queries and return results
+  ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime, Filter tagFilter);
   
   // Return the schema of the table named tableName in tsfile
   Optional<TableSchema> getTableSchemas(String tableName);
@@ -238,3 +241,57 @@ interface ResultSetMetadata {
   TSDataType getColumnType(int columnIndex);
 }
 ```
+### Filter
+#### TagFilterBuilder
+Used to construct tag-based filters for querying data
+```java
+class TagFilterBuilder {
+  // Constructor function
+  public TagFilterBuilder(TableSchema tableSchema);
+  
+  // Equal to filter
+  public Filter eq(String columnName, Object value);
+  
+  // Not equal to filter
+  public Filter neq(String columnName, Object value);
+  
+  // Less than filter
+  public Filter lt(String columnName, Object value);
+  
+  // Less than or equal to filter
+  public Filter lteq(String columnName, Object value);
+  
+  // Greater than filter
+  public Filter gt(String columnName, Object value);
+  
+  // Greater than or equal to filter
+  public Filter gteq(String columnName, Object value);
+  
+  // Between and filter (inclusive)
+  public Filter betweenAnd(String columnName, Object value1, Object value2);
+  
+  // Not between and filter
+  public Filter notBetweenAnd(String columnName, Object value1, Object value2);
+  
+  // Regular expression filter
+  public Filter regExp(String columnName, String pattern);
+  
+  // Not regular expression filter
+  public Filter notRegExp(String columnName, String pattern);
+  
+  // LIKE pattern filter
+  public Filter like(String columnName, String pattern);
+  
+  // NOT LIKE pattern filter
+  public Filter notLike(String columnName, String pattern);
+  
+  // Logical AND filter
+  public Filter and(Filter left, Filter right);
+  
+  // Logical OR filter
+  public Filter or(Filter left, Filter right);
+  
+  // Logical NOT filter
+  public Filter not(Filter value);
+}
+```
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-C.md b/src/UserGuide/latest/QuickStart/QuickStart-C.md
index 68a258026..e65ddab2e 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-C.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -50,7 +50,27 @@ Windows:
 ```shell
 mvnw.cmd clean install -P with-cpp -DskipTests
 ```
+### Compilation Options
+TsFile provides build options to control the size of the generated library:
+```shell
+# Minimal build
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+
+**Option Descriptions**
+- `enable.*=OFF:` Do not compile compression algorithms (reduces library size)
+- `enable.antlr4=OFF:` Do not compile ANTLR4 dependency (reduces library size)
 
+**Library Size Comparison**
+- `Full build:` ~3.2MB
+- `With ANTLR4 disabled:` ~1.9MB
+- `With all compression algorithms disabled:` ~1.7MB
 ### Directory Structure
 
 • **Include Directory**: Located at `tsfile/cpp/target/build/include/cwrapper`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
index 560d7028e..ebb08b676 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -41,6 +41,27 @@ mvn clean install -P with-cpp -DskipTests
 ```
 
 Note: If Maven is not installed, you can use mvnw on Linux or mvnw.cmd on Windows.
+### Compilation Options
+TsFile provides build options to control the size of the generated library:
+```shell
+# Minimal build
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+
+**Option Descriptions**
+- `enable.*=OFF:` Do not compile compression algorithms (reduces library size)
+- `enable.antlr4=OFF:` Do not compile ANTLR4 dependency (reduces library size)
+
+**Library Size Comparison**
+- `Full build:` ~3.2MB
+- `With ANTLR4 disabled:` ~1.9MB
+- `With all compression algorithms disabled:` ~1.7MB
 
 ### Directory Structure
 
@@ -152,8 +173,12 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
     columns.emplace_back("id2");
     columns.emplace_back("s1");
 
+    auto table_schema = reader.get_table_schema(table_name);
+    storage::Filter* tag_filter1 = storage::TagFilterBuilder(table_schema.get()).eq("id1", "id1_filed_1");
+    storage::Filter* tag_filter2 = storage::TagFilterBuilder(table_schema.get()).eq("id2", "id1_filed_2");
+    storage::Filter* tag_filter = storage::TagFilterBuilder(table_schema.get()).and_filter(tag_filter1, tag_filter2);
     // Column vector contains the columns you want to select.
-    reader.query(table_name, columns, 0, 100, temp_ret);
+    reader.query(table_name, columns, 0, 100, temp_ret, tag_filter);
 ```
 
 ### Query Data
diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index 2d329a134..79fe15351 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -129,7 +129,10 @@ ITsFileReader reader =
 ### Construct Query Request
 
 ```shell
-ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 2, 8)
+TableSchema schema = reader.getTableSchemas(tableName);
+TagFilterBuilder filterBuilder = new TagFilterBuilder(schema);
+ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 
+    2, 8, filterBuilder.eq("id1", "id1_filed_1"));
 ```
 
 ### Query Data
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 11ba24bf1..c96bcfc65 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -278,6 +278,22 @@ class TsFileReader {
     int query(const std::string &table_name,
               const std::vector<std::string> &columns_names, int64_t start_time,
               int64_t end_time, ResultSet *&result_set);
+              
+    /**
+     * @brief 通过表名、列名、开始时间、结束时间和标签过滤器查询 tsfile。
+     * 此方法用于通过表模型查询 tsfile。
+     *
+     * @param [in] table_name 表名
+     * @param [in] columns_names 列名
+     * @param [in] start_time 开始时间
+     * @param [in] end_time 结束时间
+     * @param [in] tag_filter 标签过滤器
+     * @param [out] result_set 结果集
+     */
+    int query(const std::string& table_name,
+              const std::vector<std::string>& columns_names, int64_t start_time,
+              int64_t end_time, ResultSet*& result_set, Filter* tag_filter);
+    
     /**
      * @brief 销毁结果集,该方法应在查询完成并使用完 result_set 后调用。
      *
@@ -443,4 +459,32 @@ class ResultSetMetadata {
     uint32_t get_column_count();
 };
 
+```
+### Filter
+#### TagFilterBuilder
+用于构建基于Tag的过滤器以查询数据
+```cpp
+class TagFilterBuilder {
+   public:
+    explicit TagFilterBuilder(TableSchema* schema);
+
+    Filter* eq(const std::string& columnName, const std::string& value);
+    Filter* neq(const std::string& columnName, const std::string& value);
+    Filter* lt(const std::string& columnName, const std::string& value);
+    Filter* lteq(const std::string& columnName, const std::string& value);
+    Filter* gt(const std::string& columnName, const std::string& value);
+    Filter* gteq(const std::string& columnName, const std::string& value);
+    Filter* reg_exp(const std::string& columnName, const std::string& value);
+    Filter* not_reg_exp(const std::string& columnName,
+                        const std::string& value);
+    Filter* between_and(const std::string& columnName, const std::string& lower,
+                        const std::string& upper);
+    Filter* not_between_and(const std::string& columnName,
+                            const std::string& lower, const std::string& upper);
+
+    // 逻辑操作
+    static Filter* and_filter(Filter* left, Filter* right);
+    static Filter* or_filter(Filter* left, Filter* right);
+    static Filter* not_filter(Filter* filter);
+};
 ```
\ No newline at end of file
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
index 9574787b7..a9f055d1a 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -51,7 +51,26 @@ mvnw clean install -P with-cpp -DskipTests
 ```shell
 mvnw.cmd clean install -P with-cpp -DskipTests
 ```
-
+### 编译选项
+TsFile提供编译选项控制生成库的大小:
+```shell
+#最小化编译
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+**选项说明:**
+- `enable.*=OFF`:不编译压缩算法(减少库体积)
+- `enable.antlr4=OFF`:不编译ANTLR4依赖(减少库体积)
+
+**库大小对比:**
+- 完整编译:约3.2MB
+- 关闭ANTLR4:约1.9MB
+- 关闭所有压缩算法:约1.7MB
 ### 目录结构
 
 • **​Include 目录**: 位于 `tsfile/cpp/target/build/include/cwrapper`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
index 597296b4e..3a3412e1f 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -40,7 +40,26 @@ git clone https://github.com/apache/tsfile.git
 mvn clean install -P with-cpp -DskipTests
 ```
 注意:如果 Maven 没有安装,您可以在 Linux 上使用 `mvnw`,或者在 Windows 上使用 `mvnw.cmd`。
-
+### 编译选项
+TsFile提供编译选项控制生成库的大小:
+```shell
+#最小化编译
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+**选项说明:**
+- `enable.*=OFF`:不编译压缩算法(减少库体积)
+- `enable.antlr4=OFF`:不编译ANTLR4依赖(减少库体积)
+
+**库大小对比:**
+- 完整编译:约3.2MB
+- 关闭ANTLR4:约1.9MB
+- 关闭所有压缩算法:约1.7MB
 ### 目录结构
 
 • **​Include 目录**: 位于 `tsfile/cpp/target/build/include`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
@@ -151,8 +170,12 @@ target_link_libraries(your_target ${TSFILE_LIB})
     columns.emplace_back("id2");
     columns.emplace_back("s1");
 
+    auto table_schema = reader.get_table_schema(table_name);
+    storage::Filter* tag_filter1 = storage::TagFilterBuilder(table_schema.get()).eq("id1", "id1_filed_1");
+    storage::Filter* tag_filter2 = storage::TagFilterBuilder(table_schema.get()).eq("id2", "id1_filed_2");
+    storage::Filter* tag_filter = storage::TagFilterBuilder(table_schema.get()).and_filter(tag_filter1, tag_filter2);
     // Column vector contains the columns you want to select.
-    reader.query(table_name, columns, 0, 100, temp_ret);
+    reader.query(table_name, columns, 0, 100, temp_ret, tag_filter);
 ```
 
 ### 查询数据
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 597ab8311..1c6a8f873 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -129,7 +129,10 @@ ITsFileReader reader =
 ### 构建查询请求
 
 ```shell
-ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 2, 8)
+TableSchema schema = reader.getTableSchemas(tableName);
+TagFilterBuilder filterBuilder = new TagFilterBuilder(schema);
+ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 
+    2, 8, filterBuilder.eq("id1", "id1_filed_1"));
 ```
 
 ### 查询数据
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 11ba24bf1..c96bcfc65 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -278,6 +278,22 @@ class TsFileReader {
     int query(const std::string &table_name,
               const std::vector<std::string> &columns_names, int64_t start_time,
               int64_t end_time, ResultSet *&result_set);
+              
+    /**
+     * @brief 通过表名、列名、开始时间、结束时间和标签过滤器查询 tsfile。
+     * 此方法用于通过表模型查询 tsfile。
+     *
+     * @param [in] table_name 表名
+     * @param [in] columns_names 列名
+     * @param [in] start_time 开始时间
+     * @param [in] end_time 结束时间
+     * @param [in] tag_filter 标签过滤器
+     * @param [out] result_set 结果集
+     */
+    int query(const std::string& table_name,
+              const std::vector<std::string>& columns_names, int64_t start_time,
+              int64_t end_time, ResultSet*& result_set, Filter* tag_filter);
+    
     /**
      * @brief 销毁结果集,该方法应在查询完成并使用完 result_set 后调用。
      *
@@ -443,4 +459,32 @@ class ResultSetMetadata {
     uint32_t get_column_count();
 };
 
+```
+### Filter
+#### TagFilterBuilder
+用于构建基于Tag的过滤器以查询数据
+```cpp
+class TagFilterBuilder {
+   public:
+    explicit TagFilterBuilder(TableSchema* schema);
+
+    Filter* eq(const std::string& columnName, const std::string& value);
+    Filter* neq(const std::string& columnName, const std::string& value);
+    Filter* lt(const std::string& columnName, const std::string& value);
+    Filter* lteq(const std::string& columnName, const std::string& value);
+    Filter* gt(const std::string& columnName, const std::string& value);
+    Filter* gteq(const std::string& columnName, const std::string& value);
+    Filter* reg_exp(const std::string& columnName, const std::string& value);
+    Filter* not_reg_exp(const std::string& columnName,
+                        const std::string& value);
+    Filter* between_and(const std::string& columnName, const std::string& lower,
+                        const std::string& upper);
+    Filter* not_between_and(const std::string& columnName,
+                            const std::string& lower, const std::string& upper);
+
+    // 逻辑操作
+    static Filter* and_filter(Filter* left, Filter* right);
+    static Filter* or_filter(Filter* left, Filter* right);
+    static Filter* not_filter(Filter* filter);
+};
 ```
\ No newline at end of file
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
index 9574787b7..a9f055d1a 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -51,7 +51,26 @@ mvnw clean install -P with-cpp -DskipTests
 ```shell
 mvnw.cmd clean install -P with-cpp -DskipTests
 ```
-
+### 编译选项
+TsFile提供编译选项控制生成库的大小:
+```shell
+#最小化编译
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+**选项说明:**
+- `enable.*=OFF`:不编译压缩算法(减少库体积)
+- `enable.antlr4=OFF`:不编译ANTLR4依赖(减少库体积)
+
+**库大小对比:**
+- 完整编译:约3.2MB
+- 关闭ANTLR4:约1.9MB
+- 关闭所有压缩算法:约1.7MB
 ### 目录结构
 
 • **​Include 目录**: 位于 `tsfile/cpp/target/build/include/cwrapper`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
index 597296b4e..3a3412e1f 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -40,7 +40,26 @@ git clone https://github.com/apache/tsfile.git
 mvn clean install -P with-cpp -DskipTests
 ```
 注意:如果 Maven 没有安装,您可以在 Linux 上使用 `mvnw`,或者在 Windows 上使用 `mvnw.cmd`。
-
+### 编译选项
+TsFile提供编译选项控制生成库的大小:
+```shell
+#最小化编译
+mvn clean install -P with-cpp -DskipTests \
+  -Dbuild.test=OFF    \
+  -Denable.snappy=OFF \
+  -Denable.lz4=OFF    \
+  -Denable.lzokay=OFF \
+  -Denable.zlib=OFF   \
+  -Denable.antlr4=OFF
+```
+**选项说明:**
+- `enable.*=OFF`:不编译压缩算法(减少库体积)
+- `enable.antlr4=OFF`:不编译ANTLR4依赖(减少库体积)
+
+**库大小对比:**
+- 完整编译:约3.2MB
+- 关闭ANTLR4:约1.9MB
+- 关闭所有压缩算法:约1.7MB
 ### 目录结构
 
 • **​Include 目录**: 位于 `tsfile/cpp/target/build/include`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
@@ -151,8 +170,12 @@ target_link_libraries(your_target ${TSFILE_LIB})
     columns.emplace_back("id2");
     columns.emplace_back("s1");
 
+    auto table_schema = reader.get_table_schema(table_name);
+    storage::Filter* tag_filter1 = storage::TagFilterBuilder(table_schema.get()).eq("id1", "id1_filed_1");
+    storage::Filter* tag_filter2 = storage::TagFilterBuilder(table_schema.get()).eq("id2", "id1_filed_2");
+    storage::Filter* tag_filter = storage::TagFilterBuilder(table_schema.get()).and_filter(tag_filter1, tag_filter2);
     // Column vector contains the columns you want to select.
-    reader.query(table_name, columns, 0, 100, temp_ret);
+    reader.query(table_name, columns, 0, 100, temp_ret, tag_filter);
 ```
 
 ### 查询数据
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index 597ab8311..1c6a8f873 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -129,7 +129,10 @@ ITsFileReader reader =
 ### 构建查询请求
 
 ```shell
-ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 2, 8)
+TableSchema schema = reader.getTableSchemas(tableName);
+TagFilterBuilder filterBuilder = new TagFilterBuilder(schema);
+ResultSet resultSet = reader.query(tableName, Arrays.asList("id1", "id2", "s1", "s2"), 
+    2, 8, filterBuilder.eq("id1", "id1_filed_1"));
 ```
 
 ### 查询数据


(tsfile) 18/43: Fix 404 incorrect links (#479)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 0ecf67bf59c7ae5c7d4f8f7edcb5a62835a10db0
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Sun Apr 27 17:53:35 2025 +0800

    Fix 404 incorrect links (#479)
---
 .../Flink-TsFile.md                                |   0
 .../Hive-TsFile.md                                 |   0
 .../Spark-TsFile.md                                |   0
 .../Flink-TsFile.md                                |   0
 .../Hive-TsFile.md                                 |   0
 .../Spark-TsFile.md                                |   0
 .../v1.x/Ecosystem Integration/Hive-TsFile.md      | 170 ---------------------
 .../Flink-TsFile.md                                |   0
 .../Ecosystem-Integration}/Hive-TsFile.md          |   0
 .../Spark-TsFile.md                                |   0
 .../Flink-TsFile.md                                |   0
 .../Hive-TsFile.md                                 |   0
 .../Spark-TsFile.md                                |   0
 .../Flink-TsFile.md                                |   0
 .../Hive-TsFile.md                                 |   0
 .../Spark-TsFile.md                                |   0
 .../Flink-TsFile.md                                |   0
 .../Hive-TsFile.md                                 |   0
 .../Spark-TsFile.md                                |   0
 19 files changed, 170 deletions(-)

diff --git a/src/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/develop/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md
rename to src/UserGuide/develop/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/develop/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
copy from src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
copy to src/UserGuide/develop/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/develop/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
rename to src/UserGuide/develop/Ecosystem-Integration/Spark-TsFile.md
diff --git a/src/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/latest/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md
rename to src/UserGuide/latest/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/latest/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
rename from src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
rename to src/UserGuide/latest/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/latest/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
rename to src/UserGuide/latest/Ecosystem-Integration/Spark-TsFile.md
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
deleted file mode 100644
index 0d43afd46..000000000
--- a/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
+++ /dev/null
@@ -1,170 +0,0 @@
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one
-    or more contributor license agreements.  See the NOTICE file
-    distributed with this work for additional information
-    regarding copyright ownership.  The ASF licenses this file
-    to you under the Apache License, Version 2.0 (the
-    "License"); you may not use this file except in compliance
-    with the License.  You may obtain a copy of the License at
-    
-        http://www.apache.org/licenses/LICENSE-2.0
-    
-    Unless required by applicable law or agreed to in writing,
-    software distributed under the License is distributed on an
-    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-    KIND, either express or implied.  See the License for the
-    specific language governing permissions and limitations
-    under the License.
-
--->
-# Apache Hive(TsFile)
-
-## 1. About Hive-TsFile-Connector
-
-Hive-TsFile-Connector implements the support of Hive for external data sources of Tsfile type. This enables users to operate TsFile by Hive.
-
-With this connector, you can
-
-* Load a single TsFile, from either the local file system or hdfs, into hive
-* Load all files in a specific directory, from either the local file system or hdfs, into hive
-* Query the tsfile through HQL.
-* As of now, the write operation is not supported in hive-connector. So, insert operation in HQL is not allowed while operating tsfile through hive.
-
-## 2. System Requirements
-
-|Hadoop Version |Hive Version | Java Version | TsFile |
-|-------------  |------------ | ------------ |------------ |
-| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0`|
-
-> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
-
-## 3. Data Type Correspondence
-
-| TsFile data type | Hive field type |
-| ---------------- | --------------- |
-| BOOLEAN          | Boolean         |
-| INT32            | INT             |
-| INT64       	   | BIGINT          |
-| FLOAT       	   | Float           |
-| DOUBLE      	   | Double          |
-| TEXT      	   | STRING          |
-
-
-## 4. Add Dependency For Hive
-
-To use hive-connector in hive, we should add the hive-connector jar into hive.
-
-After downloading the code of iotdb-extra from <https://github.com/apache/iotdb-extra>, you can use the command of `mvn clean package -pl connectors/hive-connector -am -DskipTests -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`.
-
-Then in hive, use the command of `add jar XXX` to add the dependency. For example:
-
-```
-hive> add jar /Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
-
-Added [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
-Added resources: [/Users/hive/iotdb-extra/connectors/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
-```
-
-
-## 5. Create Tsfile-backed Hive tables
-
-To create a Tsfile-backed table, specify the `serde` as `org.apache.iotdb.hive.TsFileSerDe`, 
-specify the `inputformat` as `org.apache.iotdb.hive.TSFHiveInputFormat`, 
-and the `outputformat` as `org.apache.iotdb.hive.TSFHiveOutputFormat`.
-
-Also provide a schema which only contains two fields: `time_stamp` and `sensor_id` for the table. 
-`time_stamp` is the time value of the time series 
-and `sensor_id` is the sensor name to extract from the tsfile to hive such as `sensor_1`. 
-The name of the table can be any valid table names in hive.
-
-Also a location provided for hive-connector to pull the most current data for the table.
-
-The location should be a specific directory on your local file system or HDFS to set up Hadoop.
-If it is in your local file system, the location should look like `file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
-
-Last, set the `device_id` in `TBLPROPERTIES` to the device name you want to analyze.
-
-For example:
-
-```
-CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
-  time_stamp TIMESTAMP,
-  sensor_1 BIGINT)
-ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
-STORED AS
-  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
-  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
-LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
-TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
-```
-In this example, the data of `root.baic2.WWS.leftfrontdoor.plc1.sensor_1` is pulled from the directory of `/data/data/sequence/root.baic2.WWS.leftfrontdoor/`. 
-This table results in a description as below:
-
-```
-hive> describe only_sensor_1;
-OK
-time_stamp          	timestamp              	from deserializer
-sensor_1            	bigint              	from deserializer
-Time taken: 0.053 seconds, Fetched: 2 row(s)
-```
-At this point, the Tsfile-backed table can be worked with in Hive like any other table.
-
-## 6. Query from TsFile-backed Hive tables
-
-Before we do any queries, we should set the `hive.input.format` in hive by executing the following command.
-
-```
-hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
-```
-
-Now, we already have an external table named `only_sensor_1` in hive. 
-We can use any query operations through HQL to analyse it.
-
-For example:
-
-### 6.1 Select Clause Example
-
-```
-hive> select * from only_sensor_1 limit 10;
-OK
-1	1000000
-2	1000001
-3	1000002
-4	1000003
-5	1000004
-6	1000005
-7	1000006
-8	1000007
-9	1000008
-10	1000009
-Time taken: 1.464 seconds, Fetched: 10 row(s)
-```
-
-### 6.2 Aggregate Clause Example
-
-```
-hive> select count(*) from only_sensor_1;
-WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
-Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
-Total jobs = 1
-Launching Job 1 out of 1
-Number of reduce tasks determined at compile time: 1
-In order to change the average load for a reducer (in bytes):
-  set hive.exec.reducers.bytes.per.reducer=<number>
-In order to limit the maximum number of reducers:
-  set hive.exec.reducers.max=<number>
-In order to set a constant number of reducers:
-  set mapreduce.job.reduces=<number>
-Job running in-process (local Hadoop)
-2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
-2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
-Ended Job = job_local867757288_0002
-MapReduce Jobs Launched:
-Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
-Total MapReduce CPU Time Spent: 0 msec
-OK
-1000000
-Time taken: 11.334 seconds, Fetched: 1 row(s)
-```
-
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/v1.x/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md
rename to src/UserGuide/v1.x/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/v1.x/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
rename from src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
rename to src/UserGuide/v1.x/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/v1.x/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
rename to src/UserGuide/v1.x/Ecosystem-Integration/Spark-TsFile.md
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/develop/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md
rename to src/zh/UserGuide/develop/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/develop/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
rename to src/zh/UserGuide/develop/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/develop/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
rename to src/zh/UserGuide/develop/Ecosystem-Integration/Spark-TsFile.md
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/latest/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md
rename to src/zh/UserGuide/latest/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/latest/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
rename to src/zh/UserGuide/latest/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/latest/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
rename to src/zh/UserGuide/latest/Ecosystem-Integration/Spark-TsFile.md
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem-Integration/Flink-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md
rename to src/zh/UserGuide/v1.x/Ecosystem-Integration/Flink-TsFile.md
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem-Integration/Hive-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
rename to src/zh/UserGuide/v1.x/Ecosystem-Integration/Hive-TsFile.md
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem-Integration/Spark-TsFile.md
similarity index 100%
rename from src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
rename to src/zh/UserGuide/v1.x/Ecosystem-Integration/Spark-TsFile.md


(tsfile) 34/43: update tsfile title (#686)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit f945abc0e81583b1f1897210e12e9665c1bb47cb
Author: leto-b <bi...@timecho.com>
AuthorDate: Wed Dec 31 10:50:27 2025 +0800

    update tsfile title (#686)
---
 doap_tsfile.rdf  | 4 ++--
 src/README.md    | 2 +-
 src/zh/README.md | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doap_tsfile.rdf b/doap_tsfile.rdf
index a1db9cfc7..4026c05a4 100644
--- a/doap_tsfile.rdf
+++ b/doap_tsfile.rdf
@@ -29,8 +29,8 @@
     <homepage rdf:resource="https://tsfile.apache.org" />
     <asfext:pmc rdf:resource="https://tsfile.apache.org" />
 
-    <shortdesc>The mission of Apache TsFile is the creation and maintenance of software related to a columnar storage file format designed for time series data.</shortdesc>
-    <description>TsFile is a columnar storage file format designed for time series data, which supports efficient compression, high throughput of read and write, and compatibility with various frameworks, such as Spark and Flink. It is easy to integrate TsFile into IoT big data processing frameworks.</description>
+    <shortdesc>The mission of Apache TsFile is the creation and maintenance of software related to a high-performance columnar storage file format designed for industrial time-series data.</shortdesc>
+    <description>TsFile is a high-performance columnar storage file format designed for industrial time-series data, featuring multi-language interfaces, high compression ratios, high read/write throughput, and fast random access capabilities. It is ideal for scenarios such as building high-quality datasets, managing data assets, conducting data analytics, and training AI models.</description>
 
     <bug-database rdf:resource="https://github.com/apache/tsfile/issues" />
     <mailing-list rdf:resource="dev@tsfile.apache.org" />
diff --git a/src/README.md b/src/README.md
index 261a06061..81f45c409 100644
--- a/src/README.md
+++ b/src/README.md
@@ -9,7 +9,7 @@ bgImageStyle:
   background-attachment: fixed
   # background-repeat: repeat
   # background-size: initial
-heroText: File Format for Internet of Things
+heroText: Open-source File Format for Industrial Time-Series Datasets
 tagline: TsFile is a high-performance columnar storage file format designed for industrial time-series data, featuring multi-language interfaces, high compression ratios, high read/write throughput, and fast random access capabilities. It is ideal for scenarios such as building high-quality datasets, managing data assets, conducting data analytics, and training AI models.
 heroFullScreen: true
 actions:
diff --git a/src/zh/README.md b/src/zh/README.md
index cf32a4ffa..2853244a5 100644
--- a/src/zh/README.md
+++ b/src/zh/README.md
@@ -9,7 +9,7 @@ bgImageStyle:
   background-attachment: fixed
   # background-repeat: repeat
   # background-size: initial
-heroText: 物联网时序数据文件格式
+heroText: 工业时序数据集的开源文件格式
 tagline: TsFile 是一种为工业时序数据设计的高性能列式存储文件格式,支持多语言接口、高压缩比、高读写吞吐、快速随机访问。适用于构建高质量数据集、数据资产管理、数据分析与 AI 模型训练等场景。
 heroFullScreen: true
 actions:


(tsfile) 03/43: Update site-build.yaml

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 6befb88d8dfa38c63284fd4e4c49e8e8a989d2cf
Author: Haonan <hh...@outlook.com>
AuthorDate: Mon Feb 10 12:17:56 2025 +0800

    Update site-build.yaml
---
 .github/workflows/site-build.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/site-build.yaml b/.github/workflows/site-build.yaml
index 8dcf979b4..436a00de7 100644
--- a/.github/workflows/site-build.yaml
+++ b/.github/workflows/site-build.yaml
@@ -62,7 +62,7 @@ jobs:
       - name: Install pnpm
         uses: pnpm/action-setup@v4
         with:
-          package_json_file: 'docs/package.json'
+          package_json_file: 'package.json'
           run_install: true
           version: 8
 
@@ -71,7 +71,7 @@ jobs:
         with:
           node-version: 20
           cache: pnpm
-          cache-dependency-path: docs/pnpm-lock.yaml
+          cache-dependency-path: pnpm-lock.yaml
 
       - name: Install deps
         run: |-


(tsfile) 27/43: fix cpp (#646)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit ea1d7eb5943d3ff7c489849f0f49993d8cf214e5
Author: leto-b <bi...@timecho.com>
AuthorDate: Sat Nov 22 14:23:57 2025 +0800

    fix cpp (#646)
---
 src/.vuepress/sidebar/v2.x/en.ts                      | 4 ++--
 src/.vuepress/sidebar/v2.x/zh.ts                      | 4 ++--
 src/UserGuide/develop/QuickStart/QuickStart-CPP.md    | 2 +-
 src/UserGuide/latest/QuickStart/QuickStart-CPP.md     | 2 +-
 src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md | 2 +-
 src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md  | 2 +-
 6 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index 486796662..b0f22f9d9 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -39,7 +39,7 @@ export const enSidebar = {
       prefix: 'QuickStart/',
       children: [
         { text: 'QuickStart-C', link: 'QuickStart-C' },
-        { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
+        { text: 'QuickStart-C++', link: 'QuickStart-CPP' },
         { text: 'QuickStart-JAVA', link: 'QuickStart' },
         { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
       ],
@@ -55,7 +55,7 @@ export const enSidebar = {
       prefix: 'QuickStart/InterfaceDefinition',
       children: [
         { text: 'InterfaceDefinition-C', link: 'InterfaceDefinition-C' },
-        { text: 'InterfaceDefinition-CPP', link: 'InterfaceDefinition-CPP' },           
+        { text: 'InterfaceDefinition-C++', link: 'InterfaceDefinition-CPP' },
         { text: 'InterfaceDefinition-Java', link: 'InterfaceDefinition-Java' },
         { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
       ],
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index 7225437d7..e790f4cb8 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -39,7 +39,7 @@ export const zhSidebar = {
       prefix: 'QuickStart/',
       children: [
         { text: '快速上手-C', link: 'QuickStart-C' },
-        { text: '快速上手-CPP', link: 'QuickStart-CPP' },           
+        { text: '快速上手-C++', link: 'QuickStart-CPP' },
         { text: '快速上手-JAVA', link: 'QuickStart' },
         { text: '快速上手-PYTHON', link: 'QuickStart-PYTHON' },
       ],
@@ -55,7 +55,7 @@ export const zhSidebar = {
       prefix: 'QuickStart/InterfaceDefinition',
       children: [
         { text: '接口定义-C', link: 'InterfaceDefinition-C' },
-        { text: '接口定义-CPP', link: 'InterfaceDefinition-CPP' },           
+        { text: '接口定义-C++', link: 'InterfaceDefinition-CPP' },
         { text: '接口定义-Java', link: 'InterfaceDefinition-Java' },
         { text: '接口定义-Python', link: 'InterfaceDefinition-Python' },
       ],
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
index 0eb307166..560d7028e 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start - Cpp
+# Quick Start - C++
 
 ## Dependencies
 
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
index 0eb307166..560d7028e 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start - Cpp
+# Quick Start - C++
 
 ## Dependencies
 
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
index d91f3d824..597296b4e 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手 - Cpp
+# 快速上手 - C++
 
 ## 依赖
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
index d91f3d824..597296b4e 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手 - Cpp
+# 快速上手 - C++
 
 ## 依赖
 


(tsfile) 32/43: update 2.2.0 download info (#681)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit d5e9b3bb0c38a66c9ec40f2297220dd277a18ad3
Author: leto-b <bi...@timecho.com>
AuthorDate: Tue Dec 30 11:29:28 2025 +0800

    update 2.2.0 download info (#681)
    
    * update 2.2.0 download info
    
    * update 1.1.3 download info
---
 src/Download/README.md    | 10 +++++-----
 src/zh/Download/README.md | 14 +++++++-------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index 329bd7d85..baeae2b51 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -23,14 +23,14 @@
 
 | Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                    | IoTDB adaptation ver [...]
 |---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| -------------------- [...]
-| 2.1.1   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.2   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.2) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.2) | IoTDB V1.x |
+| 2.2.0   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md) | IoTDB V2.x |
+| 1.1.3   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3) | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
 Our GitHub page: https://github.com/apache/tsfile
 
-The latest version of TsFile is 2.1.1.
+The latest version of TsFile is 2.2.0.
 
 Downloading it from the [Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -40,8 +40,8 @@ Add the following dependency section to your pom.xml:
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.1.1</version>
+   <version>2.2.0</version>
  </dependency>
 ```
 
-The release note of 2.1.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md
+The release note of 2.2.0 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index 769f743d1..cae7484a2 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -21,10 +21,10 @@
 
 # 发行版本
 
-| 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                     [...]
-|-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------- | -------------------------- [...]
-| 2.1.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.2 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.2) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.2) | IoTDB V1.x |
+| 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                               | IoTDB 适配版本               [...]
+|-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| ------------------------ [...]
+| 2.2.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.0/apache-tsfile-2.2.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md) | IoTDB V2.x |
+| 1.1.3 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
 
@@ -32,7 +32,7 @@
 
 GitHub 仓库地址:https://github.com/apache/tsfile
 
-最新版本是2.1.1。
+最新版本是2.2.0。
 
 点击 Maven 仓库地址下载:[Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -42,8 +42,8 @@ GitHub 仓库地址:https://github.com/apache/tsfile
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.1.1</version>
+   <version>2.2.0</version>
  </dependency>
 ```
 
-该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md
+该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.2.0/RELEASE_NOTES.md


(tsfile) 30/43: 2.x examples are based table model (#672)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 6838705a3578202e3c10565e9142b3fdd79aed1c
Author: leto-b <bi...@timecho.com>
AuthorDate: Mon Dec 22 11:53:57 2025 +0800

    2.x examples are based table model (#672)
---
 src/.vuepress/sidebar/v2.x/en.ts                         | 4 ++--
 src/.vuepress/sidebar/v2.x/zh.ts                         | 4 ++--
 src/UserGuide/develop/QuickStart/QuickStart-C.md         | 1 +
 src/UserGuide/develop/QuickStart/QuickStart-CPP.md       | 2 ++
 src/UserGuide/develop/QuickStart/QuickStart-JAVA.md      | 1 +
 src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md    | 6 +++++-
 src/UserGuide/latest/QuickStart/QuickStart-C.md          | 1 +
 src/UserGuide/latest/QuickStart/QuickStart-CPP.md        | 1 +
 src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md     | 5 ++++-
 src/UserGuide/latest/QuickStart/QuickStart.md            | 1 +
 src/zh/UserGuide/develop/QuickStart/QuickStart-C.md      | 2 ++
 src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md    | 1 +
 src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md   | 1 +
 src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md | 4 +++-
 src/zh/UserGuide/latest/QuickStart/QuickStart-C.md       | 2 ++
 src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md     | 1 +
 src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md  | 5 ++++-
 src/zh/UserGuide/latest/QuickStart/QuickStart.md         | 1 +
 18 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index b0f22f9d9..a6ac11d1d 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -60,7 +60,7 @@ export const enSidebar = {
         { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
       ],
     },
-    {
+    /* {
       text: 'Ecosystem Integration',
       collapsible: true,
       prefix: 'Ecosystem-Integration/',
@@ -69,6 +69,6 @@ export const enSidebar = {
         { text: 'Apache Spark', link: 'Spark-TsFile' },           
         { text: 'Apache Hive', link: 'Hive-TsFile' },
       ],
-    },
+    }, */
   ]
 };
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index e790f4cb8..f10fb411b 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -60,7 +60,7 @@ export const zhSidebar = {
         { text: '接口定义-Python', link: 'InterfaceDefinition-Python' },
       ],
     },
-    {
+    /* {
       text: '生态集成',
       collapsible: true,
       prefix: 'Ecosystem-Integration/',
@@ -69,6 +69,6 @@ export const zhSidebar = {
         { text: 'Apache Spark', link: 'Spark-TsFile' },           
         { text: 'Apache Hive', link: 'Hive-TsFile' },
       ],
-    },
+    }, */
   ]
 };
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-C.md b/src/UserGuide/develop/QuickStart/QuickStart-C.md
index e65ddab2e..0d03e4526 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -261,3 +261,4 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [C Interface Definition](./InterfaceDefinition/InterfaceDefinition-C.md). If you need information regarding the tree model, please contact us.
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
index e6f78614d..4f92b9d78 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -62,6 +62,7 @@ mvn clean install -P with-cpp -DskipTests \
 - `Full build:` ~3.2MB
 - `With ANTLR4 disabled:` ~1.9MB
 - `With all compression algorithms disabled:` ~1.7MB
+
 ### Directory Structure
 
 • **Include Directory**: Located at `tsfile/cpp/target/build/include`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
@@ -246,3 +247,4 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [C++ Interface Definition](./InterfaceDefinition/InterfaceDefinition-CPP.md). If you need information regarding the tree model, please contact us.
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 79fe15351..5ccf42bd7 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -174,3 +174,4 @@ reader.close();
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [Java Interface Definition](./InterfaceDefinition/InterfaceDefinition-Java.md). If you need information regarding the tree model, please contact us.
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index a25b30508..30207bb5e 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -60,6 +60,7 @@ Platform support:
 To download wheel from pypi: https://pypi.org/project/tsfile/#files
 
 
+
 ### Compile on your local envirment
 Clone the source code from git:
 
@@ -149,4 +150,7 @@ with TsFileReader(table_data_dir) as reader:
 
 ## Sample Code
 
-The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
+The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
+
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [Python Interface Definition](./InterfaceDefinition/InterfaceDefinition-Python.md). If you need information regarding the tree model, please contact us.
+
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-C.md b/src/UserGuide/latest/QuickStart/QuickStart-C.md
index e65ddab2e..0d03e4526 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-C.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -261,3 +261,4 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [C Interface Definition](./InterfaceDefinition/InterfaceDefinition-C.md). If you need information regarding the tree model, please contact us.
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
index ebb08b676..4f92b9d78 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -247,3 +247,4 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [C++ Interface Definition](./InterfaceDefinition/InterfaceDefinition-CPP.md). If you need information regarding the tree model, please contact us.
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 03904746b..30207bb5e 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -150,4 +150,7 @@ with TsFileReader(table_data_dir) as reader:
 
 ## Sample Code
 
-The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
+The sample code of using these interfaces is in:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
+
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [Python Interface Definition](./InterfaceDefinition/InterfaceDefinition-Python.md). If you need information regarding the tree model, please contact us.
+
diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart.md
index 79fe15351..5ccf42bd7 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart.md
@@ -174,3 +174,4 @@ reader.close();
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
+> Note: The above read/write examples are all based on the table model interface. For details about the interface definition, please refer to [Java Interface Definition](./InterfaceDefinition/InterfaceDefinition-Java.md). If you need information regarding the tree model, please contact us.
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
index a9f055d1a..3f8c944f2 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -262,3 +262,5 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
 
+
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[C 接口定义](./InterfaceDefinition/InterfaceDefinition-C.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
index 6a0a8ae0e..6ff8228db 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-CPP.md
@@ -244,3 +244,4 @@ target_link_libraries(your_target ${TSFILE_LIB})
 
 使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[C++ 接口定义](./InterfaceDefinition/InterfaceDefinition-CPP.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
index 1c6a8f873..36ec60d1c 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
@@ -174,3 +174,4 @@ reader.close();
 
 使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[Java 接口定义](./InterfaceDefinition/InterfaceDefinition-Java.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index a12044328..b3aad5224 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -151,4 +151,6 @@ with TsFileReader(table_data_dir) as reader:
 
 ## 示例代码
 
-使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
+使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
+
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[Python 接口定义](./InterfaceDefinition/InterfaceDefinition-Python.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
index a9f055d1a..3f8c944f2 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -262,3 +262,5 @@ The sample code of using these interfaces is in <https://github.com/apache/tsfil
 
 The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
 
+
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[C 接口定义](./InterfaceDefinition/InterfaceDefinition-C.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
index 6a0a8ae0e..6ff8228db 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -244,3 +244,4 @@ target_link_libraries(your_target ${TSFILE_LIB})
 
 使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
 
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[C++ 接口定义](./InterfaceDefinition/InterfaceDefinition-CPP.md)。若需了解树模型相关内容,请联系我们。
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index a12044328..a4353d7f3 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -151,4 +151,7 @@ with TsFileReader(table_data_dir) as reader:
 
 ## 示例代码
 
-使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
\ No newline at end of file
+使用这些接口的示例代码可以在以下链接中找到:https://github.com/apache/tsfile/blob/develop/python/examples/example.py
+
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[Python 接口定义](./InterfaceDefinition/InterfaceDefinition-Python.md)。若需了解树模型相关内容,请联系我们。
+
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
index 1c6a8f873..36ec60d1c 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart.md
@@ -174,3 +174,4 @@ reader.close();
 
 使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
+> 注意:以上读写示例均基于表模型接口,接口定义介绍可见[Java 接口定义](./InterfaceDefinition/InterfaceDefinition-Java.md)。若需了解树模型相关内容,请联系我们。


(tsfile) 24/43: Update 1.1.2 download info (#589)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 440d539b9e70a3495624da71d93513e37d426c88
Author: Haonan <hh...@outlook.com>
AuthorDate: Tue Sep 9 11:31:43 2025 +0800

    Update 1.1.2 download info (#589)
---
 src/Download/README.md    | 4 ++--
 src/zh/Download/README.md | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Download/README.md b/src/Download/README.md
index 572e4a6ed..329bd7d85 100644
--- a/src/Download/README.md
+++ b/src/Download/README.md
@@ -24,7 +24,7 @@
 | Version | Dependency                                                                  | Sources                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | Release Nodes                                                    | IoTDB adaptation ver [...]
 |---------|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|------------------------------------------------------------------| -------------------- [...]
 | 2.1.1   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.0   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
+| 1.1.2   | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.2) | [Sources](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.2) | IoTDB V1.x |
 
 Legacy version are available here: https://archive.apache.org/dist/tsfile/
 # Download
@@ -44,4 +44,4 @@ Add the following dependency section to your pom.xml:
  </dependency>
 ```
 
-The release note of 2.1.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md
\ No newline at end of file
+The release note of 2.1.1 can be found in the Archives of the Apache Software Foundation: https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md
diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index a3c37ca84..769f743d1 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -24,7 +24,7 @@
 | 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                         | IoTDB 适配版本                     [...]
 |-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------| ---------------------------------------------------------------- | -------------------------- [...]
 | 2.1.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.1.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.1.1/apache-tsfile-2.1.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.1.1/RELEASE_NOTES.md) | IoTDB V2.x |
-| 1.1.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.0/apache-tsfile-1.1.0-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.0) | IoTDB V1.x |
+| 1.1.2 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.2) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.2/apache-tsfile-1.1.2-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.2) | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
 


(tsfile) 40/43: Update README with latest version 2.3.0

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 252bc9b1d313e1699026998b51d44d83c9b54865
Author: Hongzhi Gao <ho...@apache.org>
AuthorDate: Mon Apr 27 10:24:35 2026 +0800

    Update README with latest version 2.3.0
---
 src/zh/Download/README.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/zh/Download/README.md b/src/zh/Download/README.md
index b5a3e4444..2b1ca3ea4 100644
--- a/src/zh/Download/README.md
+++ b/src/zh/Download/README.md
@@ -23,7 +23,7 @@
 
 | 版本    | 依赖引用                                                                        | 源代码                                                                                              | SHA512                                                                                                     | ASC                                                                                                  | 版本特性                                                               | IoTDB 适配版本               [...]
 |-------|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| ------------------------ [...]
-| 2.2.1 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.2.1) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.2.1/apache-tsfile-2.2.1-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md) | IoTDB V2.x |
+| 2.3.0 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/2.3.0) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/2.3.0/apache-tsfile-2.3.0-source-release.zip.asc) | [Releases](https://dlcdn.apache.org/tsfile/2.3.0/RELEASE_NOTES.md) | IoTDB V2.x |
 | 1.1.3 | [pom](https://central.sonatype.com/artifact/org.apache.tsfile/tsfile/1.1.3) | [源代码](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip) | [sha512](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.sha512) | [asc](https://www.apache.org/dyn/closer.cgi/tsfile/1.1.3/apache-tsfile-1.1.3-source-release.zip.asc) | [Releases](https://github.com/apache/tsfile/releases/tag/v1.1.3)   | IoTDB V1.x |
 
 完整历史版本: https://archive.apache.org/dist/tsfile/
@@ -32,7 +32,7 @@
 
 GitHub 仓库地址:https://github.com/apache/tsfile
 
-最新版本是2.2.1。
+最新版本是2.3.0。
 
 点击 Maven 仓库地址下载:[Maven central repository](https://search.maven.org/search?q=g:org.apache.tsfile)
 
@@ -42,8 +42,8 @@ GitHub 仓库地址:https://github.com/apache/tsfile
  <dependency>
    <groupId>org.apache.tsfile</groupId>
    <artifactId>tsfile</artifactId>
-   <version>2.2.1</version>
+   <version>2.3.0</version>
  </dependency>
 ```
 
-该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.2.1/RELEASE_NOTES.md
+该版本的特性可点击查看: https://dlcdn.apache.org/tsfile/2.3.0/RELEASE_NOTES.md


(tsfile) 16/43: TsFile Ecological Integration (#476)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 3b9a31162c0d1e4112d59ea5a4ec351e33e3ab08
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Sun Apr 27 14:24:01 2025 +0800

    TsFile Ecological Integration (#476)
---
 src/.vuepress/sidebar/v1.x/en.ts                   |  11 +-
 src/.vuepress/sidebar/v1.x/zh.ts                   |  11 +-
 src/.vuepress/sidebar/v2.x/en.ts                   |  12 +-
 src/.vuepress/sidebar/v2.x/zh.ts                   |  12 +-
 .../develop/Ecosystem Integration/Flink-TsFile.md  | 180 ++++++++++++
 .../develop/Ecosystem Integration/Hive-TsFile.md   | 170 +++++++++++
 .../develop/Ecosystem Integration/Spark-TsFile.md  | 315 ++++++++++++++++++++
 .../latest/Ecosystem Integration/Flink-TsFile.md   | 180 ++++++++++++
 .../latest/Ecosystem Integration/Hive-TsFile.md    | 170 +++++++++++
 .../latest/Ecosystem Integration/Spark-TsFile.md   | 315 ++++++++++++++++++++
 .../v1.x/Ecosystem Integration/Flink-TsFile.md     | 180 ++++++++++++
 .../v1.x/Ecosystem Integration/Hive-TsFile.md      | 170 +++++++++++
 .../v1.x/Ecosystem Integration/Spark-TsFile.md     | 315 ++++++++++++++++++++
 .../develop/Ecosystem Integration/Flink-TsFile.md  | 178 ++++++++++++
 .../develop/Ecosystem Integration/Hive-TsFile.md   | 167 +++++++++++
 .../develop/Ecosystem Integration/Spark-TsFile.md  | 320 +++++++++++++++++++++
 .../latest/Ecosystem Integration/Flink-TsFile.md   | 178 ++++++++++++
 .../latest/Ecosystem Integration/Hive-TsFile.md    | 167 +++++++++++
 .../latest/Ecosystem Integration/Spark-TsFile.md   | 320 +++++++++++++++++++++
 .../v1.x/Ecosystem Integration/Flink-TsFile.md     | 178 ++++++++++++
 .../v1.x/Ecosystem Integration/Hive-TsFile.md      | 167 +++++++++++
 .../v1.x/Ecosystem Integration/Spark-TsFile.md     | 320 +++++++++++++++++++++
 22 files changed, 4032 insertions(+), 4 deletions(-)

diff --git a/src/.vuepress/sidebar/v1.x/en.ts b/src/.vuepress/sidebar/v1.x/en.ts
index 5bd7e1f43..dfd48d536 100644
--- a/src/.vuepress/sidebar/v1.x/en.ts
+++ b/src/.vuepress/sidebar/v1.x/en.ts
@@ -43,6 +43,15 @@ export const enSidebar = {
       //   { text: 'Quick Start', link: 'QuickStart' },
       // ],
     },
-
+    {
+      text: 'Ecosystem Integration',
+      collapsible: true,
+      prefix: 'Ecosystem-Integration/',
+      children: [
+        { text: 'Apache Flink', link: 'Flink-TsFile' },
+        { text: 'Apache Spark', link: 'Spark-TsFile' },           
+        { text: 'Apache Hive', link: 'Hive-TsFile' },
+      ],
+    },
   ]
 };
diff --git a/src/.vuepress/sidebar/v1.x/zh.ts b/src/.vuepress/sidebar/v1.x/zh.ts
index 956e7a9de..70cea13bc 100644
--- a/src/.vuepress/sidebar/v1.x/zh.ts
+++ b/src/.vuepress/sidebar/v1.x/zh.ts
@@ -43,6 +43,15 @@ export const zhSidebar = {
       //   { text: '快速上手', link: 'QuickStart' },
       // ],
     },
-
+    {
+      text: '生态集成',
+      collapsible: true,
+      prefix: 'Ecosystem-Integration/',
+      children: [
+        { text: 'Apache Flink', link: 'Flink-TsFile' },
+        { text: 'Apache Spark', link: 'Spark-TsFile' },           
+        { text: 'Apache Hive', link: 'Hive-TsFile' },
+      ],
+    },
   ]
 };
diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index 1f5c65e5e..d8956f27e 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -47,6 +47,16 @@ export const enSidebar = {
       text: 'Interface Definitions',
       collapsible: true,
       link: 'QuickStart/Interface-Definitions',
-    }
+    },
+    {
+      text: 'Ecosystem Integration',
+      collapsible: true,
+      prefix: 'Ecosystem-Integration/',
+      children: [
+        { text: 'Apache Flink', link: 'Flink-TsFile' },
+        { text: 'Apache Spark', link: 'Spark-TsFile' },           
+        { text: 'Apache Hive', link: 'Hive-TsFile' },
+      ],
+    },
   ]
 };
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index 58057e384..c4d95cd76 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -47,6 +47,16 @@ export const zhSidebar = {
       text: '接口定义',
       collapsible: true,
       link: 'QuickStart/Interface-Definitions',
-    }
+    },
+    {
+      text: '生态集成',
+      collapsible: true,
+      prefix: 'Ecosystem-Integration/',
+      children: [
+        { text: 'Apache Flink', link: 'Flink-TsFile' },
+        { text: 'Apache Spark', link: 'Spark-TsFile' },           
+        { text: 'Apache Hive', link: 'Hive-TsFile' },
+      ],
+    },
   ]
 };
diff --git a/src/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..79e29ab4a
--- /dev/null
+++ b/src/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,180 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+## 1. About Flink-TsFile-Connector
+
+Flink-TsFile-Connector implements the support of Flink for external data sources of Tsfile type. 
+This enables users to read and write  Tsfile by Flink via DataStream/DataSet API.
+
+With this connector, you can
+
+* load a single TsFile or multiple TsFiles(only for DataSet), from either the local file system or hdfs, into Flink
+* load all files in a specific directory, from either the local file system or hdfs, into Flink
+
+## 2. Quick Start
+
+### 2.1 TsFileInputFormat Example
+
+1. create TsFileInputFormat with default RowRowRecordParser.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. Read data from the input format and print to stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 Example of TSRecordOutputFormat 
+
+1. create TSRecordOutputFormat with default RowTSRecordConverter.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. write data via the output format:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
+
diff --git a/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..227a1e383
--- /dev/null
+++ b/src/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,170 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Apache Hive(TsFile)
+
+## 1. About Hive-TsFile-Connector
+
+Hive-TsFile-Connector implements the support of Hive for external data sources of Tsfile type. This enables users to operate TsFile by Hive.
+
+With this connector, you can
+
+* Load a single TsFile, from either the local file system or hdfs, into hive
+* Load all files in a specific directory, from either the local file system or hdfs, into hive
+* Query the tsfile through HQL.
+* As of now, the write operation is not supported in hive-connector. So, insert operation in HQL is not allowed while operating tsfile through hive.
+
+## 2. System Requirements
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
+## 3. Data Type Correspondence
+
+| TsFile data type | Hive field type |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+
+## 4. Add Dependency For Hive
+
+To use hive-connector in hive, we should add the hive-connector jar into hive.
+
+After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+
+Then in hive, use the command of `add jar XXX` to add the dependency. For example:
+
+```
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+
+## 5. Create Tsfile-backed Hive tables
+
+To create a Tsfile-backed table, specify the `serde` as `org.apache.iotdb.hive.TsFileSerDe`, 
+specify the `inputformat` as `org.apache.iotdb.hive.TSFHiveInputFormat`, 
+and the `outputformat` as `org.apache.iotdb.hive.TSFHiveOutputFormat`.
+
+Also provide a schema which only contains two fields: `time_stamp` and `sensor_id` for the table. 
+`time_stamp` is the time value of the time series 
+and `sensor_id` is the sensor name to extract from the tsfile to hive such as `sensor_1`. 
+The name of the table can be any valid table names in hive.
+
+Also a location provided for hive-connector to pull the most current data for the table.
+
+The location should be a specific directory on your local file system or HDFS to set up Hadoop.
+If it is in your local file system, the location should look like `file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+Last, set the `device_id` in `TBLPROPERTIES` to the device name you want to analyze.
+
+For example:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+In this example, the data of `root.baic2.WWS.leftfrontdoor.plc1.sensor_1` is pulled from the directory of `/data/data/sequence/root.baic2.WWS.leftfrontdoor/`. 
+This table results in a description as below:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+At this point, the Tsfile-backed table can be worked with in Hive like any other table.
+
+## 6. Query from TsFile-backed Hive tables
+
+Before we do any queries, we should set the `hive.input.format` in hive by executing the following command.
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+Now, we already have an external table named `only_sensor_1` in hive. 
+We can use any query operations through HQL to analyse it.
+
+For example:
+
+### 6.1 Select Clause Example
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 Aggregate Clause Example
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
+
diff --git a/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..6df313fcb
--- /dev/null
+++ b/src/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,315 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About Spark-TsFile-Connector
+
+Spark-TsFile-Connector implements the support of Spark for external data sources of Tsfile type. This enables users to read, write and query Tsfile by Spark.
+
+With this connector, you can
+
+* load a single TsFile, from either the local file system or hdfs, into Spark
+* load all files in a specific directory, from either the local file system or hdfs, into Spark
+* write data from Spark into TsFile
+
+## 2. System Requirements
+
+|Spark Version | Scala Version | Java Version | TsFile |
+|:-------------: | :-------------: | :------------: |:------------: |
+| `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+> Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
+
+## 3. Quick Start
+### 3.1 Local Mode
+
+Start Spark with TsFile-Spark-Connector in local mode: 
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+
+### 3.2 Distributed Mode
+
+Start Spark with TsFile-Spark-Connector in distributed mode (That is, the spark cluster is connected by spark-shell): 
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+## 4. Data Type Correspondence
+
+| TsFile data type | SparkSQL data type|
+| --------------| -------------- |
+| BOOLEAN       		   | BooleanType    |
+| INT32       		   | IntegerType    |
+| INT64       		   | LongType       |
+| FLOAT       		   | FloatType      |
+| DOUBLE      		   | DoubleType     |
+| TEXT      				| StringType     |
+
+## 5. Schema Inference
+
+The way to display TsFile is dependent on the schema. Take the following TsFile structure as an example: There are three measurements in the TsFile schema: status, temperature, and hardware. The basic information of these three measurements is listed:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+The existing data in the TsFile are:
+
+<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+
+The corresponding SparkSQL table is:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|--------------------------|----------------------------|
+|    1 | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+|    2 | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+|    3 | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+|    4 | null                          | true                     | bbb                        | null                          | null                     | null                       |
+|    5 | null                          | null                     | null                       | null                          | false                    | null                       |
+|    6 | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+You can also use narrow table form which as follows: (You can see part 6 about how to use narrow form)
+
+| time | device_name                   | status                   | hardware                   | temperature |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|
+|    1 | root.ln.wf02.wt01             | true                     | null                       | 2.2                           |
+|    1 | root.ln.wf02.wt02             | true                     | null                       | null                          |
+|    2 | root.ln.wf02.wt01             | null                     | null                       | 2.2                          |
+|    2 | root.ln.wf02.wt02             | false                    | aaa                        | null                           |
+|    3 | root.ln.wf02.wt01             | true                     | null                       | 2.1                           |
+|    4 | root.ln.wf02.wt02             | true                     | bbb                        | null                          |
+|    5 | root.ln.wf02.wt01             | false                    | null                       | null                          |
+|    6 | root.ln.wf02.wt02             | null                     | ccc                        | null                          |
+
+
+
+## 6. Scala API
+
+NOTE: Remember to assign necessary read and write permissions in advance.
+
+* Example 1: read from the local file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 2: read from the hadoop file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 3: read from a specific directory
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+Note 1: Global time ordering of all TsFiles in a directory is not supported now.
+
+Note 2: Measurements of the same name should have the same schema.
+
+* Example 4: query in wide form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 5: query in narrow form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 6: write in wide form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+* Example 7: write in narrow form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+
+Appendix A: Old Design of Schema Inference
+
+The way to display TsFile is related to TsFile Schema. Take the following TsFile structure as an example: There are three measurements in the Schema of TsFile: status, temperature, and hardware. The basic info of these three Measurements is:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+
+The existing data in the file are:
+
+<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+
+A set of time-series data
+
+There are two ways to show a set of time-series data:
+
+* the default way
+
+Two columns are created to store the full path of the device: time(LongType) and delta_object(StringType).
+
+- `time` : Timestamp, LongType
+- `delta_object` : Delta_object ID, StringType
+
+Next, a column is created for each Measurement to store the specific data. The SparkSQL table structure is:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|
+|1| root.ln.wf01.wt01 |True|2.2|null|
+|1| root.ln.wf02.wt02 |True|null|null|
+|2| root.ln.wf01.wt01 |null|2.2|null|
+|2| root.ln.wf02.wt02 |False|null|"aaa"|
+|2| root.sgcc.wf03.wt01 |True|null|null|
+|3| root.ln.wf01.wt01 |True|2.1|null|
+|3| root.sgcc.wf03.wt01 |True|3.3|null|
+|4| root.ln.wf01.wt01 |null|2.0|null|
+|4| root.ln.wf02.wt02 |True|null|"bbb"|
+|4| root.sgcc.wf03.wt01 |True|null|null|
+|5| root.ln.wf01.wt01 |False|null|null|
+|5| root.ln.wf02.wt02 |False|null|null|
+|5| root.sgcc.wf03.wt01 |True|null|null|
+|6| root.ln.wf02.wt02 |null|null|"ccc"|
+|6| root.sgcc.wf03.wt01 |null|6.6|null|
+|7| root.ln.wf01.wt01 |True|null|null|
+|8| root.ln.wf02.wt02 |null|null|"ddd"|
+|8| root.sgcc.wf03.wt01 |null|8.8|null|
+|9| root.sgcc.wf03.wt01 |null|9.9|null|
+
+
+
+* unfold delta_object column
+
+Expand the device column by "." into multiple columns, ignoring the root directory "root". Convenient for richer aggregation operations. To use this display way, the parameter "delta\_object\_name" is set in the table creation statement (refer to Example 5 in Section 5.1 of this manual), as in this example, parameter "delta\_object\_name" is set to "root.device.turbine". The number of path layers needs to be one-to-one. At this point, one column is created for each layer of the device pa [...]
+
+Then SparkSQL Table Structure is as follows:
+
+|time(LongType)| group(StringType)| field(StringType)| device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|---|---|
+|1| ln | wf01 | wt01 |True|2.2|null|
+|1| ln | wf02 | wt02 |True|null|null|
+|2| ln | wf01 | wt01 |null|2.2|null|
+|2| ln | wf02 | wt02 |False|null|"aaa"|
+|2| sgcc | wf03 | wt01 |True|null|null|
+|3| ln | wf01 | wt01 |True|2.1|null|
+|3| sgcc | wf03 | wt01 |True|3.3|null|
+|4| ln | wf01 | wt01 |null|2.0|null|
+|4| ln | wf02 | wt02 |True|null|"bbb"|
+|4| sgcc | wf03 | wt01 |True|null|null|
+|5| ln | wf01 | wt01 |False|null|null|
+|5| ln | wf02 | wt02 |False|null|null|
+|5| sgcc | wf03 | wt01 |True|null|null|
+|6| ln | wf02 | wt02 |null|null|"ccc"|
+|6| sgcc | wf03 | wt01 |null|6.6|null|
+|7| ln | wf01 | wt01 |True|null|null|
+|8| ln | wf02 | wt02 |null|null|"ddd"|
+|8| sgcc | wf03 | wt01 |null|8.8|null|
+|9| sgcc | wf03 | wt01 |null|9.9|null|
+
+
+TsFile-Spark-Connector displays one or more TsFiles as a table in SparkSQL By SparkSQL. It also allows users to specify a single directory or use wildcards to match multiple directories. If there are multiple TsFiles, the union of the measurements in all TsFiles will be retained in the table, and the measurement with the same name have the same data type by default. Note that if a situation with the same name but different data types exists, TsFile-Spark-Connector does not guarantee the  [...]
+
+The writing process is to write a DataFrame as one or more TsFiles. By default, two columns need to be included: time and delta_object. The rest of the columns are used as Measurement. If user wants to write the second table structure back to TsFile, user can set the "delta\_object\_name" parameter(refer to Section 5.1 of Section 5.1 of this manual).
+
+Appendix B: Old Note
+NOTE: Check the jar packages in the root directory  of your Spark and replace libthrift-0.9.2.jar and libfb303-0.9.2.jar with libthrift-0.9.1.jar and libfb303-0.9.1.jar respectively.
diff --git a/src/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..79e29ab4a
--- /dev/null
+++ b/src/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,180 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+## 1. About Flink-TsFile-Connector
+
+Flink-TsFile-Connector implements the support of Flink for external data sources of Tsfile type. 
+This enables users to read and write  Tsfile by Flink via DataStream/DataSet API.
+
+With this connector, you can
+
+* load a single TsFile or multiple TsFiles(only for DataSet), from either the local file system or hdfs, into Flink
+* load all files in a specific directory, from either the local file system or hdfs, into Flink
+
+## 2. Quick Start
+
+### 2.1 TsFileInputFormat Example
+
+1. create TsFileInputFormat with default RowRowRecordParser.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. Read data from the input format and print to stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 Example of TSRecordOutputFormat 
+
+1. create TSRecordOutputFormat with default RowTSRecordConverter.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. write data via the output format:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
+
diff --git a/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..227a1e383
--- /dev/null
+++ b/src/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,170 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Apache Hive(TsFile)
+
+## 1. About Hive-TsFile-Connector
+
+Hive-TsFile-Connector implements the support of Hive for external data sources of Tsfile type. This enables users to operate TsFile by Hive.
+
+With this connector, you can
+
+* Load a single TsFile, from either the local file system or hdfs, into hive
+* Load all files in a specific directory, from either the local file system or hdfs, into hive
+* Query the tsfile through HQL.
+* As of now, the write operation is not supported in hive-connector. So, insert operation in HQL is not allowed while operating tsfile through hive.
+
+## 2. System Requirements
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
+## 3. Data Type Correspondence
+
+| TsFile data type | Hive field type |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+
+## 4. Add Dependency For Hive
+
+To use hive-connector in hive, we should add the hive-connector jar into hive.
+
+After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+
+Then in hive, use the command of `add jar XXX` to add the dependency. For example:
+
+```
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+
+## 5. Create Tsfile-backed Hive tables
+
+To create a Tsfile-backed table, specify the `serde` as `org.apache.iotdb.hive.TsFileSerDe`, 
+specify the `inputformat` as `org.apache.iotdb.hive.TSFHiveInputFormat`, 
+and the `outputformat` as `org.apache.iotdb.hive.TSFHiveOutputFormat`.
+
+Also provide a schema which only contains two fields: `time_stamp` and `sensor_id` for the table. 
+`time_stamp` is the time value of the time series 
+and `sensor_id` is the sensor name to extract from the tsfile to hive such as `sensor_1`. 
+The name of the table can be any valid table names in hive.
+
+Also a location provided for hive-connector to pull the most current data for the table.
+
+The location should be a specific directory on your local file system or HDFS to set up Hadoop.
+If it is in your local file system, the location should look like `file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+Last, set the `device_id` in `TBLPROPERTIES` to the device name you want to analyze.
+
+For example:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+In this example, the data of `root.baic2.WWS.leftfrontdoor.plc1.sensor_1` is pulled from the directory of `/data/data/sequence/root.baic2.WWS.leftfrontdoor/`. 
+This table results in a description as below:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+At this point, the Tsfile-backed table can be worked with in Hive like any other table.
+
+## 6. Query from TsFile-backed Hive tables
+
+Before we do any queries, we should set the `hive.input.format` in hive by executing the following command.
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+Now, we already have an external table named `only_sensor_1` in hive. 
+We can use any query operations through HQL to analyse it.
+
+For example:
+
+### 6.1 Select Clause Example
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 Aggregate Clause Example
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
+
diff --git a/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..6df313fcb
--- /dev/null
+++ b/src/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,315 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About Spark-TsFile-Connector
+
+Spark-TsFile-Connector implements the support of Spark for external data sources of Tsfile type. This enables users to read, write and query Tsfile by Spark.
+
+With this connector, you can
+
+* load a single TsFile, from either the local file system or hdfs, into Spark
+* load all files in a specific directory, from either the local file system or hdfs, into Spark
+* write data from Spark into TsFile
+
+## 2. System Requirements
+
+|Spark Version | Scala Version | Java Version | TsFile |
+|:-------------: | :-------------: | :------------: |:------------: |
+| `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+> Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
+
+## 3. Quick Start
+### 3.1 Local Mode
+
+Start Spark with TsFile-Spark-Connector in local mode: 
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+
+### 3.2 Distributed Mode
+
+Start Spark with TsFile-Spark-Connector in distributed mode (That is, the spark cluster is connected by spark-shell): 
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+## 4. Data Type Correspondence
+
+| TsFile data type | SparkSQL data type|
+| --------------| -------------- |
+| BOOLEAN       		   | BooleanType    |
+| INT32       		   | IntegerType    |
+| INT64       		   | LongType       |
+| FLOAT       		   | FloatType      |
+| DOUBLE      		   | DoubleType     |
+| TEXT      				| StringType     |
+
+## 5. Schema Inference
+
+The way to display TsFile is dependent on the schema. Take the following TsFile structure as an example: There are three measurements in the TsFile schema: status, temperature, and hardware. The basic information of these three measurements is listed:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+The existing data in the TsFile are:
+
+<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+
+The corresponding SparkSQL table is:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|--------------------------|----------------------------|
+|    1 | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+|    2 | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+|    3 | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+|    4 | null                          | true                     | bbb                        | null                          | null                     | null                       |
+|    5 | null                          | null                     | null                       | null                          | false                    | null                       |
+|    6 | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+You can also use narrow table form which as follows: (You can see part 6 about how to use narrow form)
+
+| time | device_name                   | status                   | hardware                   | temperature |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|
+|    1 | root.ln.wf02.wt01             | true                     | null                       | 2.2                           |
+|    1 | root.ln.wf02.wt02             | true                     | null                       | null                          |
+|    2 | root.ln.wf02.wt01             | null                     | null                       | 2.2                          |
+|    2 | root.ln.wf02.wt02             | false                    | aaa                        | null                           |
+|    3 | root.ln.wf02.wt01             | true                     | null                       | 2.1                           |
+|    4 | root.ln.wf02.wt02             | true                     | bbb                        | null                          |
+|    5 | root.ln.wf02.wt01             | false                    | null                       | null                          |
+|    6 | root.ln.wf02.wt02             | null                     | ccc                        | null                          |
+
+
+
+## 6. Scala API
+
+NOTE: Remember to assign necessary read and write permissions in advance.
+
+* Example 1: read from the local file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 2: read from the hadoop file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 3: read from a specific directory
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+Note 1: Global time ordering of all TsFiles in a directory is not supported now.
+
+Note 2: Measurements of the same name should have the same schema.
+
+* Example 4: query in wide form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 5: query in narrow form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 6: write in wide form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+* Example 7: write in narrow form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+
+Appendix A: Old Design of Schema Inference
+
+The way to display TsFile is related to TsFile Schema. Take the following TsFile structure as an example: There are three measurements in the Schema of TsFile: status, temperature, and hardware. The basic info of these three Measurements is:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+
+The existing data in the file are:
+
+<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+
+A set of time-series data
+
+There are two ways to show a set of time-series data:
+
+* the default way
+
+Two columns are created to store the full path of the device: time(LongType) and delta_object(StringType).
+
+- `time` : Timestamp, LongType
+- `delta_object` : Delta_object ID, StringType
+
+Next, a column is created for each Measurement to store the specific data. The SparkSQL table structure is:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|
+|1| root.ln.wf01.wt01 |True|2.2|null|
+|1| root.ln.wf02.wt02 |True|null|null|
+|2| root.ln.wf01.wt01 |null|2.2|null|
+|2| root.ln.wf02.wt02 |False|null|"aaa"|
+|2| root.sgcc.wf03.wt01 |True|null|null|
+|3| root.ln.wf01.wt01 |True|2.1|null|
+|3| root.sgcc.wf03.wt01 |True|3.3|null|
+|4| root.ln.wf01.wt01 |null|2.0|null|
+|4| root.ln.wf02.wt02 |True|null|"bbb"|
+|4| root.sgcc.wf03.wt01 |True|null|null|
+|5| root.ln.wf01.wt01 |False|null|null|
+|5| root.ln.wf02.wt02 |False|null|null|
+|5| root.sgcc.wf03.wt01 |True|null|null|
+|6| root.ln.wf02.wt02 |null|null|"ccc"|
+|6| root.sgcc.wf03.wt01 |null|6.6|null|
+|7| root.ln.wf01.wt01 |True|null|null|
+|8| root.ln.wf02.wt02 |null|null|"ddd"|
+|8| root.sgcc.wf03.wt01 |null|8.8|null|
+|9| root.sgcc.wf03.wt01 |null|9.9|null|
+
+
+
+* unfold delta_object column
+
+Expand the device column by "." into multiple columns, ignoring the root directory "root". Convenient for richer aggregation operations. To use this display way, the parameter "delta\_object\_name" is set in the table creation statement (refer to Example 5 in Section 5.1 of this manual), as in this example, parameter "delta\_object\_name" is set to "root.device.turbine". The number of path layers needs to be one-to-one. At this point, one column is created for each layer of the device pa [...]
+
+Then SparkSQL Table Structure is as follows:
+
+|time(LongType)| group(StringType)| field(StringType)| device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|---|---|
+|1| ln | wf01 | wt01 |True|2.2|null|
+|1| ln | wf02 | wt02 |True|null|null|
+|2| ln | wf01 | wt01 |null|2.2|null|
+|2| ln | wf02 | wt02 |False|null|"aaa"|
+|2| sgcc | wf03 | wt01 |True|null|null|
+|3| ln | wf01 | wt01 |True|2.1|null|
+|3| sgcc | wf03 | wt01 |True|3.3|null|
+|4| ln | wf01 | wt01 |null|2.0|null|
+|4| ln | wf02 | wt02 |True|null|"bbb"|
+|4| sgcc | wf03 | wt01 |True|null|null|
+|5| ln | wf01 | wt01 |False|null|null|
+|5| ln | wf02 | wt02 |False|null|null|
+|5| sgcc | wf03 | wt01 |True|null|null|
+|6| ln | wf02 | wt02 |null|null|"ccc"|
+|6| sgcc | wf03 | wt01 |null|6.6|null|
+|7| ln | wf01 | wt01 |True|null|null|
+|8| ln | wf02 | wt02 |null|null|"ddd"|
+|8| sgcc | wf03 | wt01 |null|8.8|null|
+|9| sgcc | wf03 | wt01 |null|9.9|null|
+
+
+TsFile-Spark-Connector displays one or more TsFiles as a table in SparkSQL By SparkSQL. It also allows users to specify a single directory or use wildcards to match multiple directories. If there are multiple TsFiles, the union of the measurements in all TsFiles will be retained in the table, and the measurement with the same name have the same data type by default. Note that if a situation with the same name but different data types exists, TsFile-Spark-Connector does not guarantee the  [...]
+
+The writing process is to write a DataFrame as one or more TsFiles. By default, two columns need to be included: time and delta_object. The rest of the columns are used as Measurement. If user wants to write the second table structure back to TsFile, user can set the "delta\_object\_name" parameter(refer to Section 5.1 of Section 5.1 of this manual).
+
+Appendix B: Old Note
+NOTE: Check the jar packages in the root directory  of your Spark and replace libthrift-0.9.2.jar and libfb303-0.9.2.jar with libthrift-0.9.1.jar and libfb303-0.9.1.jar respectively.
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..79e29ab4a
--- /dev/null
+++ b/src/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,180 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+## 1. About Flink-TsFile-Connector
+
+Flink-TsFile-Connector implements the support of Flink for external data sources of Tsfile type. 
+This enables users to read and write  Tsfile by Flink via DataStream/DataSet API.
+
+With this connector, you can
+
+* load a single TsFile or multiple TsFiles(only for DataSet), from either the local file system or hdfs, into Flink
+* load all files in a specific directory, from either the local file system or hdfs, into Flink
+
+## 2. Quick Start
+
+### 2.1 TsFileInputFormat Example
+
+1. create TsFileInputFormat with default RowRowRecordParser.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. Read data from the input format and print to stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 Example of TSRecordOutputFormat 
+
+1. create TSRecordOutputFormat with default RowTSRecordConverter.
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. write data via the output format:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
+
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..227a1e383
--- /dev/null
+++ b/src/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,170 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Apache Hive(TsFile)
+
+## 1. About Hive-TsFile-Connector
+
+Hive-TsFile-Connector implements the support of Hive for external data sources of Tsfile type. This enables users to operate TsFile by Hive.
+
+With this connector, you can
+
+* Load a single TsFile, from either the local file system or hdfs, into hive
+* Load all files in a specific directory, from either the local file system or hdfs, into hive
+* Query the tsfile through HQL.
+* As of now, the write operation is not supported in hive-connector. So, insert operation in HQL is not allowed while operating tsfile through hive.
+
+## 2. System Requirements
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+
+## 3. Data Type Correspondence
+
+| TsFile data type | Hive field type |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+
+## 4. Add Dependency For Hive
+
+To use hive-connector in hive, we should add the hive-connector jar into hive.
+
+After downloading the code of iotdb from <https://github.com/apache/iotdb>, you can use the command of `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies` to get a `hive-connector-X.X.X-jar-with-dependencies.jar`.
+
+Then in hive, use the command of `add jar XXX` to add the dependency. For example:
+
+```
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+
+## 5. Create Tsfile-backed Hive tables
+
+To create a Tsfile-backed table, specify the `serde` as `org.apache.iotdb.hive.TsFileSerDe`, 
+specify the `inputformat` as `org.apache.iotdb.hive.TSFHiveInputFormat`, 
+and the `outputformat` as `org.apache.iotdb.hive.TSFHiveOutputFormat`.
+
+Also provide a schema which only contains two fields: `time_stamp` and `sensor_id` for the table. 
+`time_stamp` is the time value of the time series 
+and `sensor_id` is the sensor name to extract from the tsfile to hive such as `sensor_1`. 
+The name of the table can be any valid table names in hive.
+
+Also a location provided for hive-connector to pull the most current data for the table.
+
+The location should be a specific directory on your local file system or HDFS to set up Hadoop.
+If it is in your local file system, the location should look like `file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+Last, set the `device_id` in `TBLPROPERTIES` to the device name you want to analyze.
+
+For example:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+In this example, the data of `root.baic2.WWS.leftfrontdoor.plc1.sensor_1` is pulled from the directory of `/data/data/sequence/root.baic2.WWS.leftfrontdoor/`. 
+This table results in a description as below:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+At this point, the Tsfile-backed table can be worked with in Hive like any other table.
+
+## 6. Query from TsFile-backed Hive tables
+
+Before we do any queries, we should set the `hive.input.format` in hive by executing the following command.
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+Now, we already have an external table named `only_sensor_1` in hive. 
+We can use any query operations through HQL to analyse it.
+
+For example:
+
+### 6.1 Select Clause Example
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 Aggregate Clause Example
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
+
diff --git a/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..6df313fcb
--- /dev/null
+++ b/src/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,315 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About Spark-TsFile-Connector
+
+Spark-TsFile-Connector implements the support of Spark for external data sources of Tsfile type. This enables users to read, write and query Tsfile by Spark.
+
+With this connector, you can
+
+* load a single TsFile, from either the local file system or hdfs, into Spark
+* load all files in a specific directory, from either the local file system or hdfs, into Spark
+* write data from Spark into TsFile
+
+## 2. System Requirements
+
+|Spark Version | Scala Version | Java Version | TsFile |
+|:-------------: | :-------------: | :------------: |:------------: |
+| `2.4.3`        | `2.11.8`        | `1.8`        | `1.0.0`|
+
+> Note: For more information about how to download and use TsFile, please see the following link: https://github.com/apache/iotdb/tree/master/tsfile.
+> Currently we only support spark version 2.4.3 and there are some known issue on 2.4.7, do no use it
+
+## 3. Quick Start
+### 3.1 Local Mode
+
+Start Spark with TsFile-Spark-Connector in local mode: 
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+
+### 3.2 Distributed Mode
+
+Start Spark with TsFile-Spark-Connector in distributed mode (That is, the spark cluster is connected by spark-shell): 
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+Note:
+
+* \<spark-shell-path\> is the real path of your spark-shell.
+* Multiple jar packages are separated by commas without any spaces.
+* See https://github.com/apache/iotdb/tree/master/tsfile for how to get TsFile.
+
+## 4. Data Type Correspondence
+
+| TsFile data type | SparkSQL data type|
+| --------------| -------------- |
+| BOOLEAN       		   | BooleanType    |
+| INT32       		   | IntegerType    |
+| INT64       		   | LongType       |
+| FLOAT       		   | FloatType      |
+| DOUBLE      		   | DoubleType     |
+| TEXT      				| StringType     |
+
+## 5. Schema Inference
+
+The way to display TsFile is dependent on the schema. Take the following TsFile structure as an example: There are three measurements in the TsFile schema: status, temperature, and hardware. The basic information of these three measurements is listed:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+The existing data in the TsFile are:
+
+<img width="519" alt="ST 1" src="/img/github/98197920-be9abc80-1f62-11eb-9efb-027f0590031c.png">
+
+The corresponding SparkSQL table is:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|--------------------------|----------------------------|
+|    1 | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+|    2 | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+|    3 | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+|    4 | null                          | true                     | bbb                        | null                          | null                     | null                       |
+|    5 | null                          | null                     | null                       | null                          | false                    | null                       |
+|    6 | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+You can also use narrow table form which as follows: (You can see part 6 about how to use narrow form)
+
+| time | device_name                   | status                   | hardware                   | temperature |
+|------|-------------------------------|--------------------------|----------------------------|-------------------------------|
+|    1 | root.ln.wf02.wt01             | true                     | null                       | 2.2                           |
+|    1 | root.ln.wf02.wt02             | true                     | null                       | null                          |
+|    2 | root.ln.wf02.wt01             | null                     | null                       | 2.2                          |
+|    2 | root.ln.wf02.wt02             | false                    | aaa                        | null                           |
+|    3 | root.ln.wf02.wt01             | true                     | null                       | 2.1                           |
+|    4 | root.ln.wf02.wt02             | true                     | bbb                        | null                          |
+|    5 | root.ln.wf02.wt01             | false                    | null                       | null                          |
+|    6 | root.ln.wf02.wt02             | null                     | ccc                        | null                          |
+
+
+
+## 6. Scala API
+
+NOTE: Remember to assign necessary read and write permissions in advance.
+
+* Example 1: read from the local file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 2: read from the hadoop file system
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+* Example 3: read from a specific directory
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+Note 1: Global time ordering of all TsFiles in a directory is not supported now.
+
+Note 2: Measurements of the same name should have the same schema.
+
+* Example 4: query in wide form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 5: query in narrow form
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+* Example 6: write in wide form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+* Example 7: write in narrow form
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+
+Appendix A: Old Design of Schema Inference
+
+The way to display TsFile is related to TsFile Schema. Take the following TsFile structure as an example: There are three measurements in the Schema of TsFile: status, temperature, and hardware. The basic info of these three Measurements is:
+
+
+|Name|Type|Encode|
+|---|---|---|
+|status|Boolean|PLAIN|
+|temperature|Float|RLE|
+|hardware|Text|PLAIN|
+
+
+The existing data in the file are:
+
+<img width="817" alt="ST 2" src="/img/github/98197948-cf4b3280-1f62-11eb-9c8c-c97d1adf032c.png">
+
+A set of time-series data
+
+There are two ways to show a set of time-series data:
+
+* the default way
+
+Two columns are created to store the full path of the device: time(LongType) and delta_object(StringType).
+
+- `time` : Timestamp, LongType
+- `delta_object` : Delta_object ID, StringType
+
+Next, a column is created for each Measurement to store the specific data. The SparkSQL table structure is:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|
+|1| root.ln.wf01.wt01 |True|2.2|null|
+|1| root.ln.wf02.wt02 |True|null|null|
+|2| root.ln.wf01.wt01 |null|2.2|null|
+|2| root.ln.wf02.wt02 |False|null|"aaa"|
+|2| root.sgcc.wf03.wt01 |True|null|null|
+|3| root.ln.wf01.wt01 |True|2.1|null|
+|3| root.sgcc.wf03.wt01 |True|3.3|null|
+|4| root.ln.wf01.wt01 |null|2.0|null|
+|4| root.ln.wf02.wt02 |True|null|"bbb"|
+|4| root.sgcc.wf03.wt01 |True|null|null|
+|5| root.ln.wf01.wt01 |False|null|null|
+|5| root.ln.wf02.wt02 |False|null|null|
+|5| root.sgcc.wf03.wt01 |True|null|null|
+|6| root.ln.wf02.wt02 |null|null|"ccc"|
+|6| root.sgcc.wf03.wt01 |null|6.6|null|
+|7| root.ln.wf01.wt01 |True|null|null|
+|8| root.ln.wf02.wt02 |null|null|"ddd"|
+|8| root.sgcc.wf03.wt01 |null|8.8|null|
+|9| root.sgcc.wf03.wt01 |null|9.9|null|
+
+
+
+* unfold delta_object column
+
+Expand the device column by "." into multiple columns, ignoring the root directory "root". Convenient for richer aggregation operations. To use this display way, the parameter "delta\_object\_name" is set in the table creation statement (refer to Example 5 in Section 5.1 of this manual), as in this example, parameter "delta\_object\_name" is set to "root.device.turbine". The number of path layers needs to be one-to-one. At this point, one column is created for each layer of the device pa [...]
+
+Then SparkSQL Table Structure is as follows:
+
+|time(LongType)| group(StringType)| field(StringType)| device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|---|---|---|---|---|---|---|
+|1| ln | wf01 | wt01 |True|2.2|null|
+|1| ln | wf02 | wt02 |True|null|null|
+|2| ln | wf01 | wt01 |null|2.2|null|
+|2| ln | wf02 | wt02 |False|null|"aaa"|
+|2| sgcc | wf03 | wt01 |True|null|null|
+|3| ln | wf01 | wt01 |True|2.1|null|
+|3| sgcc | wf03 | wt01 |True|3.3|null|
+|4| ln | wf01 | wt01 |null|2.0|null|
+|4| ln | wf02 | wt02 |True|null|"bbb"|
+|4| sgcc | wf03 | wt01 |True|null|null|
+|5| ln | wf01 | wt01 |False|null|null|
+|5| ln | wf02 | wt02 |False|null|null|
+|5| sgcc | wf03 | wt01 |True|null|null|
+|6| ln | wf02 | wt02 |null|null|"ccc"|
+|6| sgcc | wf03 | wt01 |null|6.6|null|
+|7| ln | wf01 | wt01 |True|null|null|
+|8| ln | wf02 | wt02 |null|null|"ddd"|
+|8| sgcc | wf03 | wt01 |null|8.8|null|
+|9| sgcc | wf03 | wt01 |null|9.9|null|
+
+
+TsFile-Spark-Connector displays one or more TsFiles as a table in SparkSQL By SparkSQL. It also allows users to specify a single directory or use wildcards to match multiple directories. If there are multiple TsFiles, the union of the measurements in all TsFiles will be retained in the table, and the measurement with the same name have the same data type by default. Note that if a situation with the same name but different data types exists, TsFile-Spark-Connector does not guarantee the  [...]
+
+The writing process is to write a DataFrame as one or more TsFiles. By default, two columns need to be included: time and delta_object. The rest of the columns are used as Measurement. If user wants to write the second table structure back to TsFile, user can set the "delta\_object\_name" parameter(refer to Section 5.1 of Section 5.1 of this manual).
+
+Appendix B: Old Note
+NOTE: Check the jar packages in the root directory  of your Spark and replace libthrift-0.9.2.jar and libfb303-0.9.2.jar with libthrift-0.9.1.jar and libfb303-0.9.1.jar respectively.
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..f7a25a5a4
--- /dev/null
+++ b/src/zh/UserGuide/develop/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,178 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+##  1. 关于 TsFile-Flink 连接器
+
+TsFile-Flink-Connector 对 Tsfile 类型的外部数据源实现 Flink 的支持。 这使用户可以通过 Flink DataStream/DataSet 进行读取,写入和查询。
+
+使用此连接器,您可以
+
+* 从本地文件系统或 hdfs 加载单个或多个 TsFile (只支持以 DataSet 的形式)到 Flink 。
+* 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Flink 中。
+
+##  2. 快速开始
+
+### 2.1 TsFileInputFormat 示例
+
+1. 使用默认的 RowRowRecordParser 创建 TsFileInputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+    Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. 从输入格式读取数据并打印到标准输出 stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 TSRecordOutputFormat 示例
+
+1. 使用默认的 RowTSRecordConverter 创建 TSRecordOutputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. 通过输出格式写数据:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..ce411bd4e
--- /dev/null
+++ b/src/zh/UserGuide/develop/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,167 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Hive(TsFile)
+
+## 1. 什么是 TsFile 的 Hive 连接器
+
+TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件格式的支持,
+使用户能够通过 Hive 操作 Tsfile。
+
+有了这个连接器,用户可以
+* 将单个 Tsfile 文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 将某个特定目录下的所有文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 使用 HQL 查询 tsfile
+* 到现在为止,写操作在 hive-connector 中还没有被支持。所以,HQL 中的 insert 操作是不被允许的
+
+## 2. 系统环境要求
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0+`|
+
+## 3. 数据类型对应关系
+
+| TsFile 数据类型   | Hive 数据类型 |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+## 4. 为 Hive 添加依赖 jar 包
+
+为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
+
+从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+
+然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
+
+```shell
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+## 5. 创建 Tsfile-backed 的 Hive 表
+
+为了创建一个 Tsfile-backed 的表,需要将`serde`指定为`org.apache.iotdb.hive.TsFileSerDe`,
+将`inputformat`指定为`org.apache.iotdb.hive.TSFHiveInputFormat`,
+将`outputformat`指定为`org.apache.iotdb.hive.TSFHiveOutputFormat`。
+
+同时要提供一个只包含两个字段的 Schema,这两个字段分别是`time_stamp`和`sensor_id`。
+`time_stamp`代表的是时间序列的时间值,`sensor_id`是你想要从 tsfile 文件中提取出来分析的传感器名称,比如说`sensor_1`。
+表的名字可以是 hive 所支持的任何表名。
+
+需要提供一个路径供 hive-connector 从其中拉取最新的数据。
+
+这个路径必须是一个指定的文件夹,这个文件夹可以在你的本地文件系统上,也可以在 HDFS 上,如果你启动了 Hadoop 的话。
+如果是本地文件系统,要以这样的形式`file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+最后需要在`TBLPROPERTIES`里指明`device_id`
+
+例如:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+
+在这个例子里,我们从`/data/data/sequence/root.baic2.WWS.leftfrontdoor/`中拉取`root.baic2.WWS.leftfrontdoor.plc1.sensor_1`的数据。
+这个表可能产生如下描述:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+
+到目前为止,Tsfile-backed 的表已经可以像 hive 中其他表一样被操作了。
+
+## 6. 从 Tsfile-backed 的 Hive 表中查询
+
+在做任何查询之前,我们需要通过如下命令,在 hive 中设置`hive.input.format`:
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+现在,我们已经在 hive 中有了一个名为`only_sensor_1`的外部表。
+我们可以使用 HQL 做任何查询来分析其中的数据。
+
+例如:
+
+### 6.1 选择查询语句示例
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 聚合查询语句示例
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
diff --git a/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..e7fc54b3c
--- /dev/null
+++ b/src/zh/UserGuide/develop/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,320 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About TsFile-Spark-Connector
+
+TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持。 这使用户可以通过 Spark 读取,写入和查询 Tsfile。
+
+使用此连接器,您可以
+
+- 从本地文件系统或 hdfs 加载单个 TsFile 到 Spark
+- 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Spark 中
+- 将数据从 Spark 写入 TsFile
+
+## 2. System Requirements
+
+| Spark Version | Scala Version | Java Version | TsFile   |
+| ------------- | ------------- | ------------ | -------- |
+| `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
+
+> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
+> 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
+
+## 3. 快速开始
+
+### 3.1 本地模式
+
+在本地模式下使用 TsFile-Spark-Connector 启动 Spark:
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
+
+### 3.2 分布式模式
+
+在分布式模式下使用 TsFile-Spark-Connector 启动 Spark(即,Spark 集群通过 spark-shell 连接):
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+注意:
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+
+## 4. 数据类型对应
+
+| TsFile 数据类型 | SparkSQL 数据类型 |
+| -------------- | ---------------- |
+| BOOLEAN        | BooleanType      |
+| INT32          | IntegerType      |
+| INT64          | LongType         |
+| FLOAT          | FloatType        |
+| DOUBLE         | DoubleType       |
+| TEXT           | StringType       |
+
+## 5. 模式推断
+
+显示 TsFile 的方式取决于架构。 以以下 TsFile 结构为例:TsFile 模式中有三个度量:状态,温度和硬件。 这三种测量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件 |Text|PLAIN|
+
+TsFile 中的现有数据如下:
+
+ * d1:root.ln.wf01.wt01
+ * d2:root.ln.wf02.wt02
+
+| time  | d1.status | time  | d1.temperature | time  | d2.hardware | time  | d2.status |
+| :---- | :----     | :---- | :----          | :---- | :----       | :---- | :----     |
+|   1   | True	    |   1   |       2.2      |   2   |    "aaa"    |   1   |    True   |
+|   3   | True	    |   2   |       2.2      |   4   |    "bbb"    |   2   |    False  |
+|   5   | False     |   3	|       2.1      |   6	 |    "ccc"    |   4   |    True   |
+
+相应的 SparkSQL 表如下:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+| ---- | ----------------------------- | ------------------------ | -------------------------- | ----------------------------- | ------------------------ | -------------------------- |
+| 1    | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+| 2    | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+| 3    | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+| 4    | null                          | true                     | bbb                        | null                          | null                     | null                       |
+| 5    | null                          | null                     | null                       | null                          | false                    | null                       |
+| 6    | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+您还可以使用如下所示的窄表形式:(您可以参阅第 6 部分,了解如何使用窄表形式)
+
+| time | device_name       | status | hardware | temperature |
+| ---- | ----------------- | ------ | -------- | ----------- |
+| 1    | root.ln.wf02.wt01 | true   | null     | 2.2         |
+| 1    | root.ln.wf02.wt02 | true   | null     | null        |
+| 2    | root.ln.wf02.wt01 | null   | null     | 2.2         |
+| 2    | root.ln.wf02.wt02 | false  | aaa      | null        |
+| 3    | root.ln.wf02.wt01 | true   | null     | 2.1         |
+| 4    | root.ln.wf02.wt02 | true   | bbb      | null        |
+| 5    | root.ln.wf02.wt01 | false  | null     | null        |
+| 6    | root.ln.wf02.wt02 | null   | ccc      | null        |
+
+## 6. Scala API
+
+注意:请记住预先分配必要的读写权限。
+
+ * 示例 1:从本地文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 2:从 hadoop 文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 3:从特定目录读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+注 1:现在不支持目录中所有 TsFile 的全局时间排序。
+
+注 2:具有相同名称的度量应具有相同的架构。
+
+ * 示例 4:广泛形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 示例 5:缩小形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 例 6:写宽格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+ * 例 7:写窄格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+附录 A:模式推断的旧设计
+
+显示 TsFile 的方式与 TsFile Schema 有关。 以以下 TsFile 结构为例:TsFile 架构中有三个度量:状态,温度和硬件。 这三个度量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件|Text|PLAIN|
+
+文件中的现有数据如下:
+
+ * delta_object1: root.ln.wf01.wt01
+ * delta_object2: root.ln.wf02.wt02
+ * delta_object3: :root.sgcc.wf03.wt01
+
+| time | delta_object1.status | time | delta_object1.temperature | time | delta_object2.hardware | time | delta_object2.status | time | delta_object3.status | time | delta_object3.temperature | 
+| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |
+|   1   |  True	|   1   |  2.2  |   2   | "aaa" |   1   | True  |   2   | True  |   3   |  3.3  |
+|   3   |  True	|   2   |  2.2  |   4   | "bbb" |   2   | False |   3   | True  |   6   |  6.6  |
+|   5   |  False|   3	|  2.1  |   6	| "ccc" |   4   | True  |   4   | True  |   8   |  8.8  |
+|   7   |  True |   4   |  2.0  |   8   | "ddd" |   5   | False |   6   | True  |   9   |  9.9  |
+
+有两种显示方法:
+
+ * 默认方式
+
+将创建两列来存储设备的完整路径:time(LongType)和 delta_object(StringType)。
+
+- `time`:时间戳记,LongType
+- `delta_object`:Delta_object ID,StringType
+
+接下来,为每个度量创建一列以存储特定数据。 SparkSQL 表结构如下:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |
+|1|root.ln.wf01.wt01|True|2.2|null|
+|1|root.ln.wf02.wt02|True|null|null|
+|2|root.ln.wf01.wt01|null|2.2|null|
+|2|root.ln.wf02.wt02|False|null|"aaa"|
+|2|root.sgcc.wf03.wt01|True|null|null|
+|3|root.ln.wf01.wt01|True|2.1|null|
+|3|root.sgcc.wf03.wt01|True|3.3|null|
+|4|root.ln.wf01.wt01|null|2.0|null|
+|4|root.ln.wf02.wt02|True|null|"bbb"|
+|4|root.sgcc.wf03.wt01|True|null|null|
+|5|root.ln.wf01.wt01|False|null|null|
+|5|root.ln.wf02.wt02|False|null|null|
+|5|root.sgcc.wf03.wt01|True|null|null|
+|6|root.ln.wf02.wt02|null|null|"ccc"|
+|6|root.sgcc.wf03.wt01|null|6.6|null|
+|7|root.ln.wf01.wt01|True|null|null|
+|8|root.ln.wf02.wt02|null|null|"ddd"|
+|8|root.sgcc.wf03.wt01|null|8.8|null|
+|9|root.sgcc.wf03.wt01|null|9.9|null|
+
+ * 展开 delta_object 列
+
+通过“。”将设备列展开为多个列,忽略根目录“root”。方便进行更丰富的聚合操作。如果用户想使用这种显示方式,需要在表创建语句中设置参数“delta\_object\_name”(参考本手册 5.1 节中的示例 5),在本例中,将参数“delta\_object\_name”设置为“root.device.turbine”。路径层的数量必须是一对一的。此时,除了“根”层之外,为设备路径的每一层创建一列。列名是参数中的名称,值是设备相应层的名称。接下来,将为每个度量创建一个列来存储特定的数据。
+
+那么 SparkSQL 表结构如下:
+
+|time(LongType)|group(StringType)|field(StringType)|device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |--- |--- |
+|1|ln|wf01|wt01|True|2.2|null|
+|1|ln|wf02|wt02|True|null|null|
+|2|ln|wf01|wt01|null|2.2|null|
+|2|ln|wf02|wt02|False|null|"aaa"|
+|2|sgcc|wf03|wt01|True|null|null|
+|3|ln|wf01|wt01|True|2.1|null|
+|3|sgcc|wf03|wt01|True|3.3|null|
+|4|ln|wf01|wt01|null|2.0|null|
+|4|ln|wf02|wt02|True|null|"bbb"|
+|4|sgcc|wf03|wt01|True|null|null|
+|5|ln|wf01|wt01|False|null|null|
+|5|ln|wf02|wt02|False|null|null|
+|5|sgcc|wf03|wt01|True|null|null|
+|6|ln|wf02|wt02|null|null|"ccc"|
+|6|sgcc|wf03|wt01|null|6.6|null|
+|7|ln|wf01|wt01|True|null|null|
+|8|ln|wf02|wt02|null|null|"ddd"|
+|8|sgcc|wf03|wt01|null|8.8|null|
+|9|sgcc|wf03|wt01|null|9.9|null|
+
+TsFile-Spark-Connector 可以通过 SparkSQL 在 SparkSQL 中以表的形式显示一个或多个 tsfile。它还允许用户指定一个目录或使用通配符来匹配多个目录。如果有多个 tsfile,那么所有 tsfile 中的度量值的并集将保留在表中,并且具有相同名称的度量值在默认情况下具有相同的数据类型。注意,如果存在名称相同但数据类型不同的情况,TsFile-Spark-Connector 将不能保证结果的正确性。
+
+写入过程是将数据 aframe 写入一个或多个 tsfile。默认情况下,需要包含两个列:time 和 delta_object。其余的列用作测量。如果用户希望将第二个表结构写回 TsFile,可以设置“delta\_object\_name”参数(请参阅本手册 5.1 节的 5.1 节)。
+
+附录 B:旧注
+
+注意:检查 Spark 根目录中的 jar 软件包,并将 libthrift-0.9.2.jar 和 libfb303-0.9.2.jar 分别替换为 libthrift-0.9.1.jar 和 libfb303-0.9.1.jar。
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..f7a25a5a4
--- /dev/null
+++ b/src/zh/UserGuide/latest/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,178 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+##  1. 关于 TsFile-Flink 连接器
+
+TsFile-Flink-Connector 对 Tsfile 类型的外部数据源实现 Flink 的支持。 这使用户可以通过 Flink DataStream/DataSet 进行读取,写入和查询。
+
+使用此连接器,您可以
+
+* 从本地文件系统或 hdfs 加载单个或多个 TsFile (只支持以 DataSet 的形式)到 Flink 。
+* 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Flink 中。
+
+##  2. 快速开始
+
+### 2.1 TsFileInputFormat 示例
+
+1. 使用默认的 RowRowRecordParser 创建 TsFileInputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+    Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. 从输入格式读取数据并打印到标准输出 stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 TSRecordOutputFormat 示例
+
+1. 使用默认的 RowTSRecordConverter 创建 TSRecordOutputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. 通过输出格式写数据:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..ce411bd4e
--- /dev/null
+++ b/src/zh/UserGuide/latest/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,167 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Hive(TsFile)
+
+## 1. 什么是 TsFile 的 Hive 连接器
+
+TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件格式的支持,
+使用户能够通过 Hive 操作 Tsfile。
+
+有了这个连接器,用户可以
+* 将单个 Tsfile 文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 将某个特定目录下的所有文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 使用 HQL 查询 tsfile
+* 到现在为止,写操作在 hive-connector 中还没有被支持。所以,HQL 中的 insert 操作是不被允许的
+
+## 2. 系统环境要求
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0+`|
+
+## 3. 数据类型对应关系
+
+| TsFile 数据类型   | Hive 数据类型 |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+## 4. 为 Hive 添加依赖 jar 包
+
+为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
+
+从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+
+然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
+
+```shell
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+## 5. 创建 Tsfile-backed 的 Hive 表
+
+为了创建一个 Tsfile-backed 的表,需要将`serde`指定为`org.apache.iotdb.hive.TsFileSerDe`,
+将`inputformat`指定为`org.apache.iotdb.hive.TSFHiveInputFormat`,
+将`outputformat`指定为`org.apache.iotdb.hive.TSFHiveOutputFormat`。
+
+同时要提供一个只包含两个字段的 Schema,这两个字段分别是`time_stamp`和`sensor_id`。
+`time_stamp`代表的是时间序列的时间值,`sensor_id`是你想要从 tsfile 文件中提取出来分析的传感器名称,比如说`sensor_1`。
+表的名字可以是 hive 所支持的任何表名。
+
+需要提供一个路径供 hive-connector 从其中拉取最新的数据。
+
+这个路径必须是一个指定的文件夹,这个文件夹可以在你的本地文件系统上,也可以在 HDFS 上,如果你启动了 Hadoop 的话。
+如果是本地文件系统,要以这样的形式`file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+最后需要在`TBLPROPERTIES`里指明`device_id`
+
+例如:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+
+在这个例子里,我们从`/data/data/sequence/root.baic2.WWS.leftfrontdoor/`中拉取`root.baic2.WWS.leftfrontdoor.plc1.sensor_1`的数据。
+这个表可能产生如下描述:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+
+到目前为止,Tsfile-backed 的表已经可以像 hive 中其他表一样被操作了。
+
+## 6. 从 Tsfile-backed 的 Hive 表中查询
+
+在做任何查询之前,我们需要通过如下命令,在 hive 中设置`hive.input.format`:
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+现在,我们已经在 hive 中有了一个名为`only_sensor_1`的外部表。
+我们可以使用 HQL 做任何查询来分析其中的数据。
+
+例如:
+
+### 6.1 选择查询语句示例
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 聚合查询语句示例
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
diff --git a/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..e7fc54b3c
--- /dev/null
+++ b/src/zh/UserGuide/latest/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,320 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About TsFile-Spark-Connector
+
+TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持。 这使用户可以通过 Spark 读取,写入和查询 Tsfile。
+
+使用此连接器,您可以
+
+- 从本地文件系统或 hdfs 加载单个 TsFile 到 Spark
+- 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Spark 中
+- 将数据从 Spark 写入 TsFile
+
+## 2. System Requirements
+
+| Spark Version | Scala Version | Java Version | TsFile   |
+| ------------- | ------------- | ------------ | -------- |
+| `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
+
+> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
+> 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
+
+## 3. 快速开始
+
+### 3.1 本地模式
+
+在本地模式下使用 TsFile-Spark-Connector 启动 Spark:
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
+
+### 3.2 分布式模式
+
+在分布式模式下使用 TsFile-Spark-Connector 启动 Spark(即,Spark 集群通过 spark-shell 连接):
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+注意:
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+
+## 4. 数据类型对应
+
+| TsFile 数据类型 | SparkSQL 数据类型 |
+| -------------- | ---------------- |
+| BOOLEAN        | BooleanType      |
+| INT32          | IntegerType      |
+| INT64          | LongType         |
+| FLOAT          | FloatType        |
+| DOUBLE         | DoubleType       |
+| TEXT           | StringType       |
+
+## 5. 模式推断
+
+显示 TsFile 的方式取决于架构。 以以下 TsFile 结构为例:TsFile 模式中有三个度量:状态,温度和硬件。 这三种测量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件 |Text|PLAIN|
+
+TsFile 中的现有数据如下:
+
+ * d1:root.ln.wf01.wt01
+ * d2:root.ln.wf02.wt02
+
+| time  | d1.status | time  | d1.temperature | time  | d2.hardware | time  | d2.status |
+| :---- | :----     | :---- | :----          | :---- | :----       | :---- | :----     |
+|   1   | True	    |   1   |       2.2      |   2   |    "aaa"    |   1   |    True   |
+|   3   | True	    |   2   |       2.2      |   4   |    "bbb"    |   2   |    False  |
+|   5   | False     |   3	|       2.1      |   6	 |    "ccc"    |   4   |    True   |
+
+相应的 SparkSQL 表如下:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+| ---- | ----------------------------- | ------------------------ | -------------------------- | ----------------------------- | ------------------------ | -------------------------- |
+| 1    | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+| 2    | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+| 3    | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+| 4    | null                          | true                     | bbb                        | null                          | null                     | null                       |
+| 5    | null                          | null                     | null                       | null                          | false                    | null                       |
+| 6    | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+您还可以使用如下所示的窄表形式:(您可以参阅第 6 部分,了解如何使用窄表形式)
+
+| time | device_name       | status | hardware | temperature |
+| ---- | ----------------- | ------ | -------- | ----------- |
+| 1    | root.ln.wf02.wt01 | true   | null     | 2.2         |
+| 1    | root.ln.wf02.wt02 | true   | null     | null        |
+| 2    | root.ln.wf02.wt01 | null   | null     | 2.2         |
+| 2    | root.ln.wf02.wt02 | false  | aaa      | null        |
+| 3    | root.ln.wf02.wt01 | true   | null     | 2.1         |
+| 4    | root.ln.wf02.wt02 | true   | bbb      | null        |
+| 5    | root.ln.wf02.wt01 | false  | null     | null        |
+| 6    | root.ln.wf02.wt02 | null   | ccc      | null        |
+
+## 6. Scala API
+
+注意:请记住预先分配必要的读写权限。
+
+ * 示例 1:从本地文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 2:从 hadoop 文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 3:从特定目录读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+注 1:现在不支持目录中所有 TsFile 的全局时间排序。
+
+注 2:具有相同名称的度量应具有相同的架构。
+
+ * 示例 4:广泛形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 示例 5:缩小形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 例 6:写宽格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+ * 例 7:写窄格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+附录 A:模式推断的旧设计
+
+显示 TsFile 的方式与 TsFile Schema 有关。 以以下 TsFile 结构为例:TsFile 架构中有三个度量:状态,温度和硬件。 这三个度量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件|Text|PLAIN|
+
+文件中的现有数据如下:
+
+ * delta_object1: root.ln.wf01.wt01
+ * delta_object2: root.ln.wf02.wt02
+ * delta_object3: :root.sgcc.wf03.wt01
+
+| time | delta_object1.status | time | delta_object1.temperature | time | delta_object2.hardware | time | delta_object2.status | time | delta_object3.status | time | delta_object3.temperature | 
+| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |
+|   1   |  True	|   1   |  2.2  |   2   | "aaa" |   1   | True  |   2   | True  |   3   |  3.3  |
+|   3   |  True	|   2   |  2.2  |   4   | "bbb" |   2   | False |   3   | True  |   6   |  6.6  |
+|   5   |  False|   3	|  2.1  |   6	| "ccc" |   4   | True  |   4   | True  |   8   |  8.8  |
+|   7   |  True |   4   |  2.0  |   8   | "ddd" |   5   | False |   6   | True  |   9   |  9.9  |
+
+有两种显示方法:
+
+ * 默认方式
+
+将创建两列来存储设备的完整路径:time(LongType)和 delta_object(StringType)。
+
+- `time`:时间戳记,LongType
+- `delta_object`:Delta_object ID,StringType
+
+接下来,为每个度量创建一列以存储特定数据。 SparkSQL 表结构如下:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |
+|1|root.ln.wf01.wt01|True|2.2|null|
+|1|root.ln.wf02.wt02|True|null|null|
+|2|root.ln.wf01.wt01|null|2.2|null|
+|2|root.ln.wf02.wt02|False|null|"aaa"|
+|2|root.sgcc.wf03.wt01|True|null|null|
+|3|root.ln.wf01.wt01|True|2.1|null|
+|3|root.sgcc.wf03.wt01|True|3.3|null|
+|4|root.ln.wf01.wt01|null|2.0|null|
+|4|root.ln.wf02.wt02|True|null|"bbb"|
+|4|root.sgcc.wf03.wt01|True|null|null|
+|5|root.ln.wf01.wt01|False|null|null|
+|5|root.ln.wf02.wt02|False|null|null|
+|5|root.sgcc.wf03.wt01|True|null|null|
+|6|root.ln.wf02.wt02|null|null|"ccc"|
+|6|root.sgcc.wf03.wt01|null|6.6|null|
+|7|root.ln.wf01.wt01|True|null|null|
+|8|root.ln.wf02.wt02|null|null|"ddd"|
+|8|root.sgcc.wf03.wt01|null|8.8|null|
+|9|root.sgcc.wf03.wt01|null|9.9|null|
+
+ * 展开 delta_object 列
+
+通过“。”将设备列展开为多个列,忽略根目录“root”。方便进行更丰富的聚合操作。如果用户想使用这种显示方式,需要在表创建语句中设置参数“delta\_object\_name”(参考本手册 5.1 节中的示例 5),在本例中,将参数“delta\_object\_name”设置为“root.device.turbine”。路径层的数量必须是一对一的。此时,除了“根”层之外,为设备路径的每一层创建一列。列名是参数中的名称,值是设备相应层的名称。接下来,将为每个度量创建一个列来存储特定的数据。
+
+那么 SparkSQL 表结构如下:
+
+|time(LongType)|group(StringType)|field(StringType)|device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |--- |--- |
+|1|ln|wf01|wt01|True|2.2|null|
+|1|ln|wf02|wt02|True|null|null|
+|2|ln|wf01|wt01|null|2.2|null|
+|2|ln|wf02|wt02|False|null|"aaa"|
+|2|sgcc|wf03|wt01|True|null|null|
+|3|ln|wf01|wt01|True|2.1|null|
+|3|sgcc|wf03|wt01|True|3.3|null|
+|4|ln|wf01|wt01|null|2.0|null|
+|4|ln|wf02|wt02|True|null|"bbb"|
+|4|sgcc|wf03|wt01|True|null|null|
+|5|ln|wf01|wt01|False|null|null|
+|5|ln|wf02|wt02|False|null|null|
+|5|sgcc|wf03|wt01|True|null|null|
+|6|ln|wf02|wt02|null|null|"ccc"|
+|6|sgcc|wf03|wt01|null|6.6|null|
+|7|ln|wf01|wt01|True|null|null|
+|8|ln|wf02|wt02|null|null|"ddd"|
+|8|sgcc|wf03|wt01|null|8.8|null|
+|9|sgcc|wf03|wt01|null|9.9|null|
+
+TsFile-Spark-Connector 可以通过 SparkSQL 在 SparkSQL 中以表的形式显示一个或多个 tsfile。它还允许用户指定一个目录或使用通配符来匹配多个目录。如果有多个 tsfile,那么所有 tsfile 中的度量值的并集将保留在表中,并且具有相同名称的度量值在默认情况下具有相同的数据类型。注意,如果存在名称相同但数据类型不同的情况,TsFile-Spark-Connector 将不能保证结果的正确性。
+
+写入过程是将数据 aframe 写入一个或多个 tsfile。默认情况下,需要包含两个列:time 和 delta_object。其余的列用作测量。如果用户希望将第二个表结构写回 TsFile,可以设置“delta\_object\_name”参数(请参阅本手册 5.1 节的 5.1 节)。
+
+附录 B:旧注
+
+注意:检查 Spark 根目录中的 jar 软件包,并将 libthrift-0.9.2.jar 和 libfb303-0.9.2.jar 分别替换为 libthrift-0.9.1.jar 和 libfb303-0.9.1.jar。
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md
new file mode 100644
index 000000000..f7a25a5a4
--- /dev/null
+++ b/src/zh/UserGuide/v1.x/Ecosystem Integration/Flink-TsFile.md	
@@ -0,0 +1,178 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Flink(TsFile)
+
+##  1. 关于 TsFile-Flink 连接器
+
+TsFile-Flink-Connector 对 Tsfile 类型的外部数据源实现 Flink 的支持。 这使用户可以通过 Flink DataStream/DataSet 进行读取,写入和查询。
+
+使用此连接器,您可以
+
+* 从本地文件系统或 hdfs 加载单个或多个 TsFile (只支持以 DataSet 的形式)到 Flink 。
+* 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Flink 中。
+
+##  2. 快速开始
+
+### 2.1 TsFileInputFormat 示例
+
+1. 使用默认的 RowRowRecordParser 创建 TsFileInputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+	Types.LONG,
+	Types.FLOAT,
+	Types.INT,
+    Types.INT,
+	Types.FLOAT,
+	Types.INT,
+	Types.INT
+};
+List<Path> paths = Arrays.stream(filedNames)
+	.filter(s -> !s.equals(QueryConstant.RESERVED_TIME))
+	.map(Path::new)
+	.collect(Collectors.toList());
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+QueryExpression queryExpression = QueryExpression.create(paths, null);
+RowRowRecordParser parser = RowRowRecordParser.create(rowTypeInfo, queryExpression.getSelectedSeries());
+TsFileInputFormat inputFormat = new TsFileInputFormat<>(queryExpression, parser);
+```
+
+2. 从输入格式读取数据并打印到标准输出 stdout:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataStream<Row> source = senv.createInput(inputFormat);
+DataStream<String> rowString = source.map(Row::toString);
+Iterator<String> result = DataStreamUtils.collect(rowString);
+while (result.hasNext()) {
+	System.out.println(result.next());
+}
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+inputFormat.setFilePath("source.tsfile");
+DataSet<Row> source = env.createInput(inputFormat);
+List<String> result = source.map(Row::toString).collect();
+for (String s : result) {
+	System.out.println(s);
+}
+```
+
+### 2.2 TSRecordOutputFormat 示例
+
+1. 使用默认的 RowTSRecordConverter 创建 TSRecordOutputFormat 。
+
+```java
+String[] filedNames = {
+	QueryConstant.RESERVED_TIME,
+	"device_1.sensor_1",
+	"device_1.sensor_2",
+	"device_1.sensor_3",
+	"device_2.sensor_1",
+	"device_2.sensor_2",
+	"device_2.sensor_3"
+};
+TypeInformation[] typeInformations = new TypeInformation[] {
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+    Types.LONG,
+	Types.LONG,
+	Types.LONG
+};
+RowTypeInfo rowTypeInfo = new RowTypeInfo(typeInformations, filedNames);
+Schema schema = new Schema();
+schema.extendTemplate("template", new MeasurementSchema("sensor_1", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_2", TSDataType.INT64, TSEncoding.TS_2DIFF));
+schema.extendTemplate("template", new MeasurementSchema("sensor_3", TSDataType.INT64, TSEncoding.TS_2DIFF));
+RowTSRecordConverter converter = new RowTSRecordConverter(rowTypeInfo);
+TSRecordOutputFormat<Row> outputFormat = new TSRecordOutputFormat<>(schema, converter);
+```
+
+2. 通过输出格式写数据:
+
+DataStream:
+
+```java
+StreamExecutionEnvironment senv = StreamExecutionEnvironment.getExecutionEnvironment();
+senv.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+outputFormat.setOutputFilePath(new org.apache.flink.core.fs.Path(path));
+DataStream<Tuple7> source = senv.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).writeUsingOutputFormat(outputFormat);
+senv.execute();
+```
+
+DataSet:
+
+```java
+ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
+env.setParallelism(1);
+List<Tuple7> data = new ArrayList<>(7);
+data.add(new Tuple7(1L, 2L, 3L, 4L, 5L, 6L, 7L));
+data.add(new Tuple7(2L, 3L, 4L, 5L, 6L, 7L, 8L));
+data.add(new Tuple7(3L, 4L, 5L, 6L, 7L, 8L, 9L));
+data.add(new Tuple7(4L, 5L, 6L, 7L, 8L, 9L, 10L));
+data.add(new Tuple7(6L, 6L, 7L, 8L, 9L, 10L, 11L));
+data.add(new Tuple7(7L, 7L, 8L, 9L, 10L, 11L, 12L));
+data.add(new Tuple7(8L, 8L, 9L, 10L, 11L, 12L, 13L));
+DataSet<Tuple7> source = env.fromCollection(
+	data, Types.TUPLE(Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG, Types.LONG));
+source.map(t -> {
+	Row row = new Row(7);
+	for (int i = 0; i < 7; i++) {
+		row.setField(i, t.getField(i));
+	}
+	return row;
+}).returns(rowTypeInfo).write(outputFormat, path);
+env.execute();
+```
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md
new file mode 100644
index 000000000..ce411bd4e
--- /dev/null
+++ b/src/zh/UserGuide/v1.x/Ecosystem Integration/Hive-TsFile.md	
@@ -0,0 +1,167 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Hive(TsFile)
+
+## 1. 什么是 TsFile 的 Hive 连接器
+
+TsFile 的 Hive 连接器实现了对 Hive 读取外部 Tsfile 类型的文件格式的支持,
+使用户能够通过 Hive 操作 Tsfile。
+
+有了这个连接器,用户可以
+* 将单个 Tsfile 文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 将某个特定目录下的所有文件加载进 Hive,不论文件是存储在本地文件系统或者是 HDFS 中
+* 使用 HQL 查询 tsfile
+* 到现在为止,写操作在 hive-connector 中还没有被支持。所以,HQL 中的 insert 操作是不被允许的
+
+## 2. 系统环境要求
+
+|Hadoop Version |Hive Version | Java Version | TsFile |
+|-------------  |------------ | ------------ |------------ |
+| `2.7.3` or `3.2.1`       |    `2.3.6` or `3.1.2`  | `1.8`        | `1.0.0+`|
+
+## 3. 数据类型对应关系
+
+| TsFile 数据类型   | Hive 数据类型 |
+| ---------------- | --------------- |
+| BOOLEAN          | Boolean         |
+| INT32            | INT             |
+| INT64       	   | BIGINT          |
+| FLOAT       	   | Float           |
+| DOUBLE      	   | Double          |
+| TEXT      	   | STRING          |
+
+## 4. 为 Hive 添加依赖 jar 包
+
+为了在 Hive 中使用 Tsfile 的 hive 连接器,我们需要把 hive 连接器的 jar 导入进 hive。
+
+从 <https://github.com/apache/iotdb>下载完 iotdb 后,你可以使用 `mvn clean package -pl iotdb-connector/hive-connector -am -Dmaven.test.skip=true -P get-jar-with-dependencies`命令得到一个 `hive-connector-X.X.X-SNAPSHOT-jar-with-dependencies.jar`。
+
+然后在 hive 的命令行中,使用`add jar XXX`命令添加依赖。例如:
+
+```shell
+hive> add jar /Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar;
+
+Added [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar] to class path
+Added resources: [/Users/hive/iotdb/hive-connector/target/hive-connector-1.0.0-jar-with-dependencies.jar]
+```
+
+## 5. 创建 Tsfile-backed 的 Hive 表
+
+为了创建一个 Tsfile-backed 的表,需要将`serde`指定为`org.apache.iotdb.hive.TsFileSerDe`,
+将`inputformat`指定为`org.apache.iotdb.hive.TSFHiveInputFormat`,
+将`outputformat`指定为`org.apache.iotdb.hive.TSFHiveOutputFormat`。
+
+同时要提供一个只包含两个字段的 Schema,这两个字段分别是`time_stamp`和`sensor_id`。
+`time_stamp`代表的是时间序列的时间值,`sensor_id`是你想要从 tsfile 文件中提取出来分析的传感器名称,比如说`sensor_1`。
+表的名字可以是 hive 所支持的任何表名。
+
+需要提供一个路径供 hive-connector 从其中拉取最新的数据。
+
+这个路径必须是一个指定的文件夹,这个文件夹可以在你的本地文件系统上,也可以在 HDFS 上,如果你启动了 Hadoop 的话。
+如果是本地文件系统,要以这样的形式`file:///data/data/sequence/root.baic2.WWS.leftfrontdoor/`
+
+最后需要在`TBLPROPERTIES`里指明`device_id`
+
+例如:
+
+```
+CREATE EXTERNAL TABLE IF NOT EXISTS only_sensor_1(
+  time_stamp TIMESTAMP,
+  sensor_1 BIGINT)
+ROW FORMAT SERDE 'org.apache.iotdb.hive.TsFileSerDe'
+STORED AS
+  INPUTFORMAT 'org.apache.iotdb.hive.TSFHiveInputFormat'
+  OUTPUTFORMAT 'org.apache.iotdb.hive.TSFHiveOutputFormat'
+LOCATION '/data/data/sequence/root.baic2.WWS.leftfrontdoor/'
+TBLPROPERTIES ('device_id'='root.baic2.WWS.leftfrontdoor.plc1');
+```
+
+在这个例子里,我们从`/data/data/sequence/root.baic2.WWS.leftfrontdoor/`中拉取`root.baic2.WWS.leftfrontdoor.plc1.sensor_1`的数据。
+这个表可能产生如下描述:
+
+```
+hive> describe only_sensor_1;
+OK
+time_stamp          	timestamp              	from deserializer
+sensor_1            	bigint              	from deserializer
+Time taken: 0.053 seconds, Fetched: 2 row(s)
+```
+
+到目前为止,Tsfile-backed 的表已经可以像 hive 中其他表一样被操作了。
+
+## 6. 从 Tsfile-backed 的 Hive 表中查询
+
+在做任何查询之前,我们需要通过如下命令,在 hive 中设置`hive.input.format`:
+
+```
+hive> set hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;
+```
+
+现在,我们已经在 hive 中有了一个名为`only_sensor_1`的外部表。
+我们可以使用 HQL 做任何查询来分析其中的数据。
+
+例如:
+
+### 6.1 选择查询语句示例
+
+```
+hive> select * from only_sensor_1 limit 10;
+OK
+1	1000000
+2	1000001
+3	1000002
+4	1000003
+5	1000004
+6	1000005
+7	1000006
+8	1000007
+9	1000008
+10	1000009
+Time taken: 1.464 seconds, Fetched: 10 row(s)
+```
+
+### 6.2 聚合查询语句示例
+
+```
+hive> select count(*) from only_sensor_1;
+WARNING: Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. spark, tez) or using Hive 1.X releases.
+Query ID = jackietien_20191016202416_d1e3e233-d367-4453-b39a-2aac9327a3b6
+Total jobs = 1
+Launching Job 1 out of 1
+Number of reduce tasks determined at compile time: 1
+In order to change the average load for a reducer (in bytes):
+  set hive.exec.reducers.bytes.per.reducer=<number>
+In order to limit the maximum number of reducers:
+  set hive.exec.reducers.max=<number>
+In order to set a constant number of reducers:
+  set mapreduce.job.reduces=<number>
+Job running in-process (local Hadoop)
+2019-10-16 20:24:18,305 Stage-1 map = 0%,  reduce = 0%
+2019-10-16 20:24:27,443 Stage-1 map = 100%,  reduce = 100%
+Ended Job = job_local867757288_0002
+MapReduce Jobs Launched:
+Stage-Stage-1:  HDFS Read: 0 HDFS Write: 0 SUCCESS
+Total MapReduce CPU Time Spent: 0 msec
+OK
+1000000
+Time taken: 11.334 seconds, Fetched: 1 row(s)
+```
diff --git a/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md b/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md
new file mode 100644
index 000000000..e7fc54b3c
--- /dev/null
+++ b/src/zh/UserGuide/v1.x/Ecosystem Integration/Spark-TsFile.md	
@@ -0,0 +1,320 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# Apache Spark(TsFile)
+
+## 1. About TsFile-Spark-Connector
+
+TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持。 这使用户可以通过 Spark 读取,写入和查询 Tsfile。
+
+使用此连接器,您可以
+
+- 从本地文件系统或 hdfs 加载单个 TsFile 到 Spark
+- 将本地文件系统或 hdfs 中特定目录中的所有文件加载到 Spark 中
+- 将数据从 Spark 写入 TsFile
+
+## 2. System Requirements
+
+| Spark Version | Scala Version | Java Version | TsFile   |
+| ------------- | ------------- | ------------ | -------- |
+| `2.4.3`       | `2.11.8`      | `1.8`        | `1.0.0` |
+
+> 注意:有关如何下载和使用 TsFile 的更多信息,请参见以下链接:https://github.com/apache/iotdb/tree/master/tsfile
+> 注意:spark 版本目前仅支持 2.4.3, 其他版本可能存在不适配的问题,目前已知 2.4.7 的版本存在不适配的问题
+
+## 3. 快速开始
+
+### 3.1 本地模式
+
+在本地模式下使用 TsFile-Spark-Connector 启动 Spark:
+
+```
+./<spark-shell-path>  --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar
+```
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+- 获取到 dependency 包:```mvn clean package -DskipTests -P get-jar-with-dependencies```
+
+### 3.2 分布式模式
+
+在分布式模式下使用 TsFile-Spark-Connector 启动 Spark(即,Spark 集群通过 spark-shell 连接):
+
+```
+. /<spark-shell-path>   --jars  tsfile-spark-connector.jar,tsfile-{version}-jar-with-dependencies.jar,hadoop-tsfile-{version}-jar-with-dependencies.jar  --master spark://ip:7077
+```
+
+注意:
+
+- \<spark-shell-path\>是您的 spark-shell 的真实路径。
+- 多个 jar 包用逗号分隔,没有任何空格。
+- 有关如何获取 TsFile 的信息,请参见 https://github.com/apache/iotdb/tree/master/tsfile。
+
+## 4. 数据类型对应
+
+| TsFile 数据类型 | SparkSQL 数据类型 |
+| -------------- | ---------------- |
+| BOOLEAN        | BooleanType      |
+| INT32          | IntegerType      |
+| INT64          | LongType         |
+| FLOAT          | FloatType        |
+| DOUBLE         | DoubleType       |
+| TEXT           | StringType       |
+
+## 5. 模式推断
+
+显示 TsFile 的方式取决于架构。 以以下 TsFile 结构为例:TsFile 模式中有三个度量:状态,温度和硬件。 这三种测量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件 |Text|PLAIN|
+
+TsFile 中的现有数据如下:
+
+ * d1:root.ln.wf01.wt01
+ * d2:root.ln.wf02.wt02
+
+| time  | d1.status | time  | d1.temperature | time  | d2.hardware | time  | d2.status |
+| :---- | :----     | :---- | :----          | :---- | :----       | :---- | :----     |
+|   1   | True	    |   1   |       2.2      |   2   |    "aaa"    |   1   |    True   |
+|   3   | True	    |   2   |       2.2      |   4   |    "bbb"    |   2   |    False  |
+|   5   | False     |   3	|       2.1      |   6	 |    "ccc"    |   4   |    True   |
+
+相应的 SparkSQL 表如下:
+
+| time | root.ln.wf02.wt02.temperature | root.ln.wf02.wt02.status | root.ln.wf02.wt02.hardware | root.ln.wf01.wt01.temperature | root.ln.wf01.wt01.status | root.ln.wf01.wt01.hardware |
+| ---- | ----------------------------- | ------------------------ | -------------------------- | ----------------------------- | ------------------------ | -------------------------- |
+| 1    | null                          | true                     | null                       | 2.2                           | true                     | null                       |
+| 2    | null                          | false                    | aaa                        | 2.2                           | null                     | null                       |
+| 3    | null                          | null                     | null                       | 2.1                           | true                     | null                       |
+| 4    | null                          | true                     | bbb                        | null                          | null                     | null                       |
+| 5    | null                          | null                     | null                       | null                          | false                    | null                       |
+| 6    | null                          | null                     | ccc                        | null                          | null                     | null                       |
+
+您还可以使用如下所示的窄表形式:(您可以参阅第 6 部分,了解如何使用窄表形式)
+
+| time | device_name       | status | hardware | temperature |
+| ---- | ----------------- | ------ | -------- | ----------- |
+| 1    | root.ln.wf02.wt01 | true   | null     | 2.2         |
+| 1    | root.ln.wf02.wt02 | true   | null     | null        |
+| 2    | root.ln.wf02.wt01 | null   | null     | 2.2         |
+| 2    | root.ln.wf02.wt02 | false  | aaa      | null        |
+| 3    | root.ln.wf02.wt01 | true   | null     | 2.1         |
+| 4    | root.ln.wf02.wt02 | true   | bbb      | null        |
+| 5    | root.ln.wf02.wt01 | false  | null     | null        |
+| 6    | root.ln.wf02.wt02 | null   | ccc      | null        |
+
+## 6. Scala API
+
+注意:请记住预先分配必要的读写权限。
+
+ * 示例 1:从本地文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("test.tsfile")  
+wide_df.show
+
+val narrow_df = spark.read.tsfile("test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 2:从 hadoop 文件系统读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val wide_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+wide_df.show
+
+val narrow_df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true)  
+narrow_df.show
+```
+
+ * 示例 3:从特定目录读取
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/usr/hadoop") 
+df.show
+```
+
+注 1:现在不支持目录中所有 TsFile 的全局时间排序。
+
+注 2:具有相同名称的度量应具有相同的架构。
+
+ * 示例 4:广泛形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where `device_1.sensor_1`>0 and `device_1.sensor_2` < 22")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 示例 5:缩小形式的查询
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select * from tsfile_table where device_name = 'root.ln.wf02.wt02' and temperature > 5")
+newDf.show
+```
+
+```scala
+import org.apache.iotdb.spark.tsfile._
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.createOrReplaceTempView("tsfile_table")
+val newDf = spark.sql("select count(*) from tsfile_table")
+newDf.show
+```
+
+ * 例 6:写宽格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile") 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output")
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output")
+newDf.show
+```
+
+ * 例 7:写窄格式
+
+```scala
+// we only support wide_form table to write
+import org.apache.iotdb.spark.tsfile._
+
+val df = spark.read.tsfile("hdfs://localhost:9000/test.tsfile", true) 
+df.show
+df.write.tsfile("hdfs://localhost:9000/output", true)
+
+val newDf = spark.read.tsfile("hdfs://localhost:9000/output", true)
+newDf.show
+```
+
+附录 A:模式推断的旧设计
+
+显示 TsFile 的方式与 TsFile Schema 有关。 以以下 TsFile 结构为例:TsFile 架构中有三个度量:状态,温度和硬件。 这三个度量的基本信息如下:
+
+|名称 | 类型 | 编码 |
+| ---- | ---- | ---- | 
+|状态 | Boolean|PLAIN|
+|温度 | Float|RLE|
+|硬件|Text|PLAIN|
+
+文件中的现有数据如下:
+
+ * delta_object1: root.ln.wf01.wt01
+ * delta_object2: root.ln.wf02.wt02
+ * delta_object3: :root.sgcc.wf03.wt01
+
+| time | delta_object1.status | time | delta_object1.temperature | time | delta_object2.hardware | time | delta_object2.status | time | delta_object3.status | time | delta_object3.temperature | 
+| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |
+|   1   |  True	|   1   |  2.2  |   2   | "aaa" |   1   | True  |   2   | True  |   3   |  3.3  |
+|   3   |  True	|   2   |  2.2  |   4   | "bbb" |   2   | False |   3   | True  |   6   |  6.6  |
+|   5   |  False|   3	|  2.1  |   6	| "ccc" |   4   | True  |   4   | True  |   8   |  8.8  |
+|   7   |  True |   4   |  2.0  |   8   | "ddd" |   5   | False |   6   | True  |   9   |  9.9  |
+
+有两种显示方法:
+
+ * 默认方式
+
+将创建两列来存储设备的完整路径:time(LongType)和 delta_object(StringType)。
+
+- `time`:时间戳记,LongType
+- `delta_object`:Delta_object ID,StringType
+
+接下来,为每个度量创建一列以存储特定数据。 SparkSQL 表结构如下:
+
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |
+|1|root.ln.wf01.wt01|True|2.2|null|
+|1|root.ln.wf02.wt02|True|null|null|
+|2|root.ln.wf01.wt01|null|2.2|null|
+|2|root.ln.wf02.wt02|False|null|"aaa"|
+|2|root.sgcc.wf03.wt01|True|null|null|
+|3|root.ln.wf01.wt01|True|2.1|null|
+|3|root.sgcc.wf03.wt01|True|3.3|null|
+|4|root.ln.wf01.wt01|null|2.0|null|
+|4|root.ln.wf02.wt02|True|null|"bbb"|
+|4|root.sgcc.wf03.wt01|True|null|null|
+|5|root.ln.wf01.wt01|False|null|null|
+|5|root.ln.wf02.wt02|False|null|null|
+|5|root.sgcc.wf03.wt01|True|null|null|
+|6|root.ln.wf02.wt02|null|null|"ccc"|
+|6|root.sgcc.wf03.wt01|null|6.6|null|
+|7|root.ln.wf01.wt01|True|null|null|
+|8|root.ln.wf02.wt02|null|null|"ddd"|
+|8|root.sgcc.wf03.wt01|null|8.8|null|
+|9|root.sgcc.wf03.wt01|null|9.9|null|
+
+ * 展开 delta_object 列
+
+通过“。”将设备列展开为多个列,忽略根目录“root”。方便进行更丰富的聚合操作。如果用户想使用这种显示方式,需要在表创建语句中设置参数“delta\_object\_name”(参考本手册 5.1 节中的示例 5),在本例中,将参数“delta\_object\_name”设置为“root.device.turbine”。路径层的数量必须是一对一的。此时,除了“根”层之外,为设备路径的每一层创建一列。列名是参数中的名称,值是设备相应层的名称。接下来,将为每个度量创建一个列来存储特定的数据。
+
+那么 SparkSQL 表结构如下:
+
+|time(LongType)|group(StringType)|field(StringType)|device(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|--- |--- |--- |--- |--- |--- |--- |
+|1|ln|wf01|wt01|True|2.2|null|
+|1|ln|wf02|wt02|True|null|null|
+|2|ln|wf01|wt01|null|2.2|null|
+|2|ln|wf02|wt02|False|null|"aaa"|
+|2|sgcc|wf03|wt01|True|null|null|
+|3|ln|wf01|wt01|True|2.1|null|
+|3|sgcc|wf03|wt01|True|3.3|null|
+|4|ln|wf01|wt01|null|2.0|null|
+|4|ln|wf02|wt02|True|null|"bbb"|
+|4|sgcc|wf03|wt01|True|null|null|
+|5|ln|wf01|wt01|False|null|null|
+|5|ln|wf02|wt02|False|null|null|
+|5|sgcc|wf03|wt01|True|null|null|
+|6|ln|wf02|wt02|null|null|"ccc"|
+|6|sgcc|wf03|wt01|null|6.6|null|
+|7|ln|wf01|wt01|True|null|null|
+|8|ln|wf02|wt02|null|null|"ddd"|
+|8|sgcc|wf03|wt01|null|8.8|null|
+|9|sgcc|wf03|wt01|null|9.9|null|
+
+TsFile-Spark-Connector 可以通过 SparkSQL 在 SparkSQL 中以表的形式显示一个或多个 tsfile。它还允许用户指定一个目录或使用通配符来匹配多个目录。如果有多个 tsfile,那么所有 tsfile 中的度量值的并集将保留在表中,并且具有相同名称的度量值在默认情况下具有相同的数据类型。注意,如果存在名称相同但数据类型不同的情况,TsFile-Spark-Connector 将不能保证结果的正确性。
+
+写入过程是将数据 aframe 写入一个或多个 tsfile。默认情况下,需要包含两个列:time 和 delta_object。其余的列用作测量。如果用户希望将第二个表结构写回 TsFile,可以设置“delta\_object\_name”参数(请参阅本手册 5.1 节的 5.1 节)。
+
+附录 B:旧注
+
+注意:检查 Spark 根目录中的 jar 软件包,并将 libthrift-0.9.2.jar 和 libfb303-0.9.2.jar 分别替换为 libthrift-0.9.1.jar 和 libfb303-0.9.1.jar。


(tsfile) 25/43: fix some api and example. (#612)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit 1de25c81743a6349e51ecae62236c6f234ea24fe
Author: Colin Lee <10...@users.noreply.github.com>
AuthorDate: Mon Oct 27 11:22:31 2025 +0800

    fix some api and example. (#612)
---
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md      | 2 +-
 src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md                 | 4 ++--
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md      | 2 +-
 src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md                  | 4 ++--
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md      | 2 +-
 src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md              | 4 ++--
 .../QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md      | 2 +-
 src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md               | 4 ++--
 8 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index ad6d4619d..4798efad6 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -225,7 +225,7 @@ class ResultSet:
     :param max_row_num: The maximum number of rows to retrieve. Default is 1024.
     :return: A DataFrame containing data from the query result set.
     """
-    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+    def read_data_frame(self, max_row_num : int = 1024) -> DataFrame
 
     
     """
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 2d855a9e3..2f2cb2b05 100644
--- a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -86,7 +86,7 @@ if os.path.exists(table_data_dir):
 
 column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
 column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
-column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+column3 = ColumnSchema("value", TSDataType.DOUBLE, ColumnCategory.FIELD)
 table_schema = TableSchema("test_table", columns=[column1, column2, column3])
 
 
@@ -95,7 +95,7 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
     tablet_row_num = 100
     tablet = Tablet(
                     ["id", "id2", "value"],
-                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.DOUBLE],
                     tablet_row_num)
 
     for i in range(tablet_row_num):
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index ad6d4619d..4798efad6 100644
--- a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -225,7 +225,7 @@ class ResultSet:
     :param max_row_num: The maximum number of rows to retrieve. Default is 1024.
     :return: A DataFrame containing data from the query result set.
     """
-    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+    def read_data_frame(self, max_row_num : int = 1024) -> DataFrame
 
     
     """
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 2d855a9e3..2f2cb2b05 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -86,7 +86,7 @@ if os.path.exists(table_data_dir):
 
 column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
 column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
-column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+column3 = ColumnSchema("value", TSDataType.DOUBLE, ColumnCategory.FIELD)
 table_schema = TableSchema("test_table", columns=[column1, column2, column3])
 
 
@@ -95,7 +95,7 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
     tablet_row_num = 100
     tablet = Tablet(
                     ["id", "id2", "value"],
-                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.DOUBLE],
                     tablet_row_num)
 
     for i in range(tablet_row_num):
diff --git a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 157d8cbab..7143a5839 100644
--- a/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -214,7 +214,7 @@ class ResultSet:
     :param max_row_num: 要读取的最大行数,默认值为 1024。
     :return: 包含查询结果数据的 DataFrame。
     """
-    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+    def read_data_frame(self, max_row_num : int = 1024) -> DataFrame
 
     """
     从查询结果集中按索引获取值。
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
index 6d0b32cd9..6978bedee 100644
--- a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -94,7 +94,7 @@ if os.path.exists(table_data_dir):
 
 column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
 column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
-column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+column3 = ColumnSchema("value", TSDataType.DOUBLE, ColumnCategory.FIELD)
 table_schema = TableSchema("test_table", columns=[column1, column2, column3])
 
 
@@ -103,7 +103,7 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
     tablet_row_num = 100
     tablet = Tablet(
                     ["id", "id2", "value"],
-                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.DOUBLE],
                     tablet_row_num)
 
     for i in range(tablet_row_num):
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
index 157d8cbab..7143a5839 100644
--- a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -214,7 +214,7 @@ class ResultSet:
     :param max_row_num: 要读取的最大行数,默认值为 1024。
     :return: 包含查询结果数据的 DataFrame。
     """
-    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+    def read_data_frame(self, max_row_num : int = 1024) -> DataFrame
 
     """
     从查询结果集中按索引获取值。
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
index 6d0b32cd9..6978bedee 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -94,7 +94,7 @@ if os.path.exists(table_data_dir):
 
 column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
 column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
-column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+column3 = ColumnSchema("value", TSDataType.DOUBLE, ColumnCategory.FIELD)
 table_schema = TableSchema("test_table", columns=[column1, column2, column3])
 
 
@@ -103,7 +103,7 @@ with TsFileTableWriter(table_data_dir, table_schema) as writer:
     tablet_row_num = 100
     tablet = Tablet(
                     ["id", "id2", "value"],
-                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.DOUBLE],
                     tablet_row_num)
 
     for i in range(tablet_row_num):


(tsfile) 20/43: Update Tsfile multilingual version (#552)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit c0278cd582f8fbcac81bff9a2e456e304a821607
Author: W1y1r <15...@users.noreply.github.com>
AuthorDate: Tue Jul 22 09:42:23 2025 +0800

    Update Tsfile multilingual version (#552)
---
 src/.vuepress/sidebar/v2.x/en.ts                   |  16 +-
 src/.vuepress/sidebar/v2.x/zh.ts                   |  16 +-
 .../InterfaceDefinition/InterfaceDefinition-C.md   | 473 +++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 443 +++++++++++++++++++
 .../InterfaceDefinition-Java.md}                   |   6 +-
 .../InterfaceDefinition-Python.md                  | 282 ++++++++++++
 src/UserGuide/latest/QuickStart/QuickStart-C.md    | 243 +++++++++++
 src/UserGuide/latest/QuickStart/QuickStart-CPP.md  | 224 ++++++++++
 .../{QuickStart.md => QuickStart-JAVA.md}          |  11 +-
 .../latest/QuickStart/QuickStart-PYTHON.md         | 123 ++++++
 .../InterfaceDefinition/InterfaceDefinition-C.md   | 459 ++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-CPP.md | 446 +++++++++++++++++++
 .../InterfaceDefinition-Java.md}                   | 113 +++--
 .../InterfaceDefinition-Python.md                  | 264 ++++++++++++
 src/zh/UserGuide/latest/QuickStart/QuickStart-C.md | 245 +++++++++++
 .../UserGuide/latest/QuickStart/QuickStart-CPP.md  | 223 ++++++++++
 .../{QuickStart.md => QuickStart-JAVA.md}          |  11 +-
 .../latest/QuickStart/QuickStart-PYTHON.md         | 131 ++++++
 18 files changed, 3666 insertions(+), 63 deletions(-)

diff --git a/src/.vuepress/sidebar/v2.x/en.ts b/src/.vuepress/sidebar/v2.x/en.ts
index d8956f27e..7fb59a6f0 100644
--- a/src/.vuepress/sidebar/v2.x/en.ts
+++ b/src/.vuepress/sidebar/v2.x/en.ts
@@ -36,7 +36,13 @@ export const enSidebar = {
     {
       text: 'Quick Start',
       collapsible: true,
-      link: 'QuickStart/QuickStart',
+      prefix: 'QuickStart/',
+      children: [
+        { text: 'QuickStart-C', link: 'QuickStart-C' },
+        { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
+        { text: 'QuickStart-JAVA', link: 'QuickStart-JAVA' },
+        { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
+      ],
       // prefix: 'QuickStart/',
       // // children: 'structure',
       // children: [
@@ -46,7 +52,13 @@ export const enSidebar = {
     {
       text: 'Interface Definitions',
       collapsible: true,
-      link: 'QuickStart/Interface-Definitions',
+      prefix: 'QuickStart/InterfaceDefinition',
+      children: [
+        { text: 'InterfaceDefinition-C', link: 'InterfaceDefinition-C' },
+        { text: 'InterfaceDefinition-CPP', link: 'InterfaceDefinition-CPP' },           
+        { text: 'InterfaceDefinition-Java', link: 'InterfaceDefinition-Java' },
+        { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
+      ],
     },
     {
       text: 'Ecosystem Integration',
diff --git a/src/.vuepress/sidebar/v2.x/zh.ts b/src/.vuepress/sidebar/v2.x/zh.ts
index c4d95cd76..95bca71a5 100644
--- a/src/.vuepress/sidebar/v2.x/zh.ts
+++ b/src/.vuepress/sidebar/v2.x/zh.ts
@@ -36,7 +36,13 @@ export const zhSidebar = {
     {
       text: '快速上手',
       collapsible: true,
-      link: 'QuickStart/QuickStart',
+      prefix: 'QuickStart/',
+      children: [
+        { text: 'QuickStart-C', link: 'QuickStart-C' },
+        { text: 'QuickStart-CPP', link: 'QuickStart-CPP' },           
+        { text: 'QuickStart-JAVA', link: 'QuickStart-JAVA' },
+        { text: 'QuickStart-PYTHON', link: 'QuickStart-PYTHON' },
+      ],
       // prefix: 'QuickStart/',
       // children: 'structure',
       // children: [
@@ -46,7 +52,13 @@ export const zhSidebar = {
     {
       text: '接口定义',
       collapsible: true,
-      link: 'QuickStart/Interface-Definitions',
+      prefix: 'QuickStart/InterfaceDefinition',
+      children: [
+        { text: 'InterfaceDefinition-C', link: 'InterfaceDefinition-C' },
+        { text: 'InterfaceDefinition-CPP', link: 'InterfaceDefinition-CPP' },           
+        { text: 'InterfaceDefinition-Java', link: 'InterfaceDefinition-Java' },
+        { text: 'InterfaceDefinition-Python', link: 'InterfaceDefinition-Python' },
+      ],
     },
     {
       text: '生态集成',
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
new file mode 100644
index 000000000..f55643986
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -0,0 +1,473 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface definition - C
+
+
+
+## Schema
+
+```C
+typedef enum {
+    TS_DATATYPE_BOOLEAN = 0,
+    TS_DATATYPE_INT32 = 1,
+    TS_DATATYPE_INT64 = 2,
+    TS_DATATYPE_FLOAT = 3,
+    TS_DATATYPE_DOUBLE = 4,
+    TS_DATATYPE_TEXT = 5,
+    TS_DATATYPE_STRING = 11
+} TSDataType;
+
+typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+
+// ColumnSchema: Represents the schema of a single column, 
+// including its name, data type, and category.
+typedef struct column_schema {
+    char* column_name;
+    TSDataType data_type;
+    ColumnCategory column_category;
+} ColumnSchema;
+
+// TableSchema: Defines the schema of a table, 
+// including its name and a list of column schemas.
+typedef struct table_schema {
+    char* table_name;
+    ColumnSchema* column_schemas;
+    int column_num;
+} TableSchema;
+
+// ResultSetMetaData: Contains metadata for a result set, 
+// such as column names and their data types.
+typedef struct result_set_meta_data {
+    char** column_names;
+    TSDataType* data_types;
+    int column_num;
+} ResultSetMetaData;
+```
+
+
+## Write Interface
+
+### TsFile WriteFile Create/Close
+
+```C
+/**
+ * @brief Creates a file for writing.
+ *
+ * @param pathname     Target file to create.
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return WriteFile Valid handle on success.
+ *
+ * @note Call free_write_file() to release resources.
+ * @note Before call free_write_file(), make sure TsFileWriter has been closed.
+ */
+
+WriteFile write_file_new(const char* pathname, ERRNO* err_code);
+
+void free_write_file(WriteFile* write_file);
+```
+
+### TsFile Writer Create/Close
+
+When creating a TsFile Writer, you need to specify WriteFile and TableSchema. You can use the memory_threshold parameter in
+tsfile_writer_new_with_memory_threshold to limit the memory usage of the Writer during data writing, but in the current version, this parameter does not take effect.
+
+```C
+/**
+ * @brief Creates a TsFileWriter for writing a TsFile.
+ *
+ * @param file     Target file where the table data will be written.
+ * @param schema       Table schema definition.
+ *                     - Ownership: Should be freed by the caller.
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return TsFileWriter Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_writer_close() to release resources.
+ */
+TsFileWriter tsfile_writer_new(WriteFile file, TableSchema* schema,
+                               ERRNO* err_code);
+
+/**
+ * @brief Creates a TsFileWriter for writing a TsFile.
+ *
+ * @param file     Target file where the table data will be written.
+ * @param schema       Table schema definition.
+ *                     - Ownership: Should be freed by the caller.
+ * @param memory_threshold When the size of written data exceeds
+ * this value, the data will be automatically flushed to the disk. 
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return TsFileWriter Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_writer_close() to release resources.
+ */
+TsFileWriter tsfile_writer_new_with_memory_threshold(WriteFile file,
+                                                     TableSchema* schema,
+                                                     uint64_t memory_threshold,
+                                                     ERRNO* err_code);
+
+/**
+ * @brief Releases resources associated with a TsFileWriter.
+ *
+ * @param writer [in] Writer handle obtained from tsfile_writer_new().
+ *                    After call: handle becomes invalid and must not be reused.
+ * @return ERRNO - RET_OK(0) on success, or error code in errno_define_c.h.
+ */
+ERRNO tsfile_writer_close(TsFileWriter writer);
+```
+
+
+
+### Tablet Create/Close/Insert data
+
+You can use Tablet to insert data into TsFile in batches, and you need to release the space occupied by the Tablet after use.
+
+```C
+/**
+ * @brief Creates a Tablet for batch data.
+ *
+ * @param column_name_list [in] Column names array. Size=column_num.
+ * @param data_types [in] Data types array. Size=column_num.
+ * @param column_num [in] Number of columns. Must be ≥1.
+ * @param max_rows [in] Pre-allocated row capacity. Must be ≥1.
+ * @return Tablet Valid handle.
+ * @note Call free_tablet() to release resources.
+ */
+Tablet tablet_new(char** column_name_list, TSDataType* data_types,
+                  uint32_t column_num, uint32_t max_rows);
+/**
+ * @brief Gets current row count in the Tablet.
+ *
+ * @param tablet [in] Valid Tablet handle.
+ * @return uint32_t Row count (0 to max_rows-1).
+ */
+uint32_t tablet_get_cur_row_size(Tablet tablet);
+
+/**
+ * @brief Assigns timestamp to a row in the Tablet.
+ *
+ * @param tablet [in] Valid Tablet handle.
+ * @param row_index [in] Target row (0 ≤ index < max_rows).
+ * @param timestamp [in] Timestamp with int64_t type.
+ * @return ERRNO - RET_OK(0) or error code in errno_define_c.h.
+ */
+ERRNO tablet_add_timestamp(Tablet tablet, uint32_t row_index,
+                           Timestamp timestamp);
+                           
+/**
+ * @brief Adds a string value to a Tablet row by column name.
+ *
+ * @param value [in] Null-terminated string. Ownership remains with caller.
+ * @return ERRNO.
+ */
+ERRNO tablet_add_value_by_name_string(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      const char* value);
+
+ // Supports multiple data types
+ERRNO tablet_add_value_by_name_int32_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int32_t value);
+ERRNO tablet_add_value_by_name_int64_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_name_double(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      double value);
+
+ERRNO tablet_add_value_by_name_float(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      float value);
+
+ERRNO tablet_add_value_by_name_bool(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      bool value);
+
+
+/**
+ * @brief Adds a string value to a Tablet row by column index.
+ *
+ * @param value [in] Null-terminated string. Copied internally.
+ */
+ERRNO tablet_add_value_by_index_string(Tablet tablet, uint32_t row_index,
+                                       uint32_t column_index,
+                                       const char* value);
+
+
+// Supports multiple data types
+ERRNO tablet_add_value_by_index_int32_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int32_t value);
+ERRNO tablet_add_value_by_index_int64_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_index_double(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      double value);
+
+ERRNO tablet_add_value_by_index_float(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      float value);
+
+ERRNO tablet_add_value_by_index_bool(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      bool value);
+
+                                       
+void free_tablet(Tablet* tablet);
+```
+
+
+
+###  Write Tablet into TsFile
+
+```C
+/**
+ * @brief Writes data from a Tablet to the TsFile.
+ *
+ * @param writer [in] Valid TsFileWriter handle.
+ * @param tablet [in] Tablet containing data. Should be freed after successful
+ * writing.
+ * @return ERRNO - RET_OK(0), or error code in errno_define_c.h.
+ *
+ */
+
+ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
+```
+
+
+
+
+
+## Read  Interface
+
+###  TsFile Reader Create/Close
+
+```C
+/**
+ * @brief Creates a TsFileReader for reading a TsFile.
+ *
+ * @param pathname     Source TsFiles path. Must be a valid path.
+ * @param err_code     RET_OK(0), or error code in errno_define_c.h.
+ * @return TsFileReader Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_reader_close() to release resources.
+ */
+
+TsFileReader tsfile_reader_new(const char* pathname, ERRNO* err_code);
+
+/**
+ * @brief Releases resources associated with a TsFileReader.
+ *
+ * @param reader [in] Reader handle obtained from tsfile_reader_new().
+ *                    After call:
+ *                      Handle becomes invalid and must not be reused.
+ *                      Result_set obtained by this handle becomes invalid.
+ * @return ERRNO - RET_OK(0) on success, or error code in errno_define_c.h.
+ */
+ERRNO tsfile_reader_close(TsFileReader reader);
+```
+
+
+
+###  Query table/get next
+
+```C
+
+/**
+ * @brief Query data from the specific table and columns within time range.
+ *
+ * @param reader [in] Valid TsFileReader handle from tsfile_reader_new().
+ * @param table_name [in] Target table name. Must exist in the TsFile.
+ * @param columns [in] Array of column names to fetch.
+ * @param column_num [in] Number of columns in array.
+ * @param start_time [in] Start timestamp.
+ * @param end_time [in] End timestamp. Must ≥ start_time.
+ * @param err_code [out] RET_OK(0) on success, or error code in errno_define_c.h.
+ * @return ResultSet Query results handle. Must be freed with
+ * free_tsfile_result_set().
+ */
+ResultSet tsfile_query_table(TsFileReader reader, const char* table_name,
+                             char** columns, uint32_t column_num,
+                             Timestamp start_time, Timestamp end_time,
+                             ERRNO* err_code);
+
+/**
+ * @brief Check and fetch the next row in the ResultSet.
+ *
+ * @param result_set [in] Valid ResultSet handle.
+ * @param error_code RET_OK(0) on success, or error code in errno_define_c.h.
+ * @return bool - true: Row available, false: End of data or error.
+ */
+bool tsfile_result_set_next(ResultSet result_set, ERRNO* error_code);
+
+/**
+ * @brief Free Result set 
+ *
+ * @param result_set [in] Valid ResultSet handle ptr.
+ */
+void free_tsfile_result_set(ResultSet* result_set);
+```
+
+
+
+### Get Data from result set
+
+```c
+/**
+ * @brief Checks if the current row's column value is NULL by column name.
+ *
+ * @param result_set [in] Valid ResultSet with active row (after next()=true).
+ * @param column_name [in] Existing column name in result schema.
+ * @return bool - true: Value is NULL or column not found, false: Valid value.
+ */
+bool tsfile_result_set_is_null_by_name(ResultSet result_set,
+                                       const char* column_name);
+
+/**
+ * @brief Checks if the current row's column value is NULL by column index.
+ *
+ * @param column_index [in] Column position (1 <= index <= result_column_count).
+ * @return bool - true: Value is NULL or index out of range, false: Valid value.
+ */
+bool tsfile_result_set_is_null_by_index(ResultSet result_set,
+                                        uint32_t column_index);
+
+/**
+ * @brief Gets string value from current row by column name.
+ * @param result_set [in] valid result set handle.
+ * @param column_name [in] the name of the column to be checked.
+ * @return char* - String pointer. Caller must free this ptr after usage.
+ */
+char* tsfile_result_set_get_value_by_name_string(ResultSet result_set,
+                                                 const char* column_name);
+
+// Supports multiple data types
+bool tsfile_result_set_get_value_by_name_bool(ResultSet result_set, const char* 
+                                                column_name);
+int32_t tsfile_result_set_get_value_by_name_int32_t(ResultSet result_set, const char* 
+                                                column_name);
+int64_t tsfile_result_set_get_value_by_name_int64_t(ResultSet result_set, const char* 
+                                                column_name);
+float tsfile_result_set_get_value_by_name_float(ResultSet result_set, const char* 
+                                                column_name);
+double tsfile_result_set_get_value_by_name_double(ResultSet result_set, const char* 
+                                                column_name);
+
+/**
+ * @brief Gets string value from current row by column index.
+ * @param result_set [in] valid result set handle.
+ * @param column_index [in] the index of the column to be checked (1 <= index <= column_num).
+ * @return char* - String pointer. Caller must free this ptr after usage.
+ */
+char* tsfile_result_set_get_value_by_index_string(ResultSet result_set,
+                                                  uint32_t column_index);
+
+// Supports multiple data types
+int32_t tsfile_result_set_get_value_by_index_int32_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+int64_t tsfile_result_set_get_value_by_index_int64_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+float tsfile_result_set_get_value_by_index_float(ResultSet result_set, uint32_t 
+                                                    column_index);
+double tsfile_result_set_get_value_by_index_double(ResultSet result_set, uint32_t 
+                                                    column_index);
+bool tsfile_result_set_get_value_by_index_bool(ResultSet result_set, uint32_t 
+                                                    column_index);
+
+/**
+ * @brief Retrieves metadata describing the ResultSet's schema.
+ *
+ * @param result_set [in] Valid result set handle.
+ * @return ResultSetMetaData Metadata handle. Caller should free the
+ * ResultSetMataData after usage.
+ * @note Before calling this func, check if the result_set is NULL, which
+ * may indicates a failed query execution.
+ */
+ResultSetMetaData tsfile_result_set_get_metadata(ResultSet result_set);
+
+/**
+ * @brief Gets column name by index from metadata.
+ * @param result_set_meta_data [in] Valid result set handle.
+ * @param column_index [in] Column position (1 <= index <= column_num).
+ * @return const char* Read-only string. NULL if index invalid.
+ */
+char* tsfile_result_set_metadata_get_column_name(ResultSetMetaData result_set_meta_data,
+                                                 uint32_t column_index);
+
+/**
+ * @brief Gets column data type by index from metadata.
+ * @param result_set_meta_data [in] Valid result set meta data handle.
+ * @param column_index [in] Column position (1 <= index <= column_num).
+ * @return TSDataType Returns TS_DATATYPE_INVALID(255) if index invalid.
+ */
+TSDataType tsfile_result_set_metadata_get_data_type(
+    ResultSetMetaData result_set_meta_data, uint32_t column_index);
+
+/**
+ * @brief Gets total number of columns in the result schema.
+ * @param result_set_meta_data [in] Valid result set meta data handle.
+ * @return column num in result set metadata.
+ */
+int tsfile_result_set_metadata_get_column_num(ResultSetMetaData result_set);
+```
+
+
+
+###  Get Table Schema from TsFile Reader
+
+```C
+/**
+ * @brief Gets specific table's schema in the tsfile.
+ * @param reader [in], valid reader handle.
+ * @param table_name [in] Target table name. Must exist in the TsFile.
+ * @return TableSchema, contains table and column info.
+ * @note Caller should call free_table_schema to free the tableschema.
+ */
+TableSchema tsfile_reader_get_table_schema(TsFileReader reader,
+                                           const char* table_name);
+/**
+ * @brief Gets all tables' schema in the tsfile.
+ * @param size[out] num of tableschema in return ptr.
+ * @return TableSchema*, an array of table schema.
+ * @note The caller must call free_table_schema() on each array element
+ *  and free to deallocate the array pointer.
+ */
+TableSchema* tsfile_reader_get_all_table_schemas(TsFileReader reader,
+                                                 uint32_t* size);
+
+/**
+ * @brief Free the tableschema's space.
+ * @param schema [in] the table schema to be freed.
+ */
+void free_table_schema(TableSchema schema);
+```
+
+
+
+
+
+
+
+
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
new file mode 100644
index 000000000..b165a0244
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -0,0 +1,443 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface Definitions - Cpp
+
+## Write Interface
+
+### TsFileTableWriter
+
+Used to write data to tsfile
+
+```cpp
+/**
+ * @brief Facilitates writing structured table data into a TsFile with a specified schema.
+ *
+ * The TsFileTableWriter class is designed to write structured data, particularly suitable for time-series data,
+ * into a file optimized for efficient storage and retrieval (referred to as TsFile here). It allows users to define
+ * the schema of the tables they want to write, add rows of data according to that schema, and serialize this data
+ * into a TsFile. Additionally, it provides options to limit memory usage during the writing process.
+ */
+class TsFileTableWriter {
+   public:
+    /**
+     * TsFileTableWriter is used to write table data into a target file with the given schema,
+     * optionally limiting the memory usage.
+     *
+     * @param writer_file Target file where the table data will be written. Must not be null.
+     * @param table_schema Used to construct table structures. Defines the schema of the table
+     *                     being written.
+     * @param memory_threshold Optional parameter. When the size of written
+     * data exceeds this value, the data will be automatically flushed to the
+     * disk. Default value is 128MB.
+     */
+    TsFileTableWriter(WriteFile* writer_file,
+                      TableSchema* table_schema,
+                      uint64_t memory_threshold = 128 * 1024 * 1024);
+    ~TsFileTableWriter();
+    /**
+     * Writes the given tablet data into the target file according to the schema.
+     *
+     * @param tablet The tablet containing the data to be written. Must not be null.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int write_table(const Tablet& tablet);
+    /**
+     * Flushes any buffered data to the underlying storage medium, ensuring all data is written out.
+     * This method ensures that all pending writes are persisted.
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int flush();
+    /**
+     * Closes the writer and releases any resources held by it.
+     * After calling this method, no further operations should be performed on this instance.
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int close();
+};
+```
+
+### TableSchema
+
+Describe the data structure of the table schema
+
+```cpp
+/**
+* @brief Represents the schema information for an entire table.
+*
+* This class holds the metadata necessary to describe how a specific table is structured,
+* including its name and the schemas of all its columns.
+*/
+class TableSchema {
+    public:
+    /**
+     * Constructs a TableSchema object with the given table name, column schemas, and column categories.
+     *
+     * @param table_name The name of the table. Must be a non-empty string.
+     *                   This name is used to identify the table within the system.
+     * @param column_schemas A vector containing ColumnSchema objects.
+     *                       Each ColumnSchema defines the schema for one column in the table.
+     */
+    TableSchema(const std::string& table_name,
+                const std::vector<ColumnSchema>& column_schemas);
+};
+
+
+/**
+* @brief Represents the schema information for a single column.
+*
+* This structure holds the metadata necessary to describe how a specific column is stored,
+* including its name, data type, category.
+*/
+struct ColumnSchema {
+    std::string column_name_;
+    common::TSDataType data_type_;
+    ColumnCategory column_category_;
+
+    /**
+     * @brief Constructs a ColumnSchema object with the given parameters.
+     *
+     * @param column_name The name of the column. Must be a non-empty string.
+     *                    This name is used to identify the column within the table.
+     * @param data_type The data type of the measurement, such as INT32, DOUBLE, TEXT, etc.
+     *                  This determines how the data will be stored and interpreted.
+     * @param column_category The category of the column indicating its role or type
+     *                        within the schema, e.g., FIELD, TAG.
+     *                        Defaults to ColumnCategory::FIELD if not specified.
+     * @note It is the responsibility of the caller to ensure that `column_name` is not empty.
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
+                                                                           data_type_(data_type),
+                                                                           column_category_(column_category) {
+    }
+};
+
+/**
+ * @brief Represents the data type of a measurement.
+ *
+ * This enumeration defines the supported data types for measurements in the system.
+ */
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    STRING = 11
+};
+
+```
+
+### Tablet
+
+Write column memory structure
+
+```cpp
+/**
+ * @brief Represents a collection of data rows with associated metadata for insertion into a table.
+ *
+ * This class is used to manage and organize data that will be inserted into a specific target table.
+ * It handles the storage of timestamps and values, along with their associated metadata such as column names and types.
+ */
+class Tablet {
+public:
+    /**
+     * @brief Constructs a Tablet object with the given parameters.
+     *
+     * @param column_names A vector containing the names of the columns in the tablet.
+     *                     Each name corresponds to a column in the target table.
+     * @param data_types A vector containing the data types of each column.
+     *                   These must match the schema of the target table.
+     * @param max_rows The maximum number of rows that this tablet can hold. Defaults to DEFAULT_MAX_ROWS.
+     */
+    Tablet(const std::vector<std::string> &column_names,
+           const std::vector<common::TSDataType> &data_types,
+           int max_rows = DEFAULT_MAX_ROWS);
+
+    /**
+     * @brief Adds a timestamp to the specified row.
+     *
+     * @param row_index The index of the row to which the timestamp will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param timestamp The timestamp value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int add_timestamp(uint32_t row_index, int64_t timestamp);
+
+    /**
+     * @brief Template function to add a value of type T to the specified row and column.
+     *
+     * @tparam T The type of the value to add.
+     * @param row_index The index of the row to which the value will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param schema_index The index of the column schema corresponding to the value being added.
+     * @param val The value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, uint32_t schema_index, T val);
+
+    /**
+     * @brief Template function to add a value of type T to the specified row and column by name.
+     *
+     * @tparam T The type of the value to add.
+     * @param row_index The index of the row to which the value will be added.
+     *                  Must be less than the maximum number of rows.
+     * @param measurement_name The name of the column to which the value will be added.
+     *                         Must match one of the column names provided during construction.
+     * @param val The value to add.
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, const std::string &measurement_name, T val);
+};
+```
+
+## Read Interface 
+### Tsfile Reader
+use to execute query in tsfile and return value by ResultSet.
+```cpp
+/**
+ * @brief TsfileReader provides the ability to query all files with the suffix
+ * .tsfile
+ *
+ * TsfileReader is designed to query .tsfile files, it accepts tree model
+ * queries and table model queries, and supports querying metadata such as
+ * TableSchema and TimeseriesSchema.
+ */
+class TsFileReader {
+   public:
+    TsFileReader();
+    ~TsFileReader();
+    /**
+     * @brief open the tsfile
+     *
+     * @param file_path the path of the tsfile which will be opened
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int open(const std::string &file_path);
+    /**
+     * @brief close the tsfile, this method should be called after the
+     * query is finished
+     *
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int close();
+    /**
+     * @brief query the tsfile by the query expression,Users can construct
+     * their own query expressions to query tsfile
+     *
+     * @param [in] qe the query expression
+     * @param [out] ret_qds the result set
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
+    /**
+     * @brief query the tsfile by the path list, start time and end time
+     * this method is used to query the tsfile by the tree model.
+     *
+     * @param [in] path_list the path list
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [out] result_set the result set
+     */
+    int query(std::vector<std::string> &path_list, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief query the tsfile by the table name, columns names, start time
+     * and end time. this method is used to query the tsfile by the table
+     * model.
+     *
+     * @param [in] table_name the table name
+     * @param [in] columns_names the columns names
+     * @param [in] start_time the start time
+     * @param [in] end_time the end time
+     * @param [out] result_set the result set
+     */
+    int query(const std::string &table_name,
+              const std::vector<std::string> &columns_names, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief destroy the result set, this method should be called after the
+     * query is finished and result_set
+     *
+     * @param qds the result set
+     */
+    void destroy_query_data_set(ResultSet *qds);
+    ResultSet *read_timeseries(
+        const std::shared_ptr<IDeviceID> &device_id,
+        const std::vector<std::string> &measurement_name);
+    /**
+     * @brief get all devices in the tsfile
+     *
+     * @param table_name the table name
+     * @return std::vector<std::shared_ptr<IDeviceID>> the device id list
+     */
+    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
+        std::string table_name);
+    /**
+     * @brief get the timeseries schema by the device id and measurement name
+     *
+     * @param [in] device_id the device id
+     * @param [out] result std::vector<MeasurementSchema> the measurement schema
+     * list
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
+                              std::vector<MeasurementSchema> &result);
+    /**
+     * @brief get the table schema by the table name
+     *
+     * @param table_name the table name
+     * @return std::shared_ptr<TableSchema> the table schema
+     */
+    std::shared_ptr<TableSchema> get_table_schema(
+        const std::string &table_name);
+    /**
+     * @brief get all table schemas in the tsfile
+     *
+     * @return std::vector<std::shared_ptr<TableSchema>> the table schema list
+     */
+    std::vector<std::shared_ptr<TableSchema>> get_all_table_schemas();
+};
+```
+### ResultSet
+A collection of query.Support iterator to get data, and directly through the column name or index to get specific data.
+```cpp
+/**
+ * @brief ResultSet is the query result of the TsfileReader. It provides access
+ * to the results.
+ *
+ * ResultSet is a virtual class. Convert it to the corresponding implementation
+ * class when used
+ * @note When using the tree model and the filter is a global time filter,
+ * it should be cast as QDSWithoutTimeGenerator.
+ * @note When using the tree model and the filter is not a global time filter,
+ * it should be QDSWithTimeGenerator.
+ * @note If the query uses the table model, the cast should be TableResultSet
+ */
+class ResultSet {
+   public:
+    ResultSet() {}
+    virtual ~ResultSet() {}
+    /**
+     * @brief Get the next row of the result set
+     *
+     * @param[out] has_next a boolean value indicating if there is a next row
+     * @return Returns 0 on success, or a non-zero error code on failure.
+     */
+    virtual int next(bool& has_next) = 0;
+    /**
+     * @brief Check if the value of the column is null by column name
+     *
+     * @param column_name the name of the column
+     * @return true if the value is null, false otherwise
+     */
+    virtual bool is_null(const std::string& column_name) = 0;
+    /**
+     * @brief Check if the value of the column is null by column index
+     *
+     * @param column_index the index of the column starting from 1
+     * @return true if the value is null, false otherwise
+     */
+    virtual bool is_null(uint32_t column_index) = 0;
+
+    /**
+     * @brief Get the value of the column by column name
+     *
+     * @param column_name the name of the column
+     * @return the value of the column
+     */
+    template <typename T>
+    T get_value(const std::string& column_name);
+     * @brief Get the value of the column by column index
+     *
+     * @param column_index the index of the column starting from 1
+     * @return the value of the column
+     */
+    template <typename T>
+    T get_value(uint32_t column_index);
+    /**
+     * @brief Get the row record of the result set
+     *
+     * @return the row record
+     */
+    virtual RowRecord* get_row_record() = 0;
+    /**
+     * @brief Get the metadata of the result set
+     *
+     * @return std::shared_ptr<ResultSetMetadata> the metadata of the result set
+     */
+    virtual std::shared_ptr<ResultSetMetadata> get_metadata() = 0;
+    /**
+     * @brief Close the result set
+     *
+     * @note this method should be called after the result set is no longer
+     * needed.
+     */
+    virtual void close() = 0;
+};
+```
+### ResultMeta
+user can obtain the metadata from ResultSetMetadata, including all columnnames and data types. When a user uses a table model, the first columndefaults to the time column.
+```cpp
+/**
+ * @brief metadata of result set
+ *
+ * user can obtain the metadata from ResultSetMetadata, including all column
+ * names and data types. When a user uses the table model, the first column
+ * defaults to the time column.
+ */
+class ResultSetMetadata {
+   public:
+    /**
+     * @brief constructor of ResultSetMetadata
+     *
+     * @param column_names the column names
+     * @param column_types the column types
+     */
+    ResultSetMetadata(const std::vector<std::string>& column_names,
+                      const std::vector<common::TSDataType>& column_types);
+    /**
+     * @brief get the column type
+     *
+     * @param column_index the column index starting from 1
+     * @return the column type
+     */
+    common::TSDataType get_column_type(uint32_t column_index);
+    /**
+     * @brief get the column name
+     *
+     * @param column_index the column index starting from 1
+     * @return the column name
+     */
+    std::string get_column_name(uint32_t column_index);
+    /**
+     * @brief get the column count
+     *
+     * @return the column count by uint32_t
+     */
+    uint32_t get_column_count();
+};
+```
\ No newline at end of file
diff --git a/src/UserGuide/latest/QuickStart/Interface-Definitions.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
similarity index 98%
rename from src/UserGuide/latest/QuickStart/Interface-Definitions.md
rename to src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 8c08262c7..3ae53d090 100644
--- a/src/UserGuide/latest/QuickStart/Interface-Definitions.md
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Interface Definitions
+# Interface Definitions - Java
 
 ## Write Interface
 
@@ -174,7 +174,7 @@ interface ITsFileReader extends AutoCloseable {
 
 ### TsFileReaderBuilder
 
-Used to construct ITsFileWriter
+Used to construct ITsFileReader
 
 ```Java
 class TsFileReaderBuilder {
@@ -217,7 +217,7 @@ interface ResultSet extends AutoCloseable {
   boolean isNull(String columnName);  
   boolean isNull(int columnIndex);  
     
-  // Close the current structure set
+  // Close the current result set
   void close();
     
   // Obtain the header of the result set
diff --git a/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
new file mode 100644
index 000000000..ad6d4619d
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -0,0 +1,282 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface Definitions - Python
+
+## Schema
+
+```Python
+
+class TSDataType(IntEnum):
+    """
+    Enumeration of data types currently supported by TsFile.
+    """
+    BOOLEAN = 0
+    INT32 = 1
+    INT64 = 2
+    FLOAT = 3
+    DOUBLE = 4
+    TEXT = 5
+    STRING = 11
+
+class ColumnCategory(IntEnum):
+    """
+    Enumeration of column categories in TsFile.
+    TAG: Represents a tag column, used for metadata.
+    FIELD: Represents a field column, used for storing actual data values.
+    """
+
+    TAG = 0
+    FIELD = 1
+
+class ColumnSchema:
+    """Defines schema for a table column (name, datatype, category)."""
+
+    column_name = None
+    data_type = None
+    category = None
+
+    def __init__(self, column_name: str, data_type: TSDataType, 
+                 category: ColumnCategory = ColumnCategory.FIELD)
+
+class TableSchema:
+    """Schema definition for a table structure."""
+    
+    table_name = None
+    columns = None
+
+    def __init__(self, table_name: str, columns: List[ColumnSchema])
+
+
+class ResultSetMetaData:
+    """Metadata container for query result sets (columns, types, table name)."""
+    
+    column_list = None
+    data_types = None
+    table_name = None
+
+    def __init__(self, column_list: List[str], data_types: List[TSDataType])
+
+```
+
+
+
+## Write interface
+
+### TsFileWriter 
+
+```python
+class TsFileTableWriter:
+    """
+    Facilitates writing structured table data into a TsFile with a specified schema.
+    """
+
+    
+    """
+    :param path: The path of tsfile, will create if it doesn't exist.
+    :param table_schema: describes the schema of the tables want to write.
+    :return: no return value.
+    """
+    def __init__(self, path: str, table_schema: TableSchema)
+
+
+    """
+    Write a tablet into table in tsfile.
+    :param tablet: stored batch data of a table.
+    :return: no return value.
+    """
+    def write_table(self, tablet: Tablet)
+      
+    """
+    Close TsFileTableWriter and flush data automatically.
+    :return: no return value.
+    """
+    def close(self)
+
+```
+
+
+
+### Tablet definition
+
+You can use Tablet to insert data into TsFile in batches.
+
+```Python
+class Tablet(object)
+    """
+    A pre-allocated columnar data container for batch data with type constraints.
+    Creates timestamp buffer and typed data columns, with value range validation ranges
+    for numeric types.
+
+    Initializes:
+    :param column_name_list: name list for data columns.
+    :param type_list: TSDataType values specifying allowed types per column.
+    :param max_row_num: Pre-allocated row capacity (default 1024)
+    :return: no return value.
+    """
+
+    def __init__(self, column_name_list: list[str], type_list: list[TSDataType],
+                 max_row_num: int = 1024)
+    
+```
+
+## Read Interface
+
+### TsFileReader
+
+```python
+class TsFileReader:
+    """
+    Query table data from a TsFile.
+    """
+    
+    """
+    Initialize a TsFile reader for the specified file path.
+    :param pathname: The path to the TsFile.
+    :return  no return value.
+    """
+    def __init__(self, pathname)
+
+
+    """
+    Executes a time range query on the specified table and columns.
+
+    :param table_name: The name of the table to query.
+    :param column_names: A list of column names to retrieve.
+    :param start_time: The start time of the query range (default: minimum int64 value).
+    :param end_time: The end time of the query range (default: maximum int64 value).
+    :return: A query result set handler.
+    """
+    def query_table(self, table_name : str, column_names : List[str],
+                    start_time : int = np.iinfo(np.int64).min, 
+                    end_time: int = np.iinfo(np.int64).max) -> ResultSet
+
+    """
+    Retrieves the schema of the specified table.
+
+    :param table_name: The name of the table.
+    :return: The schema of the specified table.
+    """
+    def get_table_schema(self, table_name : str)-> TableSchema
+
+
+    """
+    Retrieves the schemas of all tables in the TsFile.
+
+    :return: A dictionary mapping table names to their schemas.
+    """
+    def get_all_table_schemas(self) ->dict[str, TableSchema]
+
+
+    """
+    Closes the TsFile reader. If the reader has active result sets, they will be invalidated.
+    """
+    def close(self)
+
+```
+
+### ResultSet
+
+
+
+```python
+class ResultSet:
+    """
+    Retrieves data from a query result set. When a query is executed, a query handler is returned.
+    If the reader is closed, the result set will become invalid.
+    """
+
+    """
+    Checks and moves to the next row in the query result set.
+
+    :return: True if the next row exists, False otherwise.
+    """
+    def next(self) -> bool
+
+
+    """
+    Retrieves the column information of the result set.
+
+    :return: A dictionary containing column names as keys and their data types as values.
+    """
+    def get_result_column_info(self) -> dict[str, TsDataType]
+
+    
+    """
+    Fetches the next DataFrame from the query result set.
+
+    :param max_row_num: The maximum number of rows to retrieve. Default is 1024.
+    :return: A DataFrame containing data from the query result set.
+    """
+    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+
+    
+    """
+    Retrieves the value at the specified index from the query result set.
+
+    :param index: The index of the value to retrieve, 1 <= index <= column_num.
+    :return: The value at the specified index.
+    """
+    def get_value_by_index(self, index : int)
+
+      
+    """
+    Retrieves the value for the specified column name from the query result set.
+
+    :param column_name: The name of the column to retrieve the value from.
+    :return: The value of the specified column.
+    """
+    def get_value_by_name(self, column_name : str)
+
+      
+	
+    """
+    Retrieves the metadata of the result set.
+
+    :return: The metadata of the result set as a ResultSetMetadata object.
+    """
+    def get_metadata(self) -> ResultSetMetadata
+      
+    
+    """
+    Checks whether the field at the specified index in the result set is null.
+
+    :param index: The index of the field to check.  1 <= index <= column_num.
+    :return: True if the field is null, False otherwise.
+    """
+    def is_null_by_index(self, index : int)
+
+      
+      
+    """
+    Checks whether the field with the specified column name in the result set is null.
+
+    :param name: The name of the column to check.
+    :return: True if the field is null, False otherwise.
+    """
+    def is_null_by_name(self, name : str)
+
+      
+    """
+    Closes the result set and releases any associated resources.
+    """
+    def close(self)
+```
+
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-C.md b/src/UserGuide/latest/QuickStart/QuickStart-C.md
new file mode 100644
index 000000000..68a258026
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -0,0 +1,243 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start - C
+
+## Dependencies
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## Installation Method
+
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+If Maven is not installed, you can compile tsfile using the following command:
+
+Linux or Macos:
+```shell
+mvnw clean install -P with-cpp -DskipTests
+```
+Windows:
+```shell
+mvnw.cmd clean install -P with-cpp -DskipTests
+```
+
+### Directory Structure
+
+• **Include Directory**: Located at `tsfile/cpp/target/build/include/cwrapper`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
+
+• **Lib Directory**: At `tsfile/cpp/target/build/lib`, it holds compiled library files. Specify this path and library name when linking (e.g., using `-L` and `-l` flags).
+
+### CMake Integration
+Add to your CMakeLists.txt:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+Note: Set ${SDK_LIB} to your TsFile library directory.
+
+## Writing Process
+
+### Construct TsFileWriter
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create table schema to describe a table in a tsfile.
+    TableSchema table_schema;
+    table_schema.table_name = strdup(table_name);
+    table_schema.column_num = 3;
+    table_schema.column_schemas =
+        (ColumnSchema*)malloc(sizeof(ColumnSchema) * 3);
+    table_schema.column_schemas[0] =
+        (ColumnSchema){.column_name = strdup("id1"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[1] =
+        (ColumnSchema){.column_name = strdup("id2"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[2] =
+        (ColumnSchema){.column_name = strdup("s1"),
+                     .data_type = TS_DATATYPE_INT32,
+                     .column_category = FIELD};
+
+    // Create a file with specify path to write tsfile.
+    WriteFile file = write_file_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+
+    // Create tsfile writer with specify table schema.
+    TsFileWriter writer = tsfile_writer_new(file, &table_schema, &code);
+    HANDLE_ERROR(code);
+```
+
+### Write Data
+
+```C
+    // Create tablet to insert data.
+    Tablet tablet =
+        tablet_new((char*[]){"id1", "id2", "s1"},
+                   (TSDataType[]){TS_DATATYPE_STRING, TS_DATATYPE_STRING,
+                                  TS_DATATYPE_INT32},
+                   3, 5);
+
+    for (int row = 0; row < 5; row++) {
+        Timestamp timestamp = row;
+        tablet_add_timestamp(tablet, row, timestamp);
+        tablet_add_value_by_name_string(tablet, row, "id1", "id_field_1");
+        tablet_add_value_by_name_string(tablet, row, "id2", "id_field_2");
+        tablet_add_value_by_name_int32_t(tablet, row, "s1", row);
+    }
+
+    // Write tablet data.
+    HANDLE_ERROR(tsfile_writer_write(writer, tablet));
+
+    // Free tablet.
+    free_tablet(&tablet);
+
+    // Free table schema we used before.
+    free_table_schema(table_schema);
+```
+### Close File
+
+```C
+    // Close writer.
+    HANDLE_ERROR(tsfile_writer_close(writer));
+
+    // Close write file after closing writer.
+    free_write_file(&file);
+```
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_write.c>
+
+## Reading Process
+
+### Construct TsFileReader
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create tsfile reader with specify tsfile's path
+    TsFileReader reader = tsfile_reader_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+```
+
+### Construct Query 
+```C
+    ResultSet ret = tsfile_query_table(
+        reader, table_name, (char*[]){"id1", "id2", "s1"}, 3, 0, 10, &code);
+    HANDLE_ERROR(code);
+
+    if (ret == NULL) {
+        HANDLE_ERROR(RET_INVALID_QUERY);
+    }
+```
+
+### Query Data
+
+```C
+    // Get query result metadata: column name and datatype
+    ResultSetMetaData metadata = tsfile_result_set_get_metadata(ret);
+    int column_num = tsfile_result_set_metadata_get_column_num(metadata);
+
+    for (int i = 1; i <= column_num; i++) {
+        printf("column:%s, datatype:%d\n", tsfile_result_set_metadata_get_column_name(metadata, i),
+               tsfile_result_set_metadata_get_data_type(metadata, i));
+    }
+
+    // Get data by column name or index.
+    while (tsfile_result_set_next(ret, &code) && code == RET_OK) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp =
+            tsfile_result_set_get_value_by_index_int64_t(ret, 1);
+        printf("%ld\n", timestamp);
+        for (int i = 1; i <= column_num; i++) {
+            if (tsfile_result_set_is_null_by_index(ret, i)) {
+                printf(" null ");
+            } else {
+                switch (tsfile_result_set_metadata_get_data_type(metadata, i)) {
+                    case TS_DATATYPE_BOOLEAN:
+                        printf("%d\n", tsfile_result_set_get_value_by_index_bool(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_INT32:
+                        printf("%d\n",
+                               tsfile_result_set_get_value_by_index_int32_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_INT64:
+                        printf("%ld\n",
+                               tsfile_result_set_get_value_by_index_int64_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_FLOAT:
+                        printf("%f\n", tsfile_result_set_get_value_by_index_float(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_DOUBLE:
+                        printf("%lf\n",
+                               tsfile_result_set_get_value_by_index_double(ret,
+                                                                           i));
+                        break;
+                    case TS_DATATYPE_STRING:
+                        printf("%s\n",
+                               tsfile_result_set_get_value_by_index_string(ret,
+                                                                           i));
+                        break;
+                    default:
+                        printf("unknown_type");
+                        break;
+                }
+            }
+        }
+    }
+
+    // Free query meta data
+    free_result_set_meta_data(metadata);
+
+    // Free query handler.
+    free_tsfile_result_set(&ret);
+```
+
+### Close File
+
+```C
+    // Close tsfile reader.
+    tsfile_reader_close(reader);
+```
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
+
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
new file mode 100644
index 000000000..0eb307166
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -0,0 +1,224 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start - Cpp
+
+## Dependencies
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## Installation Method
+
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+Note: If Maven is not installed, you can use mvnw on Linux or mvnw.cmd on Windows.
+
+### Directory Structure
+
+• **Include Directory**: Located at `tsfile/cpp/target/build/include`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
+
+• **Lib Directory**: At `tsfile/cpp/target/build/lib`, it holds compiled library files. Specify this path and library name when linking (e.g., using `-L` and `-l` flags).
+
+### CMake Integration
+Add to your CMakeLists.txt:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+Note: Set ${SDK_LIB} to your TSFile library directory.
+
+## Writing Process
+
+### Construct TsFileWriter
+
+```cpp
+    std::string file_name = "test.tsfile";
+    storage::libtsfile_init();
+
+    std::string table_name = "table1";
+
+    // Create a file with specify path to write tsfile.
+    storage::WriteFile file;
+    int flags = O_WRONLY | O_CREAT | O_TRUNC;
+#ifdef _WIN32
+    flags |= O_BINARY;
+#endif
+    mode_t mode = 0666;
+    file.create("test_cpp.tsfile", flags, mode);
+
+    // Create table schema to describe a table in a tsfile.
+    auto* schema = new storage::TableSchema(
+        table_name,
+        {
+            common::ColumnSchema("id1", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("id2", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("s1", common::INT64, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::FIELD),
+        });
+
+    // Create a file with specify path to write tsfile.
+    auto* writer = new storage::TsFileTableWriter(&file, schema);
+```
+
+### Write Data
+
+```cpp
+    // Create tablet to insert data.
+    storage::Tablet tablet(
+        table_name, {"id1", "id2", "s1"},
+        {common::STRING, common::STRING, common::INT64},
+        {common::ColumnCategory::TAG, common::ColumnCategory::TAG,
+         common::ColumnCategory::FIELD},
+        10);
+
+
+    for (int row = 0; row < 5; row++) {
+        long timestamp = row;
+        tablet.add_timestamp(row, timestamp);
+        tablet.add_value(row, "id1", "id1_filed_1");
+        tablet.add_value(row, "id2", "id1_filed_2");
+        tablet.add_value(row, "s1", static_cast<int64_t>(row));
+    }
+
+    // Write tablet data.
+    writer->write_table(tablet);
+
+    // Flush data
+    writer->flush();
+```
+
+### Close File
+
+```cpp
+    writer->close()
+```
+
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_write.cpp>
+
+## Query Process
+
+### Construct TsFileReader
+
+```cpp
+    int code = 0;
+    storage::libtsfile_init();
+    std::string table_name = "table1";
+
+    // Create tsfile reader and open tsfile with specify path.
+    storage::TsFileReader reader;
+    reader.open("test_cpp.tsfile");
+```
+
+### Construct Query Request
+
+```cpp
+    // Query data with tsfile reader.
+    storage::ResultSet* temp_ret = nullptr;
+    std::vector<std::string> columns;
+    columns.emplace_back("id1");
+    columns.emplace_back("id2");
+    columns.emplace_back("s1");
+
+    // Column vector contains the columns you want to select.
+    reader.query(table_name, columns, 0, 100, temp_ret);
+```
+
+### Query Data
+
+```cpp
+    // Get query handler.
+    auto ret = dynamic_cast<storage::TableResultSet*>(temp_ret);
+
+    // Metadata in query handler.
+    auto metadata = ret->get_metadata();
+    int column_num = metadata->get_column_count();
+    for (int i = 1; i <= column_num; i++) {
+        std::cout << "column name: " << metadata->get_column_name(i)
+                  << std::endl;
+        std::cout << "column type: "
+                  << std::to_string(metadata->get_column_type(i)) << std::endl;
+    }
+
+    // Check and get next data.
+    bool has_next = false;
+    while ((code = ret->next(has_next)) == common::E_OK && has_next) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp = ret->get_value<Timestamp>(1);
+        for (int i = 1; i <= column_num; i++) {
+            if (ret->is_null(i)) {
+                std::cout << "null" << std::endl;
+            } else {
+                switch (metadata->get_column_type(i)) {
+                    case common::BOOLEAN:
+                        std::cout << ret->get_value<bool>(i) << std::endl;
+                        break;
+                    case common::INT32:
+                        std::cout << ret->get_value<int32_t>(i) << std::endl;
+                        break;
+                    case common::INT64:
+                        std::cout << ret->get_value<int64_t>(i) << std::endl;
+                        break;
+                    case common::FLOAT:
+                        std::cout << ret->get_value<float>(i) << std::endl;
+                        break;
+                    case common::DOUBLE:
+                        std::cout << ret->get_value<double>(i) << std::endl;
+                        break;
+                    case common::STRING:
+                        std::cout << ret->get_value<common::String*>(i)
+                                         ->to_std_string()
+                                  << std::endl;
+                        break;
+                    default:;
+                }
+            }
+        }
+    }
+```
+
+### Close File
+
+```cpp
+    // Close query result set.
+    ret->close();
+    // Close reader.
+    reader.close();
+```
+
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
+
diff --git a/src/UserGuide/latest/QuickStart/QuickStart.md b/src/UserGuide/latest/QuickStart/QuickStart-JAVA.md
similarity index 92%
rename from src/UserGuide/latest/QuickStart/QuickStart.md
rename to src/UserGuide/latest/QuickStart/QuickStart-JAVA.md
index 9dfb09985..5ac101adc 100644
--- a/src/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/UserGuide/latest/QuickStart/QuickStart-JAVA.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# Quick Start
+# Quick Start - Java
 
 ## Dependencies
 
@@ -78,9 +78,8 @@ TableSchema tableSchema =
                                 .category(Tablet.ColumnCategory.FIELD)
                                 .build(),
                         new ColumnSchemaBuilder()
-                                .name("s2")
-                                .dataType(TSDataType.BOOLEAN)
-                                .category(Tablet.ColumnCategory.FIELD)
+                                .name("s2").
+                                dataType(TSDataType.BOOLEAN)
                                 .build()));
 
 long memoryThreshold = 10 * 1024 * 1024;
@@ -122,7 +121,7 @@ writer.close();
 
 ### Sample Code
 
-The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
 
 ## Query Process
 
@@ -181,5 +180,5 @@ reader.close();
 
 ### Sample Code
 
-The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
diff --git a/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
new file mode 100644
index 000000000..2d855a9e3
--- /dev/null
+++ b/src/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -0,0 +1,123 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start - Python
+
+## Dependencies
+
+If want to compile on your local envirment, the dependencies are below:
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+- cython >= 3.0.10
+- numpy >= 1.26.4
+- pandas >= 2.2.2
+- setuptools >= 70.0.0
+
+or use pip install, the dependencies are:
+
+numpy >= 1.26.4
+pandas >= 2.2.2
+
+## Installation Method
+
+### Compile on your local envirment
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-python -DskipTests
+```
+
+If Maven is not installed, you can compile tsfile using the following command:
+
+Linux or Macos:
+```shell
+mvnw clean install -P with-python -DskipTests
+```
+Windows:
+```shell
+mvnw.cmd clean install -P with-python -DskipTests
+```
+
+### Directory Structure
+
+• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
+
+### Install into your local envirment
+
+run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
+
+```bash
+pip install tsfile.wheel
+```
+
+
+
+## Writing Process
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+if os.path.exists(table_data_dir):
+    os.remove(table_data_dir)
+
+column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
+column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
+column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+table_schema = TableSchema("test_table", columns=[column1, column2, column3])
+
+
+### Free resource automatically
+with TsFileTableWriter(table_data_dir, table_schema) as writer:
+    tablet_row_num = 100
+    tablet = Tablet(
+                    ["id", "id2", "value"],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    tablet_row_num)
+
+    for i in range(tablet_row_num):
+        tablet.add_timestamp(i, i * 10)
+        tablet.add_value_by_name("id", i, "test1")
+        tablet.add_value_by_name("id2", i, "test" + str(i))
+        tablet.add_value_by_index(2, i, i * 100.2)
+
+    writer.write_table(tablet)
+```
+
+## Reading Process
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+### Free resource automatically
+with TsFileReader(table_data_dir) as reader:
+    print(reader.get_all_table_schemas())
+    with reader.query_table("test_table", ["id2", "value"], 0, 50) as result:
+        print(result.get_metadata())
+        while result.next():
+            print(result.get_value_by_name("id2"))
+            print(result.get_value_by_name("value"))
+            print(result.read_data_frame())
+```
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
new file mode 100644
index 000000000..45db6f3ff
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -0,0 +1,459 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+
+# 接口定义 - C
+
+
+## Schema(模式定义)
+
+```C++
+typedef enum {
+    TS_DATATYPE_BOOLEAN = 0,
+    TS_DATATYPE_INT32 = 1,
+    TS_DATATYPE_INT64 = 2,
+    TS_DATATYPE_FLOAT = 3,
+    TS_DATATYPE_DOUBLE = 4,
+    TS_DATATYPE_TEXT = 5,
+    TS_DATATYPE_STRING = 11
+} TSDataType;
+
+typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+
+// ColumnSchema:表示单个列的模式,包括列名、数据类型和分类。
+typedef struct column_schema {
+    char* column_name;
+    TSDataType data_type;
+    ColumnCategory column_category;
+} ColumnSchema;
+
+// TableSchema:定义一个表的模式,包括表名和列模式数组。
+typedef struct table_schema {
+    char* table_name;
+    ColumnSchema* column_schemas;
+    int column_num;
+} TableSchema;
+
+// ResultSetMetaData:结果集的元数据,包括列名和数据类型。
+typedef struct result_set_meta_data {
+    char** column_names;
+    TSDataType* data_types;
+    int column_num;
+} ResultSetMetaData;
+```
+
+## 写入接口
+
+### 创建/关闭 TsFile 写入文件
+
+```C++
+/**
+ * @brief 创建写入文件。
+ *
+ * @param pathname     目标文件路径。
+ * @param err_code     [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return WriteFile 成功返回有效句柄。
+ *
+ * @note 调用 free_write_file() 释放资源。
+ * @note 调用 free_write_file() 前,需确保 TsFileWriter 已关闭。
+ */
+
+WriteFile write_file_new(const char* pathname, ERRNO* err_code);
+
+void free_write_file(WriteFile* write_file);
+```
+
+
+### 创建/关闭 TsFile Writer
+
+在创建 TsFile Writer 时,需要指定 WriteFile 和 TableSchema。你可以使用 tsfile_writer_new_with_memory_threshold 设置内存阈值。
+
+```C++
+/**
+ * @brief 创建 TsFileWriter。
+ *
+ * @param file     写入目标文件。
+ * @param schema   表结构定义。
+ *                 - 由调用者负责释放。
+ * @param err_code [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return TsFileWriter 成功返回有效句柄,失败返回 NULL。
+ *
+ * @note 使用完毕后需调用 tsfile_writer_close() 释放资源。
+ */
+TsFileWriter tsfile_writer_new(WriteFile file, TableSchema* schema,
+                               ERRNO* err_code);
+
+/**
+ * @brief 创建 TsFileWriter,带内存阈值限制。
+ *
+ * @param file     写入目标文件。
+ * @param schema   表结构定义。
+ *                 - 由调用者负责释放。
+ * @param memory_threshold 超过该内存阈值时会自动刷盘。
+ * @param err_code [输出] RET_OK(0),或 errno_define_c.h 中的错误码。
+ *
+ * @return TsFileWriter 成功返回有效句柄,失败返回 NULL。
+ *
+ * @note 使用完毕后需调用 tsfile_writer_close() 释放资源。
+ */
+TsFileWriter tsfile_writer_new_with_memory_threshold(WriteFile file,
+                                                     TableSchema* schema,
+                                                     uint64_t memory_threshold,
+                                                     ERRNO* err_code);
+
+/**
+ * @brief 释放 TsFileWriter 相关资源。
+ *
+ * @param writer [输入] 来自 tsfile_writer_new() 的 Writer 句柄。
+ *               调用后该句柄失效,不可重复使用。
+ * @return ERRNO - 成功返回 RET_OK(0),否则返回错误码。
+ */
+ERRNO tsfile_writer_close(TsFileWriter writer);
+```
+
+
+
+### 创建/关闭/插入数据 Tablet
+
+可以使用 Tablet 批量插入数据。数据写入后需释放对应内存资源。
+```C
+/**
+ * @brief 创建用于批量写入的 Tablet。
+ *
+ * @param column_name_list [输入] 列名数组,长度为 column_num。
+ * @param data_types [输入] 数据类型数组,长度为 column_num。
+ * @param column_num [输入] 列数量,必须 ≥ 1。
+ * @param max_rows [输入] 预分配的最大行数,必须 ≥ 1。
+ * @return Tablet 成功返回有效句柄。
+ * @note 使用完后需调用 free_tablet() 释放资源。
+ */
+Tablet tablet_new(char** column_name_list, TSDataType* data_types,
+                  uint32_t column_num, uint32_t max_rows);
+/**
+ * @brief 获取当前 Tablet 中的行数。
+ *
+ * @param tablet [输入] 有效 Tablet 句柄。
+ * @return uint32_t 当前行数 (0 到 max_rows-1)。
+ */
+uint32_t tablet_get_cur_row_size(Tablet tablet);
+
+/**
+ * @brief 向指定行设置时间戳。
+ *
+ * @param tablet [输入] 有效 Tablet。
+ * @param row_index [输入] 目标行号 (0 ≤ index < max_rows)。
+ * @param timestamp [输入] 时间戳 (int64_t 类型)。
+ * @return ERRNO - 成功返回 RET_OK(0),否则返回错误码。
+ */
+ERRNO tablet_add_timestamp(Tablet tablet, uint32_t row_index,
+                           Timestamp timestamp);
+
+
+/**
+ * @brief 按列名为指定行添加字符串值。
+ *
+ * @param value [输入] 以 '\0' 结尾的字符串,调用者保留所有权。
+ */
+ERRNO tablet_add_value_by_name_string(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      const char* value);
+
+ // 支持多种数据类型插入
+ERRNO tablet_add_value_by_name_int32_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int32_t value);
+ERRNO tablet_add_value_by_name_int64_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_name_double(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      double value);
+
+ERRNO tablet_add_value_by_name_float(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      float value);
+
+ERRNO tablet_add_value_by_name_bool(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      bool value);
+
+/**
+ * @brief 按列索引为指定行添加值(支持多种数据类型)。
+ *
+ * @param value [输入] 字符串会被内部复制。
+ */
+ERRNO tablet_add_value_by_index_string(Tablet tablet, uint32_t row_index,
+                                       uint32_t column_index,
+                                       const char* value);
+
+
+ERRNO tablet_add_value_by_index_int32_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int32_t value);
+ERRNO tablet_add_value_by_index_int64_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_index_double(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      double value);
+
+ERRNO tablet_add_value_by_index_float(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      float value);
+
+ERRNO tablet_add_value_by_index_bool(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      bool value);
+
+                                       
+void free_tablet(Tablet* tablet);
+```
+
+
+
+
+
+###  将 Tablet 写入 TsFile
+
+```C
+/**
+ * @brief 将 Tablet 中的数据写入 TsFile。
+ *
+ * @param writer [输入] 有效的 TsFileWriter 句柄。
+ * @param tablet [输入] 含数据的 Tablet,写入后可释放。
+ */
+
+ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
+```
+
+
+
+
+## 读取接口
+
+###  TsFile Reader 创建/关闭
+
+```C
+/**
+ * @brief 创建用于读取 TsFile 的 TsFileReader。
+ *
+ * @param pathname [输入] TsFile 路径。
+ * @param err_code [输出] RET_OK(0) 或错误码。
+ * @return 成功时返回有效句柄。
+ *
+ * @note 使用 tsfile_reader_close() 释放资源。
+ */
+
+TsFileReader tsfile_reader_new(const char* pathname, ERRNO* err_code);
+
+/**
+ * @brief 释放 TsFileReader 占用的资源。
+ *
+ * @note 调用后句柄失效,且由此句柄获得的结果集也失效。
+ */
+ERRNO tsfile_reader_close(TsFileReader reader);
+```
+
+
+
+###  查询表 / 获取下一行
+
+```C
+
+/**
+ * @brief 在指定时间范围内,从指定表和列中查询数据。
+ *
+ * @param reader [输入] 通过 tsfile_reader_new() 获取的有效 TsFileReader 句柄。
+ * @param table_name [输入] 目标表名,必须存在于 TsFile 中。
+ * @param columns [输入] 要查询的列名数组。
+ * @param column_num [输入] 列名数组中的列数。
+ * @param start_time [输入] 起始时间戳。
+ * @param end_time [输入] 结束时间戳,必须大于等于 start_time。
+ * @param err_code [输出] 成功返回 RET_OK(0),否则返回 errno_define_c.h 中定义的错误码。
+ * @return ResultSet 查询结果集句柄。使用完成后必须通过 free_tsfile_result_set() 释放。
+ */
+ResultSet tsfile_query_table(TsFileReader reader, const char* table_name,
+                             char** columns, uint32_t column_num,
+                             Timestamp start_time, Timestamp end_time,
+                             ERRNO* err_code);
+
+/**
+ * @brief 检查并获取结果集中的下一行数据。
+ *
+ * @param result_set [输入] 有效的 ResultSet 句柄。
+ * @param error_code [输出] 成功返回 RET_OK(0),否则返回 errno_define_c.h 中的错误码。
+ * @return bool - true:存在下一行数据,false:已到达末尾或发生错误。
+ */
+bool tsfile_result_set_next(ResultSet result_set, ERRNO* error_code);
+
+/**
+ * @brief 释放结果集资源。
+ *
+ * @param result_set [输入] 有效的 ResultSet 句柄指针。
+ */
+void free_tsfile_result_set(ResultSet* result_set);
+```
+
+
+
+### 从结果集中获取数据
+
+```c
+/**
+ * @brief 判断当前行中指定列(按列名)对应的值是否为 NULL。
+ *
+ * @param result_set [输入] 当前处于有效行的 ResultSet(需在调用 next() 返回 true 之后)。
+ * @param column_name [输入] 结果集模式中存在的列名。
+ * @return bool - true:值为 NULL 或找不到该列,false:值有效。
+ */
+bool tsfile_result_set_is_null_by_name(ResultSet result_set,
+                                       const char* column_name);
+
+/**
+ * @brief 判断当前行中指定列(按列索引)对应的值是否为 NULL。
+ *
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 结果集列数)。
+ * @return bool - true:值为 NULL 或索引超出范围,false:值有效。
+ */
+bool tsfile_result_set_is_null_by_index(ResultSet result_set,
+                                        uint32_t column_index);
+
+/**
+ * @brief 根据列名获取当前行中的字符串值。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @param column_name [输入] 要获取的列名。
+ * @return char* - 字符串指针。调用者在使用完后必须手动释放该指针。
+ */
+char* tsfile_result_set_get_value_by_name_string(ResultSet result_set,
+                                                 const char* column_name);
+
+bool tsfile_result_set_get_value_by_name_bool(ResultSet result_set, const char* 
+                                                column_name);
+int32_t tsfile_result_set_get_value_by_name_int32_t(ResultSet result_set, const char* 
+                                                column_name);
+int64_t tsfile_result_set_get_value_by_name_int64_t(ResultSet result_set, const char* 
+                                                column_name);
+float tsfile_result_set_get_value_by_name_float(ResultSet result_set, const char* 
+                                                column_name);
+double tsfile_result_set_get_value_by_name_double(ResultSet result_set, const char* 
+                                                column_name);
+
+/**
+ * @brief 根据列索引获取当前行中的字符串值。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @param column_index [输入] 要获取的列索引(1 <= 索引 <= 列总数)。
+ * @return char* - 字符串指针。调用者在使用完后必须手动释放该指针。
+ */
+char* tsfile_result_set_get_value_by_index_string(ResultSet result_set,
+                                                  uint32_t column_index);
+
+int32_t tsfile_result_set_get_value_by_index_int32_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+int64_t tsfile_result_set_get_value_by_index_int64_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+float tsfile_result_set_get_value_by_index_float(ResultSet result_set, uint32_t 
+                                                    column_index);
+double tsfile_result_set_get_value_by_index_double(ResultSet result_set, uint32_t 
+                                                    column_index);
+bool tsfile_result_set_get_value_by_index_bool(ResultSet result_set, uint32_t 
+                                                    column_index);
+
+/**
+ * @brief 获取描述结果集模式的元数据信息。
+ *
+ * @param result_set [输入] 有效的结果集句柄。
+ * @return ResultSetMetaData 元数据句柄。调用者在使用后应释放该元数据。
+ * @note 调用该函数前应检查 result_set 是否为 NULL,NULL 可能表示查询执行失败。
+ */
+ResultSetMetaData tsfile_result_set_get_metadata(ResultSet result_set);
+
+/**
+ * @brief 根据索引从元数据中获取列名。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 列总数)。
+ * @return const char* 只读字符串。如果索引无效则返回 NULL。
+ */
+
+char* tsfile_result_set_metadata_get_column_name(ResultSetMetaData result_set_meta_data,
+                                                 uint32_t column_index);
+
+/**
+ * @brief 根据索引从元数据中获取列的数据类型。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @param column_index [输入] 列的位置(1 <= 索引 <= 列总数)。
+ * @return TSDataType 若索引无效则返回 TS_DATATYPE_INVALID(255)。
+ */
+TSDataType tsfile_result_set_metadata_get_data_type(
+    ResultSetMetaData result_set_meta_data, uint32_t column_index);
+
+/**
+ * @brief 获取结果集模式中的列总数。
+ *
+ * @param result_set_meta_data [输入] 有效的结果集元数据句柄。
+ * @return int 结果集中列的数量。
+ */
+int tsfile_result_set_metadata_get_column_num(ResultSetMetaData result_set);
+```
+
+
+
+###  从 TsFile Reader 中获取表定义
+
+```C
+/**
+ * @brief 获取 TsFile 中指定表的模式信息。
+ *
+ * @param reader [输入] 有效的读取器句柄。
+ * @param table_name [输入] 目标表名,必须存在于 TsFile 中。
+ * @return TableSchema 包含表及其列的信息。
+ * @note 调用者应调用 free_table_schema 释放返回的 TableSchema 资源。
+ */
+
+TableSchema tsfile_reader_get_table_schema(TsFileReader reader,
+                                           const char* table_name);
+/**
+ * @brief 获取 TsFile 中所有表的模式信息。
+ *
+ * @param size [输出] 返回的表模式数组中的元素数量。
+ * @return TableSchema* 表模式数组指针。
+ * @note 调用者必须对数组中的每个元素调用 free_table_schema(),
+ *       并对整个数组指针调用 free() 进行释放。
+ */
+
+TableSchema* tsfile_reader_get_all_table_schemas(TsFileReader reader,
+                                                 uint32_t* size);
+
+/**
+ * @brief 释放 TableSchema 占用的内存空间。
+ *
+ * @param schema [输入] 需要释放的表模式结构。
+ */
+
+void free_table_schema(TableSchema schema);
+```
+
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
new file mode 100644
index 000000000..11ba24bf1
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -0,0 +1,446 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 接口定义 - Cpp
+
+## 写入接口
+
+### TsFileTableWriter
+
+用于写入 TsFile.
+
+```cpp
+/**
+ * @brief 用于将结构化表格数据写入具有指定模式的 TsFile。
+ *
+ * TsFileTableWriter 类被设计用于写入结构化数据,特别适合时序数据,
+ * 数据将被写入一种为高效存储与检索优化的文件格式(即 TsFile)。该类允许用户定义
+ * 所需写入表的模式,按照该模式添加数据行,并将这些数据序列化写入 TsFile。
+ * 此外,还提供了在写入过程中限制内存使用的选项。
+ */
+class TsFileTableWriter {
+   public:
+    /**
+     * TsFileTableWriter 用于将表格数据写入具有指定模式的目标文件,
+     * 可选地限制内存使用。
+     *
+     * @param writer_file 要写入表数据的目标文件。不能为空。
+     * @param table_schema 用于构造表结构,定义正在写入表的模式。
+     * @param memory_threshold 可选参数。当写入数据的大小超过该值时,
+     * 数据将自动刷新到磁盘。默认值为 128MB。
+     */
+
+    TsFileTableWriter(WriteFile* writer_file,
+                      TableSchema* table_schema,
+                      uint64_t memory_threshold = 128 * 1024 * 1024);
+    ~TsFileTableWriter();
+    /**
+     * 将给定的 Tablet 数据按照表的模式写入目标文件。
+     *
+     * @param tablet 包含待写入数据的 Tablet。不能为空。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int write_table(const Tablet& tablet);
+    /**
+     * 将所有缓冲数据刷新到底层存储介质,确保所有数据都已写出。
+     * 此方法确保所有未完成的写入操作被持久化。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int flush();
+    /**
+     * 关闭写入器并释放其占用的所有资源。
+     * 调用此方法后,不应再对该实例执行任何操作。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int close();
+};
+```
+
+### 表模式
+
+描述表模式(schema)的数据结构。
+
+```cpp
+/**
+* @brief 表示整个表的模式信息。
+*
+* 此类包含描述特定表结构所需的元数据,
+* 包括表名以及所有列的模式信息。
+*/
+class TableSchema {
+    public:
+    /**
+     * 使用给定的表名和列模式构造一个 TableSchema 对象。
+     *
+     * @param table_name 表的名称,必须为非空字符串。
+     *                   此名称用于在系统中标识该表。
+     * @param column_schemas 一个包含 ColumnSchema 对象的向量。
+     *                       每个 ColumnSchema 定义表中一列的模式。
+     */
+    TableSchema(const std::string& table_name,
+                const std::vector<ColumnSchema>& column_schemas);
+};
+
+
+/**
+* @brief 表示单个列的模式信息。
+*
+* 此结构体包含描述特定列存储方式所需的元数据,
+* 包括列名、数据类型和列类别。
+*/
+struct ColumnSchema {
+    std::string column_name_;
+    common::TSDataType data_type_;
+    ColumnCategory column_category_;
+
+   /**
+     * @brief 使用给定参数构造一个 ColumnSchema 对象。
+     *
+     * @param column_name 列的名称,必须为非空字符串。
+     *                    此名称用于在表中标识该列。
+     * @param data_type 该列的数据类型,例如 INT32、DOUBLE、TEXT 等。
+     *                  数据类型决定了数据的存储与解释方式。
+     * @param column_category 列的类别,用于标识其在模式中的角色或类型,
+     *                        例如 FIELD(字段)、TAG(标签)。
+     *                        如果未指定,默认为 ColumnCategory::FIELD。
+     * @note 调用者有责任确保 `column_name` 非空。
+     */
+    ColumnSchema(std::string column_name, common::TSDataType data_type,
+                 ColumnCategory column_category = ColumnCategory::FIELD) : column_name_(std::move(column_name)),
+                                                                           data_type_(data_type),
+                                                                           column_category_(column_category) {
+    }
+};
+
+/**
+ * @brief Represents the data type of a measurement.
+ *
+ * This enumeration defines the supported data types for measurements in the system.
+ */
+enum TSDataType : uint8_t {
+    BOOLEAN = 0,
+    INT32 = 1,
+    INT64 = 2,
+    FLOAT = 3,
+    DOUBLE = 4,
+    TEXT = 5,
+    STRING = 11
+};
+
+```
+
+### Tablet
+
+
+```cpp
+/**
+ * @brief 表示用于插入到表中的数据行集合及其相关元数据。
+ *
+ * 此类用于管理和组织将要插入特定目标表的数据。
+ * 它负责存储时间戳和值,以及相关的元数据,如列名和数据类型。
+ */
+class Tablet {
+public:
+    /**
+     * @brief 使用给定参数构造一个 Tablet 对象。
+     *
+     * @param column_names 一个包含该 Tablet 中列名的向量。
+     *                     每个名称对应目标表中的一列。
+     * @param data_types 一个包含每列数据类型的向量。
+     *                   这些类型必须与目标表的模式相匹配。
+     * @param max_rows 该 Tablet 可容纳的最大行数,默认为 DEFAULT_MAX_ROWS。
+     */
+    Tablet(const std::vector<std::string> &column_names,
+           const std::vector<common::TSDataType> &data_types,
+           int max_rows = DEFAULT_MAX_ROWS);
+
+    /**
+     * @brief 向指定行添加时间戳。
+     *
+     * @param row_index 要添加时间戳的行索引,
+     *                  必须小于最大行数。
+     * @param timestamp 要添加的时间戳值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int add_timestamp(uint32_t row_index, int64_t timestamp);
+
+    /**
+     * @brief 模板函数,用于向指定的行和列添加类型为 T 的值。
+     *
+     * @tparam T 要添加的值的类型, 如 int32_t, int64_t, double,
+     *         float, bool, char*, std::tm.
+     * @param row_index 要添加值的行索引,
+     *                  必须小于最大行数。
+     * @param schema_index 要添加的值对应的列模式索引。
+     * @param val 要添加的值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    template <typename T>
+    int add_value(uint32_t row_index, uint32_t schema_index, T val);
+
+    /**
+     * @brief 模板函数,用于通过列名向指定的行和列添加类型为 T 的值。
+     *
+     * @tparam T 要添加的值的类型, 如 int32_t, int64_t, double,
+     *         float, bool, char*, std::tm.
+     * @param row_index 要添加值的行索引,
+     *                  必须小于最大行数。
+     * @param measurement_name 要添加值的列名,
+     *                         必须与构造时提供的列名之一匹配。
+     * @param val 要添加的值。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    template <typename T>
+    int add_value(uint32_t row_index, const std::string &measurement_name, T val);
+};
+```
+
+## 读接口
+### Tsfile Reader
+```cpp
+/**
+ * @brief TsFileReader 提供了查询所有以 .tsfile 为后缀的文件的能力。
+ *
+ * TsFileReader 旨在用于查询 .tsfile 文件,它支持树模型查询和表模型查询,
+ * 并支持查询元数据信息,如 TableSchema 和 TimeseriesSchema。
+ */
+
+class TsFileReader {
+   public:
+    TsFileReader();
+    ~TsFileReader();
+    /**
+     * @brief 打开 tsfile 文件。
+     *
+     * @param file_path 要打开的 tsfile 文件路径。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+
+    int open(const std::string &file_path);
+    /**
+     * @brief 关闭 tsfile,查询完成后应调用此方法。
+     *
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int close();
+    /**
+     * @brief 通过查询表达式对 tsfile 进行查询,用户可以自行构造查询表达式来查询 tsfile。
+     *
+     * @param [in] qe 查询表达式。
+     * @param [out] ret_qds 查询结果集。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int query(storage::QueryExpression *qe, ResultSet *&ret_qds);
+    /**
+     * @brief 通过路径列表、起始时间和结束时间查询 tsfile,
+     * 本方法使用树模型进行查询。
+     *
+     * @param [in] path_list 路径列表。
+     * @param [in] start_time 起始时间。
+     * @param [in] end_time 结束时间。
+     * @param [out] result_set 查询结果集。
+     */
+    int query(std::vector<std::string> &path_list, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief 通过表名、列名、起始时间和结束时间查询 tsfile,
+     * 本方法使用表模型进行查询。
+     *
+     * @param [in] table_name 表名。
+     * @param [in] columns_names 列名列表。
+     * @param [in] start_time 起始时间。
+     * @param [in] end_time 结束时间。
+     * @param [out] result_set 查询结果集。
+     */
+    int query(const std::string &table_name,
+              const std::vector<std::string> &columns_names, int64_t start_time,
+              int64_t end_time, ResultSet *&result_set);
+    /**
+     * @brief 销毁结果集,该方法应在查询完成并使用完 result_set 后调用。
+     *
+     * @param qds 查询结果集。
+     */
+    void destroy_query_data_set(ResultSet *qds);
+    ResultSet *read_timeseries(
+        const std::shared_ptr<IDeviceID> &device_id,
+        const std::vector<std::string> &measurement_name);
+    /**
+     * @brief 获取 tsfile 中的所有设备。
+     *
+     * @param table_name 表名。
+     * @return std::vector<std::shared_ptr<IDeviceID>> 设备 ID 列表。
+     */
+    std::vector<std::shared_ptr<IDeviceID>> get_all_devices(
+        std::string table_name);
+    /**
+     * @brief 根据设备 ID 和测量名称获取时间序列模式信息。
+     *
+     * @param [in] device_id 设备 ID。
+     * @param [out] result std::vector<MeasurementSchema> 测量模式列表。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    int get_timeseries_schema(std::shared_ptr<IDeviceID> device_id,
+                              std::vector<MeasurementSchema> &result);
+    /**
+     * @brief 根据表名获取表的模式信息。
+     *
+     * @param table_name 表名。
+     * @return std::shared_ptr<TableSchema> 表的模式信息。
+     */
+    std::shared_ptr<TableSchema> get_table_schema(
+        const std::string &table_name);
+    /**
+     * @brief 获取 tsfile 中所有表的模式信息。
+     *
+     * @return std::vector<std::shared_ptr<TableSchema>> 表模式信息列表。
+     */
+    std::vector<std::shared_ptr<TableSchema>> get_all_table_schemas();
+};
+```
+### ResultSet
+```cpp
+/**
+ * @brief ResultSet 是 TsFileReader 的查询结果集,用于访问查询结果。
+ *
+ * ResultSet 是一个虚类,使用时应转换为相应的实现类。
+ * @note 当使用树模型且过滤器是全局时间过滤器时,应转换为 QDSWithoutTimeGenerator。
+ * @note 当使用树模型但过滤器不是全局时间过滤器时,应转换为 QDSWithTimeGenerator。
+ * @note 如果查询使用的是表模型,则应转换为 TableResultSet。
+ */
+class ResultSet {
+   public:
+    ResultSet() {}
+    virtual ~ResultSet() {}
+
+    /**
+     * @brief 获取结果集的下一行。
+     *
+     * @param[out] has_next 布尔值,指示是否还有下一行。
+     * @return 成功时返回 0,失败时返回 errno_define.h 中的非零错误码。
+     */
+    virtual int next(bool& has_next) = 0;
+
+    /**
+     * @brief 根据列名检查该列的值是否为 null。
+     *
+     * @param column_name 列名。
+     * @return 如果值为 null 返回 true,否则返回 false。
+     */
+    virtual bool is_null(const std::string& column_name) = 0;
+
+    /**
+     * @brief 根据列索引检查该列的值是否为 null。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 如果值为 null 返回 true,否则返回 false。
+     */
+    virtual bool is_null(uint32_t column_index) = 0;
+
+    /**
+     * @brief 根据列名获取该列的值。
+     *
+     * @param column_name 列名。
+     * @return 该列的值。
+     */
+    template <typename T>
+    T get_value(const std::string& column_name);
+
+    /**
+     * @brief 根据列索引获取该列的值。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 该列的值。
+     */
+    template <typename T>
+    T get_value(uint32_t column_index);
+
+    /**
+     * @brief 获取当前行的 RowRecord。
+     *
+     * @return 当前行的 RowRecord。
+     */
+    virtual RowRecord* get_row_record() = 0;
+
+    /**
+     * @brief 获取结果集的元数据。
+     *
+     * @return std::shared_ptr<ResultSetMetadata> 结果集的元数据。
+     */
+    virtual std::shared_ptr<ResultSetMetadata> get_metadata() = 0;
+
+    /**
+     * @brief 关闭结果集。
+     *
+     * @note 当不再需要结果集时应调用此方法。
+     */
+    virtual void close() = 0;
+};
+
+```
+### ResultMeta
+```cpp
+/**
+ * @brief 结果集的元数据信息。
+ *
+ * 用户可以通过 ResultSetMetadata 获取结果集的元数据,
+ * 包括所有列名和数据类型。当用户使用表模型时,第一列默认是时间列。
+ */
+class ResultSetMetadata {
+   public:
+    /**
+     * @brief ResultSetMetadata 的构造函数。
+     *
+     * @param column_names 列名列表。
+     * @param column_types 列类型列表。
+     */
+    ResultSetMetadata(const std::vector<std::string>& column_names,
+                      const std::vector<common::TSDataType>& column_types);
+
+    /**
+     * @brief 获取指定索引的列类型。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 对应的列类型。
+     */
+    common::TSDataType get_column_type(uint32_t column_index);
+
+    /**
+     * @brief 获取指定索引的列名。
+     *
+     * @param column_index 从 1 开始的列索引。
+     * @return 对应的列名。
+     */
+    std::string get_column_name(uint32_t column_index);
+
+    /**
+     * @brief 获取列的总数量。
+     *
+     * @return 列的数量(uint32_t 类型)。
+     */
+    uint32_t get_column_count();
+};
+
+```
\ No newline at end of file
diff --git a/src/zh/UserGuide/latest/QuickStart/Interface-Definitions.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
similarity index 76%
rename from src/zh/UserGuide/latest/QuickStart/Interface-Definitions.md
rename to src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
index 09227a9de..109d2841d 100644
--- a/src/zh/UserGuide/latest/QuickStart/Interface-Definitions.md
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Java.md
@@ -18,43 +18,49 @@
     under the License.
 
 -->
-# 接口定义
+# 接口定义 - Java
 
 ## 写入接口
 
 ### ITsFileWriter
 
-用于写入数据至 tsfile
+用于将数据写入 TsFile
 
 ```Java
 interface ITsFileWriter extends AutoCloseable {
   // 写入数据
   void write(Tablet tablet);
-  // 关闭写入
+  
+  // 关闭写入器
   void close();
 }
+
 ```
 
 ### TsFileWriterBuilder
 
-用于构造 ITsFileWriter
+用于构建 ITsFileWriter
 
 ```Java
 class TsFileWriterBuilder {
   // 构建 ITsFileWriter 对象
   public ITsFileWriter build();
+  
   // 目标文件
   public TsFileWriterBuilder file(File file);
-  // 用于构造表结构
+  
+  // 用于构建表结构
   public TsFileWriterBuilder tableSchema(TableSchema schema);
-  // 用于限制对象的内存大小
+  
+  // 用于限制写入时的内存使用大小
   public TsFileWriterBuilder memoryThreshold(long memoryThreshold);
 }
+
 ```
 
 ### TableSchema
 
-描述表 schema 的数据结构
+描述表结构的数据组织方式
 
 ```Java
 class TableSchema {
@@ -65,10 +71,13 @@ class TableSchema {
 class ColumnSchema {
   // 构造函数
   public ColumnSchema(String columnName, TSDataType dataType, ColumnCategory columnCategory);
+  
   // 获取列名
   public String getColumnName();
+  
   // 获取列的数据类型
   public TSDataType getDataType();
+  
   // 获取列的类别
   public Tablet.ColumnCategory getColumnCategory();
 }
@@ -76,55 +85,62 @@ class ColumnSchema {
 class ColumnSchemaBuilder {
   // 构建 ColumnSchema 对象
   public ColumnSchema build();
-  // 列名
+  
+  // 设置列名
   public ColumnSchemaBuilder name(String columnName);
-  // 列的数据类型
+  
+  // 设置列的数据类型
   public ColumnSchemaBuilder dataType(TSDataType columnType);
-  // 列类别
+  
+  // 设置列的类别
   public ColumnSchemaBuilder category(ColumnCategory columnCategory);
+  
   // 支持的数据类型
   enum TSDataType {    
-    BOOLEAN,    
-    INT32,    
-    INT64,    
-    FLOAT,    
-    DOUBLE,    
-    TIMESTAMP,    
-    TEXT,    
-    DATE,    
-    BLOB,    
-    STRING;  
+    BOOLEAN,        // 布尔型    
+    INT32,          // 32位整数
+    INT64,          // 64位整数    
+    FLOAT,          // 单精度浮点数    
+    DOUBLE,         // 双精度浮点数    
+    TIMESTAMP,      // 时间戳   
+    TEXT,           // 文本    
+    DATE,           // 日期    
+    BLOB,           // 二进制大对象   
+    STRING;         // 字符串  
   }
+  
   // 支持的列类别
   enum ColumnCategory {    
-    TAG,   
-    FIELD 
+    TAG,    // 标签列   
+    FIELD   // 测点列
   }
 }
+
 ```
 
 ### Tablet
 
-写入的列式内存结构
 
 ```Java
 class Tablet {
   // 构造函数
   public Tablet(List<String> columnNameList, List<TSDataType> dataTypeList);
   public Tablet(List<String> columnNameList, List<TSDataType> dataTypeList, int maxRowNum);
-  // 添加时间戳的接口
+  
+  // 添加时间戳
   void addTimestamp(int rowIndex, long timestamp);
-  // 添加值的接口
-  // 根据列名添加值
+  
+  // 添加值
+  // 基于列名添加值
   void addValue(int rowIndex, String columnName, int val);
   void addValue(int rowIndex, String columnName, long val);  
   void addValue(int rowIndex, String columnName, float val);  
   void addValue(int rowIndex, String columnName, double val);  
   void addValue(int rowIndex, String columnName, boolean val);  
   void addValue(int rowIndex, String columnName, String val);
-  void addValue(int rowIndex, String columnName, byte[] val);
+  void addValue(int rowIndex, String columnName, byte[] val); 
   void addValue(int rowIndex, String columnName, LocalDate val); 
-  // 根据索引位置添加值
+  // 基于索引添加值
   void addValue(int rowIndex, int columnIndex, int val);
   void addValue(int rowIndex, int columnIndex, long val);  
   void addValue(int rowIndex, int columnIndex, float val);  
@@ -136,48 +152,54 @@ class Tablet {
 }
 ```
 
-## 查询接口
+## Read Interface
 
 ### ITsFileReader
 
-用于查询 tsfile 中的数据
+用于在 TsFile 中查询数据。
 
 ```Java
 interface ITsFileReader extends AutoCloseable {
   // 用于执行查询并返回结果
   ResultSet query(String tableName, List<String> columnNames, long startTime, long endTime);
-  // 返回tsfile中名为tableName的表的架构
+  
+  // 返回 tsfile 中指定表名(tableName)的表结构信息
   Optional<TableSchema> getTableSchemas(String tableName);
-  // 检索ts文件中所有表的架构信息
+  
+  // 获取 tsfile 中所有表的结构信息
   List<TableSchema> getAllTableSchema();
+  
   // 关闭查询
   void close();
 }
+
 ```
 
 ### TsFileReaderBuilder
 
-用于构建 ITsFileWriter
+用于构建 ITsFileReader
 
 ```Java
 class TsFileReaderBuilder {
   // 构建 ITsFileReader 对象
   public ITsFileReader build();
+  
   // 目标文件
   public TsFileReaderBuilder file(File file);
 }
+
 ```
 
 ### ResultSet
 
-用于构建 ITsFileWriter
+查询的结果集
 
 ```Java
 interface ResultSet extends AutoCloseable {  
-  // 将光标移动到下一行并返回是否还有数据
-  boolean next();
+  // 将游标移动到下一行,并返回是否还有数据
+  boolean next();  
     
-  // 获取当前行和某一列的值
+  // 获取当前行某一列的值
   int getInt(String columnName);  
   int getInt(int columnIndex);  
   long getLong(String columnName);  
@@ -195,27 +217,30 @@ interface ResultSet extends AutoCloseable {
   byte[] getBinary(String columnName);
   byte[] getBinary(int columnIndex);
      
-  // 确定当前行中的列是否为NULL
+  // 判断当前行某一列是否为 NULL
   boolean isNull(String columnName);  
   boolean isNull(int columnIndex);  
     
-  // 关闭当前结构集
+  // 关闭当前结果集
   void close();
     
-  // 获取结果集的表头
+  // 获取结果集的元数据信息
   ResultSetMetadata getMetadata();
 }
+
 ```
 
 ### ResultSetMetadata
 
-用于获取结果集的元数据
+用于获取结果集的元数据信息
 
 ```Java
-interface ResultSetMetadata {
-  // 获取结果集第N列的列名
+interface ResultSetMetadata {  
+  // 获取结果集中第 N 列的列名
   String getColumnName(int columnIndex);
-  // 获取结果集第N列的数据类型
+  
+  // 获取结果集中第 N 列的数据类型
   TSDataType getColumnType(int columnIndex);
 }
+
 ```
diff --git a/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
new file mode 100644
index 000000000..157d8cbab
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -0,0 +1,264 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 接口定义 - Python
+
+## 数据模式
+
+```Python
+class TSDataType(IntEnum):
+    """
+    TsFile 当前支持的数据类型枚举。
+    """
+    BOOLEAN = 0
+    INT32 = 1
+    INT64 = 2
+    FLOAT = 3
+    DOUBLE = 4
+    TEXT = 5
+    STRING = 11
+
+class ColumnCategory(IntEnum):
+    """
+    TsFile 中的列类别枚举。
+    TAG:表示标签列,用于存储元数据。
+    FIELD:表示测点列,用于存储实际数据值。
+    """
+    TAG = 0
+    FIELD = 1
+
+class ColumnSchema:
+    """定义表中某一列的模式(名称、数据类型、类别)。"""
+
+    column_name = None
+    data_type = None
+    category = None
+
+    def __init__(self, column_name: str, data_type: TSDataType,
+                 category: ColumnCategory = ColumnCategory.FIELD)
+
+class TableSchema:
+    """表结构的模式定义。"""
+
+    table_name = None
+    columns = None
+
+    def __init__(self, table_name: str, columns: List[ColumnSchema])
+
+class ResultSetMetaData:
+    """查询结果集的元数据容器(列名、类型、表名)。"""
+
+    column_list = None
+    data_types = None
+    table_name = None
+
+    def __init__(self, column_list: List[str], data_types: List[TSDataType])
+
+
+```
+
+
+
+## 写入接口
+
+### TsFileWriter 
+
+```python
+class TsFileTableWriter:
+    """
+    用于将结构化表格数据写入具有指定模式的 TsFile。
+    """
+
+    """
+    :param path: tsfile 文件路径,如果不存在则会创建。
+    :param table_schema: 描述要写入表的结构信息。
+    :return: 无返回值。
+    """
+    def __init__(self, path: str, table_schema: TableSchema)
+
+    """
+    将一个 Tablet 写入 TsFile 中的表中。
+    :param tablet: 存储表的批量数据。
+    :return: 无返回值。
+    """
+    def write_table(self, tablet: Tablet)
+
+    """
+    关闭 TsFileTableWriter,并自动刷新数据。
+    :return: 无返回值。
+    """
+    def close(self)
+
+
+```
+
+
+### Tablet definition
+
+
+```Python
+class Tablet(object)
+    """
+    一个为批量数据预分配的列式数据容器,具有类型约束。
+    它会创建时间戳缓冲区和带类型的数据列,并对数值类型执行有效值范围校验。
+
+    初始化参数:
+    :param column_name_list: 数据列的名称列表。
+    :param type_list: 每列允许的数据类型(TSDataType 枚举值)。
+    :param max_row_num: 预分配的最大行数(默认值为 1024)。
+    :return: 无返回值。
+    """
+
+    def __init__(self, column_name_list: list[str], type_list: list[TSDataType],
+                 max_row_num: int = 1024)
+
+```
+
+## 读取接口
+
+### TsFileReader
+
+```python
+class TsFileReader:
+    """
+    从 TsFile 中查询表格数据。
+    """
+
+    """
+    初始化指定路径的 TsFile 读取器。
+    :param pathname: TsFile 文件的路径。
+    :return: 无返回值。
+    """
+    def __init__(self, pathname)
+
+    """
+    对指定的表和列执行时间范围查询。
+
+    :param table_name: 要查询的表名。
+    :param column_names: 要检索的列名列表。
+    :param start_time: 查询范围的起始时间(默认:int64 最小值)。
+    :param end_time: 查询范围的结束时间(默认:int64 最大值)。
+    :return: 查询结果集处理器。
+    """
+    def query_table(self, table_name : str, column_names : List[str],
+                    start_time : int = np.iinfo(np.int64).min,
+                    end_time: int = np.iinfo(np.int64).max) -> ResultSet
+
+    """
+    获取指定表的模式信息。
+
+    :param table_name: 表名。
+    :return: 指定表的模式信息。
+    """
+    def get_table_schema(self, table_name : str) -> TableSchema
+
+    """
+    获取 TsFile 中所有表的模式信息。
+
+    :return: 一个将表名映射到其模式的字典。
+    """
+    def get_all_table_schemas(self) -> dict[str, TableSchema]
+
+    """
+    关闭 TsFile 读取器。如果读取器中有活动的结果集,它们将失效。
+    """
+    def close(self)
+
+
+```
+
+### ResultSet
+
+
+```python
+class ResultSet:
+    """
+    用于从查询结果集中获取数据。当执行查询时,将返回一个结果集处理器。
+    如果读取器被关闭,该结果集将失效。
+    """
+
+    """
+    检查并移动到查询结果集中的下一行。
+
+    :return: 如果存在下一行则返回 True,否则返回 False。
+    """
+    def next(self) -> bool
+
+    """
+    获取结果集的列信息。
+
+    :return: 一个字典,键为列名,值为对应的数据类型。
+    """
+    def get_result_column_info(self) -> dict[str, TsDataType]
+
+    """
+    从查询结果集中读取下一个 DataFrame。
+
+    :param max_row_num: 要读取的最大行数,默认值为 1024。
+    :return: 包含查询结果数据的 DataFrame。
+    """
+    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+
+    """
+    从查询结果集中按索引获取值。
+
+    :param index: 要获取值的索引,1 <= index <= column_num。
+    :return: 指定索引处的值。
+    """
+    def get_value_by_index(self, index : int)
+
+    """
+    从查询结果集中按列名获取值。
+
+    :param column_name: 要获取值的列名。
+    :return: 指定列的值。
+    """
+    def get_value_by_name(self, column_name : str)
+
+    """
+    获取结果集的元数据信息。
+
+    :return: 结果集的元数据,类型为 ResultSetMetadata 对象。
+    """
+    def get_metadata(self) -> ResultSetMetadata
+
+    """
+    检查结果集中指定索引位置的字段是否为 null。
+
+    :param index: 要检查的字段索引,1 <= index <= column_num。
+    :return: 若字段为 null 返回 True,否则返回 False。
+    """
+    def is_null_by_index(self, index : int)
+
+    """
+    检查结果集中指定列名的字段是否为 null。
+
+    :param name: 要检查的列名。
+    :return: 若字段为 null 返回 True,否则返回 False。
+    """
+    def is_null_by_name(self, name : str)
+
+    """
+    关闭结果集并释放相关资源。
+    """
+    def close(self)
+
+```
+
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
new file mode 100644
index 000000000..9574787b7
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-C.md
@@ -0,0 +1,245 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手 - C
+
+## 依赖
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## 安装
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+如果没有安装 maven, 你可以执行下面的指令完成编译:
+
+在 Linux 或 Macos上:
+```shell
+mvnw clean install -P with-cpp -DskipTests
+```
+在 Windows 上:
+
+```shell
+mvnw.cmd clean install -P with-cpp -DskipTests
+```
+
+### 目录结构
+
+• **​Include 目录**: 位于 `tsfile/cpp/target/build/include/cwrapper`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
+
+• **​Lib 目录**: 位于 `tsfile/cpp/target/build/lib`,存放编译后的库文件。链接时指定该路径和库名称(例如,使用 -L 和 -l 标志)。
+
+### 配置CMake
+
+在您的 CMakeLists.txt 中添加:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+注意:将 ${SDK_LIB} 设置为您的 TSFile 库目录。
+
+## 写入流程
+
+### 构造 TsFileWriter
+
+```C
+ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create table schema to describe a table in a tsfile.
+    TableSchema table_schema;
+    table_schema.table_name = strdup(table_name);
+    table_schema.column_num = 3;
+    table_schema.column_schemas =
+        (ColumnSchema*)malloc(sizeof(ColumnSchema) * 3);
+    table_schema.column_schemas[0] =
+        (ColumnSchema){.column_name = strdup("id1"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[1] =
+        (ColumnSchema){.column_name = strdup("id2"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[2] =
+        (ColumnSchema){.column_name = strdup("s1"),
+                     .data_type = TS_DATATYPE_INT32,
+                     .column_category = FIELD};
+
+    // Create a file with specify path to write tsfile.
+    WriteFile file = write_file_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+
+    // Create tsfile writer with specify table schema.
+    TsFileWriter writer = tsfile_writer_new(file, &table_schema, &code);
+    HANDLE_ERROR(code);
+```
+
+### 写入数据
+
+```C
+// Create tablet to insert data.
+    Tablet tablet =
+        tablet_new((char*[]){"id1", "id2", "s1"},
+                   (TSDataType[]){TS_DATATYPE_STRING, TS_DATATYPE_STRING,
+                                  TS_DATATYPE_INT32},
+                   3, 5);
+
+    for (int row = 0; row < 5; row++) {
+        Timestamp timestamp = row;
+        tablet_add_timestamp(tablet, row, timestamp);
+        tablet_add_value_by_name_string(tablet, row, "id1", "id_field_1");
+        tablet_add_value_by_name_string(tablet, row, "id2", "id_field_2");
+        tablet_add_value_by_name_int32_t(tablet, row, "s1", row);
+    }
+
+    // Write tablet data.
+    HANDLE_ERROR(tsfile_writer_write(writer, tablet));
+
+    // Free tablet.
+    free_tablet(&tablet);
+
+    // Free table schema we used before.
+    free_table_schema(table_schema);
+```
+### 关闭文件
+
+```C
+    // Close writer.
+    HANDLE_ERROR(tsfile_writer_close(writer));
+
+    // Close write file after closing writer.
+    free_write_file(&file);
+```
+### 示例代码
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_write.c>
+
+## 读取流程
+
+### 构造 TsFileReader
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create tsfile reader with specify tsfile's path
+    TsFileReader reader = tsfile_reader_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+```
+
+### 构造 Query Request
+```C
+    ResultSet ret = tsfile_query_table(
+        reader, table_name, (char*[]){"id1", "id2", "s1"}, 3, 0, 10, &code);
+    HANDLE_ERROR(code);
+
+    if (ret == NULL) {
+        HANDLE_ERROR(RET_INVALID_QUERY);
+    }
+```
+
+### 查询数据
+
+```C
+// Get query result metadata: column name and datatype
+    ResultSetMetaData metadata = tsfile_result_set_get_metadata(ret);
+    int column_num = tsfile_result_set_metadata_get_column_num(metadata);
+
+    for (int i = 1; i <= column_num; i++) {
+        printf("column:%s, datatype:%d\n", tsfile_result_set_metadata_get_column_name(metadata, i),
+               tsfile_result_set_metadata_get_data_type(metadata, i));
+    }
+
+    // Get data by column name or index.
+    while (tsfile_result_set_next(ret, &code) && code == RET_OK) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp =
+            tsfile_result_set_get_value_by_index_int64_t(ret, 1);
+        printf("%ld\n", timestamp);
+        for (int i = 1; i <= column_num; i++) {
+            if (tsfile_result_set_is_null_by_index(ret, i)) {
+                printf(" null ");
+            } else {
+                switch (tsfile_result_set_metadata_get_data_type(metadata, i)) {
+                    case TS_DATATYPE_BOOLEAN:
+                        printf("%d\n", tsfile_result_set_get_value_by_index_bool(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_INT32:
+                        printf("%d\n",
+                               tsfile_result_set_get_value_by_index_int32_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_INT64:
+                        printf("%ld\n",
+                               tsfile_result_set_get_value_by_index_int64_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_FLOAT:
+                        printf("%f\n", tsfile_result_set_get_value_by_index_float(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_DOUBLE:
+                        printf("%lf\n",
+                               tsfile_result_set_get_value_by_index_double(ret,
+                                                                           i));
+                        break;
+                    case TS_DATATYPE_STRING:
+                        printf("%s\n",
+                               tsfile_result_set_get_value_by_index_string(ret,
+                                                                           i));
+                        break;
+                    default:
+                        printf("unknown_type");
+                        break;
+                }
+            }
+        }
+    }
+
+    // Free query meta data
+    free_result_set_meta_data(metadata);
+
+    // Free query handler.
+    free_tsfile_result_set(&ret);
+```
+
+### 关闭文件
+
+```C
+    // Close tsfile reader.
+    tsfile_reader_close(reader);
+```
+### 示例代码
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
+
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
new file mode 100644
index 000000000..d91f3d824
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-CPP.md
@@ -0,0 +1,223 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手 - Cpp
+
+## 依赖
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## 安装
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+注意:如果 Maven 没有安装,您可以在 Linux 上使用 `mvnw`,或者在 Windows 上使用 `mvnw.cmd`。
+
+### 目录结构
+
+• **​Include 目录**: 位于 `tsfile/cpp/target/build/include`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
+
+• **​Lib 目录**: 位于 `tsfile/cpp/target/build/lib`,存放编译后的库文件。链接时指定该路径和库名称(例如,使用 -L 和 -l 标志)。
+
+### CMake 集成
+在您的 CMakeLists.txt 中添加:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+注意:将 ${SDK_LIB} 设置为您的 TSFile 库目录。
+
+## 写入流程
+
+### 构造 TsFileWriter
+
+```cpp
+    std::string file_name = "test.tsfile";
+    storage::libtsfile_init();
+
+    std::string table_name = "table1";
+
+    // Create a file with specify path to write tsfile.
+    storage::WriteFile file;
+    int flags = O_WRONLY | O_CREAT | O_TRUNC;
+#ifdef _WIN32
+    flags |= O_BINARY;
+#endif
+    mode_t mode = 0666;
+    file.create("test_cpp.tsfile", flags, mode);
+
+    // Create table schema to describe a table in a tsfile.
+    auto* schema = new storage::TableSchema(
+        table_name,
+        {
+            common::ColumnSchema("id1", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("id2", common::STRING, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::TAG),
+            common::ColumnSchema("s1", common::INT64, common::UNCOMPRESSED,
+                                 common::PLAIN, common::ColumnCategory::FIELD),
+        });
+
+    // Create a file with specify path to write tsfile.
+    auto* writer = new storage::TsFileTableWriter(&file, schema);
+```
+
+### 写入数据
+
+```cpp
+    // Create tablet to insert data.
+    storage::Tablet tablet(
+        table_name, {"id1", "id2", "s1"},
+        {common::STRING, common::STRING, common::INT64},
+        {common::ColumnCategory::TAG, common::ColumnCategory::TAG,
+         common::ColumnCategory::FIELD},
+        10);
+
+
+    for (int row = 0; row < 5; row++) {
+        long timestamp = row;
+        tablet.add_timestamp(row, timestamp);
+        tablet.add_value(row, "id1", "id1_filed_1");
+        tablet.add_value(row, "id2", "id1_filed_2");
+        tablet.add_value(row, "s1", static_cast<int64_t>(row));
+    }
+
+    // Write tablet data.
+    writer->write_table(tablet);
+
+    // Flush data
+    writer->flush();
+```
+
+### 关闭文件
+
+```cpp
+    writer->close()
+```
+
+### 示例代码
+
+使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_write.cpp>
+
+## 查询流程
+
+### 构造 TsFileReader
+
+```cpp
+    int code = 0;
+    storage::libtsfile_init();
+    std::string table_name = "table1";
+
+    // Create tsfile reader and open tsfile with specify path.
+    storage::TsFileReader reader;
+    reader.open("test_cpp.tsfile");
+```
+
+### 构造 Query Request
+
+```cpp
+    // Query data with tsfile reader.
+    storage::ResultSet* temp_ret = nullptr;
+    std::vector<std::string> columns;
+    columns.emplace_back("id1");
+    columns.emplace_back("id2");
+    columns.emplace_back("s1");
+
+    // Column vector contains the columns you want to select.
+    reader.query(table_name, columns, 0, 100, temp_ret);
+```
+
+### 查询数据
+
+```cpp
+    // Get query handler.
+    auto ret = dynamic_cast<storage::TableResultSet*>(temp_ret);
+
+    // Metadata in query handler.
+    auto metadata = ret->get_metadata();
+    int column_num = metadata->get_column_count();
+    for (int i = 1; i <= column_num; i++) {
+        std::cout << "column name: " << metadata->get_column_name(i)
+                  << std::endl;
+        std::cout << "column type: "
+                  << std::to_string(metadata->get_column_type(i)) << std::endl;
+    }
+
+    // Check and get next data.
+    bool has_next = false;
+    while ((code = ret->next(has_next)) == common::E_OK && has_next) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp = ret->get_value<Timestamp>(1);
+        for (int i = 1; i <= column_num; i++) {
+            if (ret->is_null(i)) {
+                std::cout << "null" << std::endl;
+            } else {
+                switch (metadata->get_column_type(i)) {
+                    case common::BOOLEAN:
+                        std::cout << ret->get_value<bool>(i) << std::endl;
+                        break;
+                    case common::INT32:
+                        std::cout << ret->get_value<int32_t>(i) << std::endl;
+                        break;
+                    case common::INT64:
+                        std::cout << ret->get_value<int64_t>(i) << std::endl;
+                        break;
+                    case common::FLOAT:
+                        std::cout << ret->get_value<float>(i) << std::endl;
+                        break;
+                    case common::DOUBLE:
+                        std::cout << ret->get_value<double>(i) << std::endl;
+                        break;
+                    case common::STRING:
+                        std::cout << ret->get_value<common::String*>(i)
+                                         ->to_std_string()
+                                  << std::endl;
+                        break;
+                    default:;
+                }
+            }
+        }
+    }
+```
+
+### 关闭文件
+
+```cpp
+    // Close query result set.
+    ret->close();
+    // Close reader.
+    reader.close();
+```
+
+### Sample Code
+
+使用这些接口的示例代码可以在以下链接中找到 <https://github.com/apache/tsfile/blob/develop/cpp/examples/cpp_examples/demo_read.cpp>
+
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-JAVA.md
similarity index 92%
rename from src/zh/UserGuide/latest/QuickStart/QuickStart.md
rename to src/zh/UserGuide/latest/QuickStart/QuickStart-JAVA.md
index b750c458e..b0c195f06 100644
--- a/src/zh/UserGuide/latest/QuickStart/QuickStart.md
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-JAVA.md
@@ -18,7 +18,7 @@
     under the License.
 
 -->
-# 快速上手
+# 快速上手 - Java
 
 ## 依赖
 
@@ -78,9 +78,8 @@ TableSchema tableSchema =
                                 .category(Tablet.ColumnCategory.FIELD)
                                 .build(),
                         new ColumnSchemaBuilder()
-                                .name("s2")
-                                .dataType(TSDataType.BOOLEAN)
-                                .category(Tablet.ColumnCategory.FIELD)
+                                .name("s2").
+                                dataType(TSDataType.BOOLEAN)
                                 .build()));
 
 long memoryThreshold = 10 * 1024 * 1024;
@@ -122,7 +121,7 @@ writer.close();
 
 ### 示例代码
 
-使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
+使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/WriteTabletWithITsFileWriter.java>
 
 ## 查询示例
 
@@ -181,5 +180,5 @@ reader.close();
 
 ### 示例代码
 
-使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/rc/2.0.1/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
+使用这些接口的示例代码位于:<https://github.com/apache/tsfile/blob/develop/java/examples/src/main/java/org/apache/tsfile/v4/ITsFileReaderAndITsFileWriter.java>
 
diff --git a/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
new file mode 100644
index 000000000..6d0b32cd9
--- /dev/null
+++ b/src/zh/UserGuide/latest/QuickStart/QuickStart-PYTHON.md
@@ -0,0 +1,131 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手 - Python
+
+## 依赖
+
+如果需要在在本地编译,依赖如下所示:
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+- cython >= 3.0.10
+- numpy >= 1.26.4
+- pandas >= 2.2.2
+- setuptools >= 70.0.0
+
+如果使用 Pip 在线安装 TsFile,依赖包如下:
+
+numpy >= 1.26.4
+pandas >= 2.2.2
+
+## 安装
+
+### 在本地进行编译
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-python -DskipTests
+```
+
+如果没有安装 maven, 你可以执行下面的指令完成编译:
+
+在 Linux 或 Macos上:
+```shell
+mvnw clean install -P with-python -DskipTests
+```
+在 Windows 上:
+
+```shell
+mvnw.cmd clean install -P with-python -DskipTests
+```
+#### 目录结构
+
+• **wheel**: wheel文件位于  `tsfile/python/dist`, 你可以使用 pip install 命令来进行本地安装。
+
+### 安装到本地
+
+你可以执行 `pip install`命令来安装编译得到的 tsfile包(假设他的名字是 tsfile.wheel)
+
+```bash
+pip install tsfile.wheel
+```
+
+### 使用 PIP 进行在线安装
+
+使用pip 指令来在线安装 TsFile 包
+
+```bash
+pip install tsfile
+```
+
+
+## 写入示例
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+if os.path.exists(table_data_dir):
+    os.remove(table_data_dir)
+
+column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
+column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
+column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+table_schema = TableSchema("test_table", columns=[column1, column2, column3])
+
+
+### Free resource automatically
+with TsFileTableWriter(table_data_dir, table_schema) as writer:
+    tablet_row_num = 100
+    tablet = Tablet(
+                    ["id", "id2", "value"],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    tablet_row_num)
+
+    for i in range(tablet_row_num):
+        tablet.add_timestamp(i, i * 10)
+        tablet.add_value_by_name("id", i, "test1")
+        tablet.add_value_by_name("id2", i, "test" + str(i))
+        tablet.add_value_by_index(2, i, i * 100.2)
+
+    writer.write_table(tablet)
+```
+
+## 读取示例
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+### Free resource automatically
+with TsFileReader(table_data_dir) as reader:
+    print(reader.get_all_table_schemas())
+    with reader.query_table("test_table", ["id2", "value"], 0, 50) as result:
+        print(result.get_metadata())
+        while result.next():
+            print(result.get_value_by_name("id2"))
+            print(result.get_value_by_name("value"))
+            print(result.read_data_frame())
+```


(tsfile) 14/43: Docs For C and python interface. (#441)

Posted by co...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ColinLeeo pushed a commit to branch tsfile_doc
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit a6e73550ece3ae0e75bc09c99aec77248f3f2a0b
Author: Colin Lee <10...@users.noreply.github.com>
AuthorDate: Fri Mar 21 11:09:45 2025 +0800

    Docs For C and python interface. (#441)
    
    * add c and py doc.
    
    * add C interface.
    
    * add python interface.
    
    * fix doc
    
    * fix some comment in docs.
    
    * add quick start.
    
    * add quick start.
    
    * fix py user guide.
    
    * add doc.
    
    * add python example.
    
    * add doc desc
    
    * fix result set meta data.
    
    * add some code.
    
    * commands to command.
---
 .../InterfaceDefinition/InterfaceDefinition-C.md   | 473 +++++++++++++++++++++
 .../InterfaceDefinition/InterfaceDefinition-CPP.md |   7 +-
 .../InterfaceDefinition-Python.md                  | 282 ++++++++++++
 src/UserGuide/develop/QuickStart/QuickStart-C.md   | 243 +++++++++++
 .../{QuickStart.md => QuickStart-JAVA.md}          |   0
 .../develop/QuickStart/QuickStart-PYTHON.md        | 123 ++++++
 .../UserGuide/develop/QuickStart/QuickStart-C.md   | 245 +++++++++++
 .../{QuickStart.md => QuickStart-JAVA.md}          |   0
 .../develop/QuickStart/QuickStart-PYTHON.md        | 131 ++++++
 9 files changed, 1501 insertions(+), 3 deletions(-)

diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
new file mode 100644
index 000000000..93630a537
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-C.md
@@ -0,0 +1,473 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface definition
+
+
+
+## Schema
+
+```C
+typedef enum {
+    TS_DATATYPE_BOOLEAN = 0,
+    TS_DATATYPE_INT32 = 1,
+    TS_DATATYPE_INT64 = 2,
+    TS_DATATYPE_FLOAT = 3,
+    TS_DATATYPE_DOUBLE = 4,
+    TS_DATATYPE_TEXT = 5,
+    TS_DATATYPE_STRING = 11
+} TSDataType;
+
+typedef enum column_category { TAG = 0, FIELD = 1 } ColumnCategory;
+
+// ColumnSchema: Represents the schema of a single column, 
+// including its name, data type, and category.
+typedef struct column_schema {
+    char* column_name;
+    TSDataType data_type;
+    ColumnCategory column_category;
+} ColumnSchema;
+
+// TableSchema: Defines the schema of a table, 
+// including its name and a list of column schemas.
+typedef struct table_schema {
+    char* table_name;
+    ColumnSchema* column_schemas;
+    int column_num;
+} TableSchema;
+
+// ResultSetMetaData: Contains metadata for a result set, 
+// such as column names and their data types.
+typedef struct result_set_meta_data {
+    char** column_names;
+    TSDataType* data_types;
+    int column_num;
+} ResultSetMetaData;
+```
+
+
+## Write Interface
+
+### TsFile WriteFile Create/Close
+
+```C
+/**
+ * @brief Creates a file for writing.
+ *
+ * @param pathname     Target file to create.
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return WriteFile Valid handle on success.
+ *
+ * @note Call free_write_file() to release resources.
+ * @note Before call free_write_file(), make sure TsFileWriter has been closed.
+ */
+
+WriteFile write_file_new(const char* pathname, ERRNO* err_code);
+
+void free_write_file(WriteFile* write_file);
+```
+
+### TsFile Writer Create/Close
+
+When creating a TsFile Writer, you need to specify WriteFile and TableSchema. You can use the memory_threshold parameter in
+tsfile_writer_new_with_memory_threshold to limit the memory usage of the Writer during data writing, but in the current version, this parameter does not take effect.
+
+```C
+/**
+ * @brief Creates a TsFileWriter for writing a TsFile.
+ *
+ * @param file     Target file where the table data will be written.
+ * @param schema       Table schema definition.
+ *                     - Ownership: Should be freed by the caller.
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return TsFileWriter Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_writer_close() to release resources.
+ */
+TsFileWriter tsfile_writer_new(WriteFile file, TableSchema* schema,
+                               ERRNO* err_code);
+
+/**
+ * @brief Creates a TsFileWriter for writing a TsFile.
+ *
+ * @param file     Target file where the table data will be written.
+ * @param schema       Table schema definition.
+ *                     - Ownership: Should be freed by the caller.
+ * @param memory_threshold When the size of written data exceeds
+ * this value, the data will be automatically flushed to the disk. 
+ * @param err_code     [out] RET_OK(0), or error code in errno_define_c.h.
+ *
+ * @return TsFileWriter Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_writer_close() to release resources.
+ */
+TsFileWriter tsfile_writer_new_with_memory_threshold(WriteFile file,
+                                                     TableSchema* schema,
+                                                     uint64_t memory_threshold,
+                                                     ERRNO* err_code);
+
+/**
+ * @brief Releases resources associated with a TsFileWriter.
+ *
+ * @param writer [in] Writer handle obtained from tsfile_writer_new().
+ *                    After call: handle becomes invalid and must not be reused.
+ * @return ERRNO - RET_OK(0) on success, or error code in errno_define_c.h.
+ */
+ERRNO tsfile_writer_close(TsFileWriter writer);
+```
+
+
+
+### Tablet Create/Close/Insert data
+
+You can use Tablet to insert data into TsFile in batches, and you need to release the space occupied by the Tablet after use.
+
+```C
+/**
+ * @brief Creates a Tablet for batch data.
+ *
+ * @param column_name_list [in] Column names array. Size=column_num.
+ * @param data_types [in] Data types array. Size=column_num.
+ * @param column_num [in] Number of columns. Must be ≥1.
+ * @param max_rows [in] Pre-allocated row capacity. Must be ≥1.
+ * @return Tablet Valid handle.
+ * @note Call free_tablet() to release resources.
+ */
+Tablet tablet_new(char** column_name_list, TSDataType* data_types,
+                  uint32_t column_num, uint32_t max_rows);
+/**
+ * @brief Gets current row count in the Tablet.
+ *
+ * @param tablet [in] Valid Tablet handle.
+ * @return uint32_t Row count (0 to max_rows-1).
+ */
+uint32_t tablet_get_cur_row_size(Tablet tablet);
+
+/**
+ * @brief Assigns timestamp to a row in the Tablet.
+ *
+ * @param tablet [in] Valid Tablet handle.
+ * @param row_index [in] Target row (0 ≤ index < max_rows).
+ * @param timestamp [in] Timestamp with int64_t type.
+ * @return ERRNO - RET_OK(0) or error code in errno_define_c.h.
+ */
+ERRNO tablet_add_timestamp(Tablet tablet, uint32_t row_index,
+                           Timestamp timestamp);
+                           
+/**
+ * @brief Adds a string value to a Tablet row by column name.
+ *
+ * @param value [in] Null-terminated string. Ownership remains with caller.
+ * @return ERRNO.
+ */
+ERRNO tablet_add_value_by_name_string(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      const char* value);
+
+ // Supports multiple data types
+ERRNO tablet_add_value_by_name_int32_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int32_t value);
+ERRNO tablet_add_value_by_name_int64_t(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_name_double(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      double value);
+
+ERRNO tablet_add_value_by_name_float(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      float value);
+
+ERRNO tablet_add_value_by_name_bool(Tablet tablet, uint32_t row_index,
+                                      const char* column_name,
+                                      bool value);
+
+
+/**
+ * @brief Adds a string value to a Tablet row by column index.
+ *
+ * @param value [in] Null-terminated string. Copied internally.
+ */
+ERRNO tablet_add_value_by_index_string(Tablet tablet, uint32_t row_index,
+                                       uint32_t column_index,
+                                       const char* value);
+
+
+// Supports multiple data types
+ERRNO tablet_add_value_by_index_int32_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int32_t value);
+ERRNO tablet_add_value_by_index_int64_t(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      int64_t value);
+
+ERRNO tablet_add_value_by_index_double(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      double value);
+
+ERRNO tablet_add_value_by_index_float(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      float value);
+
+ERRNO tablet_add_value_by_index_bool(Tablet tablet, uint32_t row_index,
+                                      uint32_t column_index,
+                                      bool value);
+
+                                       
+void free_tablet(Tablet* tablet);
+```
+
+
+
+###  Write Tablet into TsFile
+
+```C
+/**
+ * @brief Writes data from a Tablet to the TsFile.
+ *
+ * @param writer [in] Valid TsFileWriter handle.
+ * @param tablet [in] Tablet containing data. Should be freed after successful
+ * writing.
+ * @return ERRNO - RET_OK(0), or error code in errno_define_c.h.
+ *
+ */
+
+ERRNO tsfile_writer_write(TsFileWriter writer, Tablet tablet);
+```
+
+
+
+
+
+## Read  Interface
+
+###  TsFile Reader Create/Close
+
+```C
+/**
+ * @brief Creates a TsFileReader for reading a TsFile.
+ *
+ * @param pathname     Source TsFiles path. Must be a valid path.
+ * @param err_code     RET_OK(0), or error code in errno_define_c.h.
+ * @return TsFileReader Valid handle on success, NULL on failure.
+ *
+ * @note Call tsfile_reader_close() to release resources.
+ */
+
+TsFileReader tsfile_reader_new(const char* pathname, ERRNO* err_code);
+
+/**
+ * @brief Releases resources associated with a TsFileReader.
+ *
+ * @param reader [in] Reader handle obtained from tsfile_reader_new().
+ *                    After call:
+ *                      Handle becomes invalid and must not be reused.
+ *                      Result_set obtained by this handle becomes invalid.
+ * @return ERRNO - RET_OK(0) on success, or error code in errno_define_c.h.
+ */
+ERRNO tsfile_reader_close(TsFileReader reader);
+```
+
+
+
+###  Query table/get next
+
+```C
+
+/**
+ * @brief Query data from the specific table and columns within time range.
+ *
+ * @param reader [in] Valid TsFileReader handle from tsfile_reader_new().
+ * @param table_name [in] Target table name. Must exist in the TsFile.
+ * @param columns [in] Array of column names to fetch.
+ * @param column_num [in] Number of columns in array.
+ * @param start_time [in] Start timestamp.
+ * @param end_time [in] End timestamp. Must ≥ start_time.
+ * @param err_code [out] RET_OK(0) on success, or error code in errno_define_c.h.
+ * @return ResultSet Query results handle. Must be freed with
+ * free_tsfile_result_set().
+ */
+ResultSet tsfile_query_table(TsFileReader reader, const char* table_name,
+                             char** columns, uint32_t column_num,
+                             Timestamp start_time, Timestamp end_time,
+                             ERRNO* err_code);
+
+/**
+ * @brief Check and fetch the next row in the ResultSet.
+ *
+ * @param result_set [in] Valid ResultSet handle.
+ * @param error_code RET_OK(0) on success, or error code in errno_define_c.h.
+ * @return bool - true: Row available, false: End of data or error.
+ */
+bool tsfile_result_set_next(ResultSet result_set, ERRNO* error_code);
+
+/**
+ * @brief Free Result set 
+ *
+ * @param result_set [in] Valid ResultSet handle ptr.
+ */
+void free_tsfile_result_set(ResultSet* result_set);
+```
+
+
+
+### Get Data from result set
+
+```c
+/**
+ * @brief Checks if the current row's column value is NULL by column name.
+ *
+ * @param result_set [in] Valid ResultSet with active row (after next()=true).
+ * @param column_name [in] Existing column name in result schema.
+ * @return bool - true: Value is NULL or column not found, false: Valid value.
+ */
+bool tsfile_result_set_is_null_by_name(ResultSet result_set,
+                                       const char* column_name);
+
+/**
+ * @brief Checks if the current row's column value is NULL by column index.
+ *
+ * @param column_index [in] Column position (1 <= index <= result_column_count).
+ * @return bool - true: Value is NULL or index out of range, false: Valid value.
+ */
+bool tsfile_result_set_is_null_by_index(ResultSet result_set,
+                                        uint32_t column_index);
+
+/**
+ * @brief Gets string value from current row by column name.
+ * @param result_set [in] valid result set handle.
+ * @param column_name [in] the name of the column to be checked.
+ * @return char* - String pointer. Caller must free this ptr after usage.
+ */
+char* tsfile_result_set_get_value_by_name_string(ResultSet result_set,
+                                                 const char* column_name);
+
+// Supports multiple data types
+bool tsfile_result_set_get_value_by_name_bool(ResultSet result_set, const char* 
+                                                column_name);
+int32_t tsfile_result_set_get_value_by_name_int32_t(ResultSet result_set, const char* 
+                                                column_name);
+int64_t tsfile_result_set_get_value_by_name_int64_t(ResultSet result_set, const char* 
+                                                column_name);
+float tsfile_result_set_get_value_by_name_float(ResultSet result_set, const char* 
+                                                column_name);
+double tsfile_result_set_get_value_by_name_double(ResultSet result_set, const char* 
+                                                column_name);
+
+/**
+ * @brief Gets string value from current row by column index.
+ * @param result_set [in] valid result set handle.
+ * @param column_index [in] the index of the column to be checked (1 <= index <= column_num).
+ * @return char* - String pointer. Caller must free this ptr after usage.
+ */
+char* tsfile_result_set_get_value_by_index_string(ResultSet result_set,
+                                                  uint32_t column_index);
+
+// Supports multiple data types
+int32_t tsfile_result_set_get_value_by_index_int32_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+int64_t tsfile_result_set_get_value_by_index_int64_t(ResultSet result_set, uint32_t 
+                                                    column_index);
+float tsfile_result_set_get_value_by_index_float(ResultSet result_set, uint32_t 
+                                                    column_index);
+double tsfile_result_set_get_value_by_index_double(ResultSet result_set, uint32_t 
+                                                    column_index);
+bool tsfile_result_set_get_value_by_index_bool(ResultSet result_set, uint32_t 
+                                                    column_index);
+
+/**
+ * @brief Retrieves metadata describing the ResultSet's schema.
+ *
+ * @param result_set [in] Valid result set handle.
+ * @return ResultSetMetaData Metadata handle. Caller should free the
+ * ResultSetMataData after usage.
+ * @note Before calling this func, check if the result_set is NULL, which
+ * may indicates a failed query execution.
+ */
+ResultSetMetaData tsfile_result_set_get_metadata(ResultSet result_set);
+
+/**
+ * @brief Gets column name by index from metadata.
+ * @param result_set_meta_data [in] Valid result set handle.
+ * @param column_index [in] Column position (1 <= index <= column_num).
+ * @return const char* Read-only string. NULL if index invalid.
+ */
+char* tsfile_result_set_metadata_get_column_name(ResultSetMetaData result_set_meta_data,
+                                                 uint32_t column_index);
+
+/**
+ * @brief Gets column data type by index from metadata.
+ * @param result_set_meta_data [in] Valid result set meta data handle.
+ * @param column_index [in] Column position (1 <= index <= column_num).
+ * @return TSDataType Returns TS_DATATYPE_INVALID(255) if index invalid.
+ */
+TSDataType tsfile_result_set_metadata_get_data_type(
+    ResultSetMetaData result_set_meta_data, uint32_t column_index);
+
+/**
+ * @brief Gets total number of columns in the result schema.
+ * @param result_set_meta_data [in] Valid result set meta data handle.
+ * @return column num in result set metadata.
+ */
+int tsfile_result_set_metadata_get_column_num(ResultSetMetaData result_set);
+```
+
+
+
+###  Get Table Schema from TsFile Reader
+
+```C
+/**
+ * @brief Gets specific table's schema in the tsfile.
+ * @param reader [in], valid reader handle.
+ * @param table_name [in] Target table name. Must exist in the TsFile.
+ * @return TableSchema, contains table and column info.
+ * @note Caller should call free_table_schema to free the tableschema.
+ */
+TableSchema tsfile_reader_get_table_schema(TsFileReader reader,
+                                           const char* table_name);
+/**
+ * @brief Gets all tables' schema in the tsfile.
+ * @param size[out] num of tableschema in return ptr.
+ * @return TableSchema*, an array of table schema.
+ * @note The caller must call free_table_schema() on each array element
+ *  and free to deallocate the array pointer.
+ */
+TableSchema* tsfile_reader_get_all_table_schemas(TsFileReader reader,
+                                                 uint32_t* size);
+
+/**
+ * @brief Free the tableschema's space.
+ * @param schema [in] the table schema to be freed.
+ */
+void free_table_schema(TableSchema schema);
+```
+
+
+
+
+
+
+
+
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
index 2344b3dfc..cdae52a49 100644
--- a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-CPP.md
@@ -44,12 +44,13 @@ class TsFileTableWriter {
      * @param writer_file Target file where the table data will be written. Must not be null.
      * @param table_schema Used to construct table structures. Defines the schema of the table
      *                     being written.
-     * @param memory_threshold Optional parameter used to limit the memory size of objects.
-     *                         If set to 0, no memory limit is enforced.
+     * @param memory_threshold Optional parameter. When the size of written
+     * data exceeds this value, the data will be automatically flushed to the
+     * disk. Default value is 128MB.
      */
     TsFileTableWriter(WriteFile* writer_file,
                       TableSchema* table_schema,
-                      uint64_t memory_threshold = 0);
+                      uint64_t memory_threshold = 128 * 1024 * 1024);
     ~TsFileTableWriter();
     /**
      * Writes the given tablet data into the target file according to the schema.
diff --git a/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
new file mode 100644
index 000000000..a3e4d9d23
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/InterfaceDefinition/InterfaceDefinition-Python.md
@@ -0,0 +1,282 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Interface Definitions
+
+## Schema
+
+```Python
+
+class TSDataType(IntEnum):
+    """
+    Enumeration of data types currently supported by TsFile.
+    """
+    BOOLEAN = 0
+    INT32 = 1
+    INT64 = 2
+    FLOAT = 3
+    DOUBLE = 4
+    TEXT = 5
+    STRING = 11
+
+class ColumnCategory(IntEnum):
+    """
+    Enumeration of column categories in TsFile.
+    TAG: Represents a tag column, used for metadata.
+    FIELD: Represents a field column, used for storing actual data values.
+    """
+
+    TAG = 0
+    FIELD = 1
+
+class ColumnSchema:
+    """Defines schema for a table column (name, datatype, category)."""
+
+    column_name = None
+    data_type = None
+    category = None
+
+    def __init__(self, column_name: str, data_type: TSDataType, 
+                 category: ColumnCategory = ColumnCategory.FIELD)
+
+class TableSchema:
+    """Schema definition for a table structure."""
+    
+    table_name = None
+    columns = None
+
+    def __init__(self, table_name: str, columns: List[ColumnSchema])
+
+
+class ResultSetMetaData:
+    """Metadata container for query result sets (columns, types, table name)."""
+    
+    column_list = None
+    data_types = None
+    table_name = None
+
+    def __init__(self, column_list: List[str], data_types: List[TSDataType])
+
+```
+
+
+
+## Write interface
+
+### TsFileWriter 
+
+```python
+class TsFileTableWriter:
+    """
+    Facilitates writing structured table data into a TsFile with a specified schema.
+    """
+
+    
+    """
+    :param path: The path of tsfile, will create if it doesn't exist.
+    :param table_schema: describes the schema of the tables want to write.
+    :return: no return value.
+    """
+    def __init__(self, path: str, table_schema: TableSchema)
+
+
+    """
+    Write a tablet into table in tsfile.
+    :param tablet: stored batch data of a table.
+    :return: no return value.
+    """
+    def write_table(self, tablet: Tablet)
+      
+    """
+    Close TsFileTableWriter and flush data automatically.
+    :return: no return value.
+    """
+    def close(self)
+
+```
+
+
+
+### Tablet definition
+
+You can use Tablet to insert data into TsFile in batches.
+
+```Python
+class Tablet(object)
+    """
+    A pre-allocated columnar data container for batch data with type constraints.
+    Creates timestamp buffer and typed data columns, with value range validation ranges
+    for numeric types.
+
+    Initializes:
+    :param column_name_list: name list for data columns.
+    :param type_list: TSDataType values specifying allowed types per column.
+    :param max_row_num: Pre-allocated row capacity (default 1024)
+    :return: no return value.
+    """
+
+    def __init__(self, column_name_list: list[str], type_list: list[TSDataType],
+                 max_row_num: int = 1024)
+    
+```
+
+## Read Interface
+
+### TsFileReader
+
+```python
+class TsFileReader:
+    """
+    Query table data from a TsFile.
+    """
+    
+    """
+    Initialize a TsFile reader for the specified file path.
+    :param pathname: The path to the TsFile.
+    :return  no return value.
+    """
+    def __init__(self, pathname)
+
+
+    """
+    Executes a time range query on the specified table and columns.
+
+    :param table_name: The name of the table to query.
+    :param column_names: A list of column names to retrieve.
+    :param start_time: The start time of the query range (default: minimum int64 value).
+    :param end_time: The end time of the query range (default: maximum int64 value).
+    :return: A query result set handler.
+    """
+    def query_table(self, table_name : str, column_names : List[str],
+                    start_time : int = np.iinfo(np.int64).min, 
+                    end_time: int = np.iinfo(np.int64).max) -> ResultSet
+
+    """
+    Retrieves the schema of the specified table.
+
+    :param table_name: The name of the table.
+    :return: The schema of the specified table.
+    """
+    def get_table_schema(self, table_name : str)-> TableSchema
+
+
+    """
+    Retrieves the schemas of all tables in the TsFile.
+
+    :return: A dictionary mapping table names to their schemas.
+    """
+    def get_all_table_schemas(self) ->dict[str, TableSchema]
+
+
+    """
+    Closes the TsFile reader. If the reader has active result sets, they will be invalidated.
+    """
+    def close(self)
+
+```
+
+### ResultSet
+
+
+
+```python
+class ResultSet:
+    """
+    Retrieves data from a query result set. When a query is executed, a query handler is returned.
+    If the reader is closed, the result set will become invalid.
+    """
+
+    """
+    Checks and moves to the next row in the query result set.
+
+    :return: True if the next row exists, False otherwise.
+    """
+    def next(self) -> bool
+
+
+    """
+    Retrieves the column information of the result set.
+
+    :return: A dictionary containing column names as keys and their data types as values.
+    """
+    def get_result_column_info(self) -> dict[str, TsDataType]
+
+    
+    """
+    Fetches the next DataFrame from the query result set.
+
+    :param max_row_num: The maximum number of rows to retrieve. Default is 1024.
+    :return: A DataFrame containing data from the query result set.
+    """
+    def read_next_data_frame(self, max_row_num : int = 1024) -> DataFrame
+
+    
+    """
+    Retrieves the value at the specified index from the query result set.
+
+    :param index: The index of the value to retrieve, 1 <= index <= column_num.
+    :return: The value at the specified index.
+    """
+    def get_value_by_index(self, index : int)
+
+      
+    """
+    Retrieves the value for the specified column name from the query result set.
+
+    :param column_name: The name of the column to retrieve the value from.
+    :return: The value of the specified column.
+    """
+    def get_value_by_name(self, column_name : str)
+
+      
+	
+    """
+    Retrieves the metadata of the result set.
+
+    :return: The metadata of the result set as a ResultSetMetadata object.
+    """
+    def get_metadata(self) -> ResultSetMetadata
+      
+    
+    """
+    Checks whether the field at the specified index in the result set is null.
+
+    :param index: The index of the field to check.  1 <= index <= column_num.
+    :return: True if the field is null, False otherwise.
+    """
+    def is_null_by_index(self, index : int)
+
+      
+      
+    """
+    Checks whether the field with the specified column name in the result set is null.
+
+    :param name: The name of the column to check.
+    :return: True if the field is null, False otherwise.
+    """
+    def is_null_by_name(self, name : str)
+
+      
+    """
+    Closes the result set and releases any associated resources.
+    """
+    def close(self)
+```
+
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-C.md b/src/UserGuide/develop/QuickStart/QuickStart-C.md
new file mode 100644
index 000000000..035d139ba
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -0,0 +1,243 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start
+
+## Dependencies
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## Installation Method
+
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+If Maven is not installed, you can compile tsfile using the following command:
+
+Linux or Macos:
+```shell
+mvnw clean install -P with-cpp -DskipTests
+```
+Windows:
+```shell
+mvnw.cmd clean install -P with-cpp -DskipTests
+```
+
+### Directory Structure
+
+• **Include Directory**: Located at `tsfile/cpp/target/build/include/cwrapper`, it contains header files for integration. Add this path to the compiler's include path (e.g., using `-I` flag).
+
+• **Lib Directory**: At `tsfile/cpp/target/build/lib`, it holds compiled library files. Specify this path and library name when linking (e.g., using `-L` and `-l` flags).
+
+### CMake Integration
+Add to your CMakeLists.txt:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+Note: Set ${SDK_LIB} to your TsFile library directory.
+
+## Writing Process
+
+### Construct TsFileWriter
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create table schema to describe a table in a tsfile.
+    TableSchema table_schema;
+    table_schema.table_name = strdup(table_name);
+    table_schema.column_num = 3;
+    table_schema.column_schemas =
+        (ColumnSchema*)malloc(sizeof(ColumnSchema) * 3);
+    table_schema.column_schemas[0] =
+        (ColumnSchema){.column_name = strdup("id1"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[1] =
+        (ColumnSchema){.column_name = strdup("id2"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[2] =
+        (ColumnSchema){.column_name = strdup("s1"),
+                     .data_type = TS_DATATYPE_INT32,
+                     .column_category = FIELD};
+
+    // Create a file with specify path to write tsfile.
+    WriteFile file = write_file_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+
+    // Create tsfile writer with specify table schema.
+    TsFileWriter writer = tsfile_writer_new(file, &table_schema, &code);
+    HANDLE_ERROR(code);
+```
+
+### Write Data
+
+```C
+    // Create tablet to insert data.
+    Tablet tablet =
+        tablet_new((char*[]){"id1", "id2", "s1"},
+                   (TSDataType[]){TS_DATATYPE_STRING, TS_DATATYPE_STRING,
+                                  TS_DATATYPE_INT32},
+                   3, 5);
+
+    for (int row = 0; row < 5; row++) {
+        Timestamp timestamp = row;
+        tablet_add_timestamp(tablet, row, timestamp);
+        tablet_add_value_by_name_string(tablet, row, "id1", "id_field_1");
+        tablet_add_value_by_name_string(tablet, row, "id2", "id_field_2");
+        tablet_add_value_by_name_int32_t(tablet, row, "s1", row);
+    }
+
+    // Write tablet data.
+    HANDLE_ERROR(tsfile_writer_write(writer, tablet));
+
+    // Free tablet.
+    free_tablet(&tablet);
+
+    // Free table schema we used before.
+    free_table_schema(table_schema);
+```
+### Close File
+
+```C
+    // Close writer.
+    HANDLE_ERROR(tsfile_writer_close(writer));
+
+    // Close write file after closing writer.
+    free_write_file(&file);
+```
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_write.c>
+
+## Reading Process
+
+### Construct TsFileReader
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create tsfile reader with specify tsfile's path
+    TsFileReader reader = tsfile_reader_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+```
+
+### Construct Query 
+```C
+    ResultSet ret = tsfile_query_table(
+        reader, table_name, (char*[]){"id1", "id2", "s1"}, 3, 0, 10, &code);
+    HANDLE_ERROR(code);
+
+    if (ret == NULL) {
+        HANDLE_ERROR(RET_INVALID_QUERY);
+    }
+```
+
+### Query Data
+
+```C
+    // Get query result metadata: column name and datatype
+    ResultSetMetaData metadata = tsfile_result_set_get_metadata(ret);
+    int column_num = tsfile_result_set_metadata_get_column_num(metadata);
+
+    for (int i = 1; i <= column_num; i++) {
+        printf("column:%s, datatype:%d\n", tsfile_result_set_metadata_get_column_name(metadata, i),
+               tsfile_result_set_metadata_get_data_type(metadata, i));
+    }
+
+    // Get data by column name or index.
+    while (tsfile_result_set_next(ret, &code) && code == RET_OK) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp =
+            tsfile_result_set_get_value_by_index_int64_t(ret, 1);
+        printf("%ld\n", timestamp);
+        for (int i = 1; i <= column_num; i++) {
+            if (tsfile_result_set_is_null_by_index(ret, i)) {
+                printf(" null ");
+            } else {
+                switch (tsfile_result_set_metadata_get_data_type(metadata, i)) {
+                    case TS_DATATYPE_BOOLEAN:
+                        printf("%d\n", tsfile_result_set_get_value_by_index_bool(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_INT32:
+                        printf("%d\n",
+                               tsfile_result_set_get_value_by_index_int32_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_INT64:
+                        printf("%ld\n",
+                               tsfile_result_set_get_value_by_index_int64_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_FLOAT:
+                        printf("%f\n", tsfile_result_set_get_value_by_index_float(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_DOUBLE:
+                        printf("%lf\n",
+                               tsfile_result_set_get_value_by_index_double(ret,
+                                                                           i));
+                        break;
+                    case TS_DATATYPE_STRING:
+                        printf("%s\n",
+                               tsfile_result_set_get_value_by_index_string(ret,
+                                                                           i));
+                        break;
+                    default:
+                        printf("unknown_type");
+                        break;
+                }
+            }
+        }
+    }
+
+    // Free query meta data
+    free_result_set_meta_data(metadata);
+
+    // Free query handler.
+    free_tsfile_result_set(&ret);
+```
+
+### Close File
+
+```C
+    // Close tsfile reader.
+    tsfile_reader_close(reader);
+```
+### Sample Code
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
+
diff --git a/src/UserGuide/develop/QuickStart/QuickStart.md b/src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
similarity index 100%
rename from src/UserGuide/develop/QuickStart/QuickStart.md
rename to src/UserGuide/develop/QuickStart/QuickStart-JAVA.md
diff --git a/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
new file mode 100644
index 000000000..505f03421
--- /dev/null
+++ b/src/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -0,0 +1,123 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# Quick Start
+
+## Dependencies
+
+If want to compile on your local envirment, the dependencies are below:
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+- cython >= 3.0.10
+- numpy >= 1.26.4
+- pandas >= 2.2.2
+- setuptools >= 70.0.0
+
+or use pip install, the dependencies are:
+
+numpy >= 1.26.4
+pandas >= 2.2.2
+
+## Installation Method
+
+### Compile on your local envirment
+Clone the source code from git:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+Run Maven to compile in the TsFile root directory:
+
+```shell
+mvn clean install -P with-python -DskipTests
+```
+
+If Maven is not installed, you can compile tsfile using the following command:
+
+Linux or Macos:
+```shell
+mvnw clean install -P with-python -DskipTests
+```
+Windows:
+```shell
+mvnw.cmd clean install -P with-python -DskipTests
+```
+
+### Directory Structure
+
+• **wheel**: Located at `tsfile/python/dist`, you can use pip to install this wheel.
+
+### Install into your local envirment
+
+run `pip install` to install tsfile package you already compiled(Assuming the compilation produces tsfile.wheel.).
+
+```bash
+pip install tsfile.wheel
+```
+
+
+
+## Writing Process
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+if os.path.exists(table_data_dir):
+    os.remove(table_data_dir)
+
+column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
+column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
+column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+table_schema = TableSchema("test_table", columns=[column1, column2, column3])
+
+
+### Free resource automatically
+with TsFileTableWriter(table_data_dir, table_schema) as writer:
+    tablet_row_num = 100
+    tablet = Tablet(
+                    ["id", "id2", "value"],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    tablet_row_num)
+
+    for i in range(tablet_row_num):
+        tablet.add_timestamp(i, i * 10)
+        tablet.add_value_by_name("id", i, "test1")
+        tablet.add_value_by_name("id2", i, "test" + str(i))
+        tablet.add_value_by_index(2, i, i * 100.2)
+
+    writer.write_table(tablet)
+```
+
+## Reading Process
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+### Free resource automatically
+with TsFileReader(table_data_dir) as reader:
+    print(reader.get_all_table_schemas())
+    with reader.query_table("test_table", ["id2", "value"], 0, 50) as result:
+        print(result.get_metadata())
+        while result.next():
+            print(result.get_value_by_name("id2"))
+            print(result.get_value_by_name("value"))
+            print(result.read_data_frame())
+```
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
new file mode 100644
index 000000000..be71a0620
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-C.md
@@ -0,0 +1,245 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手
+
+## 依赖
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+
+## 安装
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-cpp -DskipTests
+```
+
+如果没有安装 maven, 你可以执行下面的指令完成编译:
+
+在 Linux 或 Macos上:
+```shell
+mvnw clean install -P with-cpp -DskipTests
+```
+在 Windows 上:
+
+```shell
+mvnw.cmd clean install -P with-cpp -DskipTests
+```
+
+### 目录结构
+
+• **​Include 目录**: 位于 `tsfile/cpp/target/build/include/cwrapper`,包含用于集成的头文件。将该路径添加到编译器的包含路径中(例如,使用 -I 标志)。
+
+• **​Lib 目录**: 位于 `tsfile/cpp/target/build/lib`,存放编译后的库文件。链接时指定该路径和库名称(例如,使用 -L 和 -l 标志)。
+
+### 配置CMake
+
+在您的 CMakeLists.txt 中添加:
+```CMAKE
+find_library(TSFILE_LIB NAMES tsfile PATHS ${SDK_LIB} REQUIRED)
+target_link_libraries(your_target ${TSFILE_LIB})
+```
+注意:将 ${SDK_LIB} 设置为您的 TSFile 库目录。
+
+## 写入流程
+
+### 构造 TsFileWriter
+
+```C
+ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create table schema to describe a table in a tsfile.
+    TableSchema table_schema;
+    table_schema.table_name = strdup(table_name);
+    table_schema.column_num = 3;
+    table_schema.column_schemas =
+        (ColumnSchema*)malloc(sizeof(ColumnSchema) * 3);
+    table_schema.column_schemas[0] =
+        (ColumnSchema){.column_name = strdup("id1"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[1] =
+        (ColumnSchema){.column_name = strdup("id2"),
+                     .data_type = TS_DATATYPE_STRING,
+                     .column_category = TAG};
+    table_schema.column_schemas[2] =
+        (ColumnSchema){.column_name = strdup("s1"),
+                     .data_type = TS_DATATYPE_INT32,
+                     .column_category = FIELD};
+
+    // Create a file with specify path to write tsfile.
+    WriteFile file = write_file_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+
+    // Create tsfile writer with specify table schema.
+    TsFileWriter writer = tsfile_writer_new(file, &table_schema, &code);
+    HANDLE_ERROR(code);
+```
+
+### 写入数据
+
+```C
+// Create tablet to insert data.
+    Tablet tablet =
+        tablet_new((char*[]){"id1", "id2", "s1"},
+                   (TSDataType[]){TS_DATATYPE_STRING, TS_DATATYPE_STRING,
+                                  TS_DATATYPE_INT32},
+                   3, 5);
+
+    for (int row = 0; row < 5; row++) {
+        Timestamp timestamp = row;
+        tablet_add_timestamp(tablet, row, timestamp);
+        tablet_add_value_by_name_string(tablet, row, "id1", "id_field_1");
+        tablet_add_value_by_name_string(tablet, row, "id2", "id_field_2");
+        tablet_add_value_by_name_int32_t(tablet, row, "s1", row);
+    }
+
+    // Write tablet data.
+    HANDLE_ERROR(tsfile_writer_write(writer, tablet));
+
+    // Free tablet.
+    free_tablet(&tablet);
+
+    // Free table schema we used before.
+    free_table_schema(table_schema);
+```
+### 关闭文件
+
+```C
+    // Close writer.
+    HANDLE_ERROR(tsfile_writer_close(writer));
+
+    // Close write file after closing writer.
+    free_write_file(&file);
+```
+### 示例代码
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_write.c>
+
+## 读取流程
+
+### 构造 TsFileReader
+
+```C
+    ERRNO code = 0;
+    char* table_name = "table1";
+
+    // Create tsfile reader with specify tsfile's path
+    TsFileReader reader = tsfile_reader_new("test_c.tsfile", &code);
+    HANDLE_ERROR(code);
+```
+
+### 构造 Query Request
+```C
+    ResultSet ret = tsfile_query_table(
+        reader, table_name, (char*[]){"id1", "id2", "s1"}, 3, 0, 10, &code);
+    HANDLE_ERROR(code);
+
+    if (ret == NULL) {
+        HANDLE_ERROR(RET_INVALID_QUERY);
+    }
+```
+
+### 查询数据
+
+```C
+// Get query result metadata: column name and datatype
+    ResultSetMetaData metadata = tsfile_result_set_get_metadata(ret);
+    int column_num = tsfile_result_set_metadata_get_column_num(metadata);
+
+    for (int i = 1; i <= column_num; i++) {
+        printf("column:%s, datatype:%d\n", tsfile_result_set_metadata_get_column_name(metadata, i),
+               tsfile_result_set_metadata_get_data_type(metadata, i));
+    }
+
+    // Get data by column name or index.
+    while (tsfile_result_set_next(ret, &code) && code == RET_OK) {
+        // Timestamp at column 1 and column index begin from 1.
+        Timestamp timestamp =
+            tsfile_result_set_get_value_by_index_int64_t(ret, 1);
+        printf("%ld\n", timestamp);
+        for (int i = 1; i <= column_num; i++) {
+            if (tsfile_result_set_is_null_by_index(ret, i)) {
+                printf(" null ");
+            } else {
+                switch (tsfile_result_set_metadata_get_data_type(metadata, i)) {
+                    case TS_DATATYPE_BOOLEAN:
+                        printf("%d\n", tsfile_result_set_get_value_by_index_bool(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_INT32:
+                        printf("%d\n",
+                               tsfile_result_set_get_value_by_index_int32_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_INT64:
+                        printf("%ld\n",
+                               tsfile_result_set_get_value_by_index_int64_t(ret,
+                                                                            i));
+                        break;
+                    case TS_DATATYPE_FLOAT:
+                        printf("%f\n", tsfile_result_set_get_value_by_index_float(
+                                         ret, i));
+                        break;
+                    case TS_DATATYPE_DOUBLE:
+                        printf("%lf\n",
+                               tsfile_result_set_get_value_by_index_double(ret,
+                                                                           i));
+                        break;
+                    case TS_DATATYPE_STRING:
+                        printf("%s\n",
+                               tsfile_result_set_get_value_by_index_string(ret,
+                                                                           i));
+                        break;
+                    default:
+                        printf("unknown_type");
+                        break;
+                }
+            }
+        }
+    }
+
+    // Free query meta data
+    free_result_set_meta_data(metadata);
+
+    // Free query handler.
+    free_tsfile_result_set(&ret);
+```
+
+### 关闭文件
+
+```C
+    // Close tsfile reader.
+    tsfile_reader_close(reader);
+```
+### 示例代码
+
+The sample code of using these interfaces is in <https://github.com/apache/tsfile/blob/develop/cpp/examples/c_examples/demo_read.c>
+
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
similarity index 100%
rename from src/zh/UserGuide/develop/QuickStart/QuickStart.md
rename to src/zh/UserGuide/develop/QuickStart/QuickStart-JAVA.md
diff --git a/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
new file mode 100644
index 000000000..b42cfed02
--- /dev/null
+++ b/src/zh/UserGuide/develop/QuickStart/QuickStart-PYTHON.md
@@ -0,0 +1,131 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+        http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+-->
+# 快速上手
+
+## 依赖
+
+如果需要在在本地编译,依赖如下所示:
+
+- CMake >=3.11
+- Maven >=3.9.6
+- GCC >=4.8.5
+- Make >=4.3
+- cython >= 3.0.10
+- numpy >= 1.26.4
+- pandas >= 2.2.2
+- setuptools >= 70.0.0
+
+如果使用 Pip 在线安装 TsFile,依赖包如下:
+
+numpy >= 1.26.4
+pandas >= 2.2.2
+
+## 安装
+
+### 在本地进行编译
+
+从git克隆源代码:
+
+```shell
+git clone https://github.com/apache/tsfile.git
+```
+在 TsFile 根目录下执行 maven 编译:
+
+```shell
+mvn clean install -P with-python -DskipTests
+```
+
+如果没有安装 maven, 你可以执行下面的指令完成编译:
+
+在 Linux 或 Macos上:
+```shell
+mvnw clean install -P with-python -DskipTests
+```
+在 Windows 上:
+
+```shell
+mvnw.cmd clean install -P with-python -DskipTests
+```
+#### 目录结构
+
+• **wheel**: wheel文件位于  `tsfile/python/dist`, 你可以使用 pip install 命令来进行本地安装。
+
+### 安装到本地
+
+你可以执行 `pip install`命令来安装编译得到的 tsfile包(假设他的名字是 tsfile.wheel)
+
+```bash
+pip install tsfile.wheel
+```
+
+### 使用 PIP 进行在线安装
+
+使用pip 指令来在线安装 TsFile 包
+
+```bash
+pip install tsfile
+```
+
+
+## 写入示例
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+if os.path.exists(table_data_dir):
+    os.remove(table_data_dir)
+
+column1 = ColumnSchema("id", TSDataType.STRING, ColumnCategory.TAG)
+column2 = ColumnSchema("id2", TSDataType.STRING, ColumnCategory.TAG)
+column3 = ColumnSchema("value", TSDataType.FLOAT, ColumnCategory.FIELD)
+table_schema = TableSchema("test_table", columns=[column1, column2, column3])
+
+
+### Free resource automatically
+with TsFileTableWriter(table_data_dir, table_schema) as writer:
+    tablet_row_num = 100
+    tablet = Tablet(
+                    ["id", "id2", "value"],
+                    [TSDataType.STRING, TSDataType.STRING, TSDataType.FLOAT],
+                    tablet_row_num)
+
+    for i in range(tablet_row_num):
+        tablet.add_timestamp(i, i * 10)
+        tablet.add_value_by_name("id", i, "test1")
+        tablet.add_value_by_name("id2", i, "test" + str(i))
+        tablet.add_value_by_index(2, i, i * 100.2)
+
+    writer.write_table(tablet)
+```
+
+## 读取示例
+
+```Python
+table_data_dir = os.path.join(os.path.dirname(__file__), "table_data.tsfile")
+### Free resource automatically
+with TsFileReader(table_data_dir) as reader:
+    print(reader.get_all_table_schemas())
+    with reader.query_table("test_table", ["id2", "value"], 0, 50) as result:
+        print(result.get_metadata())
+        while result.next():
+            print(result.get_value_by_name("id2"))
+            print(result.get_value_by_name("value"))
+            print(result.read_data_frame())
+```