Skip to content

Commit 60c6ae0

Browse files
committed
query timeout default value is 60s
1 parent 39e4620 commit 60c6ae0

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

src/UserGuide/Master/Tree/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The Session class has the following fields, which can be set through the constru
457457
| **Method Name** | **Function Description** | **Parameter Explanation** |
458458
| ------------------------------------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------ |
459459
| `executeQueryStatement(String sql)` | Execute a query statement | `sql`: The query SQL statement |
460-
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds) |
460+
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds), default to the server configuration, which is 60s. |
461461
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | Query raw data for specified paths | paths: A list of query paths, `startTime`: The start timestamp, `endTime`: The end timestamp |
462462
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | Query raw data for specified paths (with timeout) | Same as above, plus `timeOut`: The timeout time |
463463
| `executeLastDataQuery(List<String> paths)` | Query the latest data | `paths`: A list of query paths |

src/UserGuide/V1.3.x/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The Session class has the following fields, which can be set through the constru
457457
| **Method Name** | **Function Description** | **Parameter Explanation** |
458458
| ------------------------------------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------ |
459459
| `executeQueryStatement(String sql)` | Execute a query statement | `sql`: The query SQL statement |
460-
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds) |
460+
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds), default to the server configuration, which is 60s. |
461461
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | Query raw data for specified paths | paths: A list of query paths, `startTime`: The start timestamp, `endTime`: The end timestamp |
462462
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | Query raw data for specified paths (with timeout) | Same as above, plus `timeOut`: The timeout time |
463463
| `executeLastDataQuery(List<String> paths)` | Query the latest data | `paths`: A list of query paths |

src/UserGuide/dev-1.3/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The Session class has the following fields, which can be set through the constru
457457
| **Method Name** | **Function Description** | **Parameter Explanation** |
458458
| ------------------------------------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------ |
459459
| `executeQueryStatement(String sql)` | Execute a query statement | `sql`: The query SQL statement |
460-
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds) |
460+
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds), default to the server configuration, which is 60s. |
461461
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | Query raw data for specified paths | paths: A list of query paths, `startTime`: The start timestamp, `endTime`: The end timestamp |
462462
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | Query raw data for specified paths (with timeout) | Same as above, plus `timeOut`: The timeout time |
463463
| `executeLastDataQuery(List<String> paths)` | Query the latest data | `paths`: A list of query paths |

src/UserGuide/latest/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ The Session class has the following fields, which can be set through the constru
457457
| **Method Name** | **Function Description** | **Parameter Explanation** |
458458
| ------------------------------------------------------------ | -------------------------------------------------------- | ------------------------------------------------------------ |
459459
| `executeQueryStatement(String sql)` | Execute a query statement | `sql`: The query SQL statement |
460-
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds) |
460+
| `executeQueryStatement(String sql, long timeoutInMs)` | Execute a query statement with timeout | `sql`: The query SQL statement, `timeoutInMs`: The query timeout (in milliseconds), default to the server configuration, which is 60s. |
461461
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | Query raw data for specified paths | paths: A list of query paths, `startTime`: The start timestamp, `endTime`: The end timestamp |
462462
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | Query raw data for specified paths (with timeout) | Same as above, plus `timeOut`: The timeout time |
463463
| `executeLastDataQuery(List<String> paths)` | Query the latest data | `paths`: A list of query paths |

src/zh/UserGuide/Master/Tree/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
455455
| 方法名 | 功能描述 | 参数解释 |
456456
| ------------------------------------------------------------ | -------------------------------- | ------------------------------------------------------------ |
457457
| `executeQueryStatement(String sql)` | 执行查询语句 | `sql`: 查询SQL语句 |
458-
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒) |
458+
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒),默认取服务器配置即60s |
459459
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | 查询指定路径的原始数据 | `paths`: 查询路径列表,`startTime`: 起始时间戳,`endTime`: 结束时间戳 |
460460
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | 查询指定路径的原始数据(带超时) | 同上,增加 `timeOut`: 超时时间 |
461461
| `executeLastDataQuery(List<String> paths)` | 查询最新数据 | `paths`: 查询路径列表 |

src/zh/UserGuide/V1.3.x/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
455455
| 方法名 | 功能描述 | 参数解释 |
456456
| ------------------------------------------------------------ | -------------------------------- | ------------------------------------------------------------ |
457457
| `executeQueryStatement(String sql)` | 执行查询语句 | `sql`: 查询SQL语句 |
458-
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒) |
458+
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒),默认取服务器配置即60s |
459459
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | 查询指定路径的原始数据 | `paths`: 查询路径列表,`startTime`: 起始时间戳,`endTime`: 结束时间戳 |
460460
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | 查询指定路径的原始数据(带超时) | 同上,增加 `timeOut`: 超时时间 |
461461
| `executeLastDataQuery(List<String> paths)` | 查询最新数据 | `paths`: 查询路径列表 |

src/zh/UserGuide/dev-1.3/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
455455
| 方法名 | 功能描述 | 参数解释 |
456456
| ------------------------------------------------------------ | -------------------------------- | ------------------------------------------------------------ |
457457
| `executeQueryStatement(String sql)` | 执行查询语句 | `sql`: 查询SQL语句 |
458-
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒) |
458+
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒),默认取服务器配置即60s |
459459
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | 查询指定路径的原始数据 | `paths`: 查询路径列表,`startTime`: 起始时间戳,`endTime`: 结束时间戳 |
460460
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | 查询指定路径的原始数据(带超时) | 同上,增加 `timeOut`: 超时时间 |
461461
| `executeLastDataQuery(List<String> paths)` | 查询最新数据 | `paths`: 查询路径列表 |

src/zh/UserGuide/latest/API/Programming-Java-Native-API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ Session具有如下的字段,可以通过构造函数或Session.Builder方式
455455
| 方法名 | 功能描述 | 参数解释 |
456456
| ------------------------------------------------------------ | -------------------------------- | ------------------------------------------------------------ |
457457
| `executeQueryStatement(String sql)` | 执行查询语句 | `sql`: 查询SQL语句 |
458-
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒) |
458+
| `executeQueryStatement(String sql, long timeoutInMs)` | 执行带超时的查询语句 | `sql`: 查询SQL语句,`timeoutInMs`: 查询超时时间(毫秒),默认取服务器配置即60s |
459459
| `executeRawDataQuery(List<String> paths, long startTime, long endTime)` | 查询指定路径的原始数据 | `paths`: 查询路径列表,`startTime`: 起始时间戳,`endTime`: 结束时间戳 |
460460
| `executeRawDataQuery(List<String> paths, long startTime, long endTime, long timeOut)` | 查询指定路径的原始数据(带超时) | 同上,增加 `timeOut`: 超时时间 |
461461
| `executeLastDataQuery(List<String> paths)` | 查询最新数据 | `paths`: 查询路径列表 |

0 commit comments

Comments
 (0)