This is an automated email from the ASF dual-hosted git repository.
HTHou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-docs.git
The following commit(s) were added to refs/heads/main by this push:
new a3dda067 docs: update query timeout description (#1125)
a3dda067 is described below
commit a3dda0677c7595bb1420b99786baf320e9ffede1
Author: leto-b <[email protected]>
AuthorDate: Fri May 22 09:48:58 2026 +0800
docs: update query timeout description (#1125)
---
src/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md | 4 ++--
src/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md | 4 ++--
src/UserGuide/latest/API/Programming-Java-Native-API_apache.md | 4 ++--
src/UserGuide/latest/API/Programming-Java-Native-API_timecho.md | 4 ++--
.../UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md | 2 +-
.../UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md | 2 +-
src/zh/UserGuide/latest/API/Programming-Java-Native-API_apache.md | 2 +-
src/zh/UserGuide/latest/API/Programming-Java-Native-API_timecho.md | 2 +-
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git
a/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
b/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
index d51e4123..b5340142 100644
--- a/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
+++ b/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
@@ -502,7 +502,7 @@ The Session class has the following fields, which can be
set through the constru
| `useSSL` | `boolean` |
Whether to enable SSL |
| `trustStore` | `String` |
Path to the trust store |
| `trustStorePwd` | `String` |
Password for the trust store |
-| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds |
+| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds. Default value: -1. A negative value means the
server default configuration is used, and 0 disables query timeout. |
| `enableRPCCompression` | `boolean` |
Whether to enable RPC compression |
| `connectionTimeoutInMs` | `int` |
Connection timeout in milliseconds |
| `zoneId` | `ZoneId` |
Time zone setting for the session |
@@ -620,4 +620,4 @@ The Session class has the following fields, which can be
set through the constru
| -------------------------- | ----------------------------------------- |
------------------------------------------ |
| `getBackupConfiguration()` | Get backup configuration information | No
parameters |
| `fetchAllConnections()` | Get information of all active connections | No
parameters |
-| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
\ No newline at end of file
+| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
diff --git
a/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
b/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
index 4912b411..a746bcea 100644
--- a/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
+++ b/src/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
@@ -504,7 +504,7 @@ The Session class has the following fields, which can be
set through the constru
| `useSSL` | `boolean` |
Whether to enable SSL |
| `trustStore` | `String` |
Path to the trust store |
| `trustStorePwd` | `String` |
Password for the trust store |
-| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds |
+| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds. Default value: -1. A negative value means the
server default configuration is used, and 0 disables query timeout. |
| `enableRPCCompression` | `boolean` |
Whether to enable RPC compression |
| `connectionTimeoutInMs` | `int` |
Connection timeout in milliseconds |
| `zoneId` | `ZoneId` |
Time zone setting for the session |
@@ -622,4 +622,4 @@ The Session class has the following fields, which can be
set through the constru
| -------------------------- | ----------------------------------------- |
------------------------------------------ |
| `getBackupConfiguration()` | Get backup configuration information | No
parameters |
| `fetchAllConnections()` | Get information of all active connections | No
parameters |
-| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
\ No newline at end of file
+| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
diff --git a/src/UserGuide/latest/API/Programming-Java-Native-API_apache.md
b/src/UserGuide/latest/API/Programming-Java-Native-API_apache.md
index d51e4123..b5340142 100644
--- a/src/UserGuide/latest/API/Programming-Java-Native-API_apache.md
+++ b/src/UserGuide/latest/API/Programming-Java-Native-API_apache.md
@@ -502,7 +502,7 @@ The Session class has the following fields, which can be
set through the constru
| `useSSL` | `boolean` |
Whether to enable SSL |
| `trustStore` | `String` |
Path to the trust store |
| `trustStorePwd` | `String` |
Password for the trust store |
-| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds |
+| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds. Default value: -1. A negative value means the
server default configuration is used, and 0 disables query timeout. |
| `enableRPCCompression` | `boolean` |
Whether to enable RPC compression |
| `connectionTimeoutInMs` | `int` |
Connection timeout in milliseconds |
| `zoneId` | `ZoneId` |
Time zone setting for the session |
@@ -620,4 +620,4 @@ The Session class has the following fields, which can be
set through the constru
| -------------------------- | ----------------------------------------- |
------------------------------------------ |
| `getBackupConfiguration()` | Get backup configuration information | No
parameters |
| `fetchAllConnections()` | Get information of all active connections | No
parameters |
-| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
\ No newline at end of file
+| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
diff --git a/src/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
b/src/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
index 4912b411..a746bcea 100644
--- a/src/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
+++ b/src/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
@@ -504,7 +504,7 @@ The Session class has the following fields, which can be
set through the constru
| `useSSL` | `boolean` |
Whether to enable SSL |
| `trustStore` | `String` |
Path to the trust store |
| `trustStorePwd` | `String` |
Password for the trust store |
-| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds |
+| `queryTimeoutInMs` | `long` |
Query timeout in milliseconds. Default value: -1. A negative value means the
server default configuration is used, and 0 disables query timeout. |
| `enableRPCCompression` | `boolean` |
Whether to enable RPC compression |
| `connectionTimeoutInMs` | `int` |
Connection timeout in milliseconds |
| `zoneId` | `ZoneId` |
Time zone setting for the session |
@@ -622,4 +622,4 @@ The Session class has the following fields, which can be
set through the constru
| -------------------------- | ----------------------------------------- |
------------------------------------------ |
| `getBackupConfiguration()` | Get backup configuration information | No
parameters |
| `fetchAllConnections()` | Get information of all active connections | No
parameters |
-| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
\ No newline at end of file
+| `getSystemStatus()` | Get the system status |
Deprecated, returns `SystemStatus.NORMAL` |
diff --git
a/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
b/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
index dc19f0aa..9230fdd9 100644
--- a/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
+++ b/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_apache.md
@@ -501,7 +501,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
| `useSSL` | `boolean` |
是否启用 SSL |
| `trustStore` | `String` |
信任库路径 |
| `trustStorePwd` | `String` |
信任库密码 |
-| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒 |
+| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒。默认值-1。负数代表采用服务器默认配置,0 代表关闭查询超时功能。 |
| `enableRPCCompression` | `boolean` |
是否启用 RPC 压缩 |
| `connectionTimeoutInMs` | `int` |
连接超时时间,单位毫秒 |
| `zoneId` | `ZoneId` |
会话的时区设置 |
diff --git
a/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
b/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
index db3dcabc..18a7bb83 100644
--- a/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
+++ b/src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API_timecho.md
@@ -501,7 +501,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
| `useSSL` | `boolean` |
是否启用 SSL |
| `trustStore` | `String` |
信任库路径 |
| `trustStorePwd` | `String` |
信任库密码 |
-| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒 |
+| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒。默认值-1。负数代表采用服务器默认配置,0 代表关闭查询超时功能。 |
| `enableRPCCompression` | `boolean` |
是否启用 RPC 压缩 |
| `connectionTimeoutInMs` | `int` |
连接超时时间,单位毫秒 |
| `zoneId` | `ZoneId` |
会话的时区设置 |
diff --git a/src/zh/UserGuide/latest/API/Programming-Java-Native-API_apache.md
b/src/zh/UserGuide/latest/API/Programming-Java-Native-API_apache.md
index dc19f0aa..9230fdd9 100644
--- a/src/zh/UserGuide/latest/API/Programming-Java-Native-API_apache.md
+++ b/src/zh/UserGuide/latest/API/Programming-Java-Native-API_apache.md
@@ -501,7 +501,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
| `useSSL` | `boolean` |
是否启用 SSL |
| `trustStore` | `String` |
信任库路径 |
| `trustStorePwd` | `String` |
信任库密码 |
-| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒 |
+| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒。默认值-1。负数代表采用服务器默认配置,0 代表关闭查询超时功能。 |
| `enableRPCCompression` | `boolean` |
是否启用 RPC 压缩 |
| `connectionTimeoutInMs` | `int` |
连接超时时间,单位毫秒 |
| `zoneId` | `ZoneId` |
会话的时区设置 |
diff --git a/src/zh/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
b/src/zh/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
index db3dcabc..18a7bb83 100644
--- a/src/zh/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
+++ b/src/zh/UserGuide/latest/API/Programming-Java-Native-API_timecho.md
@@ -501,7 +501,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
| `useSSL` | `boolean` |
是否启用 SSL |
| `trustStore` | `String` |
信任库路径 |
| `trustStorePwd` | `String` |
信任库密码 |
-| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒 |
+| `queryTimeoutInMs` | `long` |
查询的超时时间,单位毫秒。默认值-1。负数代表采用服务器默认配置,0 代表关闭查询超时功能。 |
| `enableRPCCompression` | `boolean` |
是否启用 RPC 压缩 |
| `connectionTimeoutInMs` | `int` |
连接超时时间,单位毫秒 |
| `zoneId` | `ZoneId` |
会话的时区设置 |