You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2020/07/07 06:28:28 UTC

[incubator-iotdb] 02/03: add some docs

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

jackietien pushed a commit to branch TyShowTimeSeries
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit f9c64ec9039ec09ebc2837d348b079670f3df4fc
Author: JackieTien97 <Ja...@foxmail.com>
AuthorDate: Tue Jul 7 09:46:04 2020 +0800

    add some docs
---
 docs/zh/SystemDesign/SchemaManager/SchemaManager.md | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/docs/zh/SystemDesign/SchemaManager/SchemaManager.md b/docs/zh/SystemDesign/SchemaManager/SchemaManager.md
index 7dd5981..832f831 100644
--- a/docs/zh/SystemDesign/SchemaManager/SchemaManager.md
+++ b/docs/zh/SystemDesign/SchemaManager/SchemaManager.md
@@ -282,4 +282,18 @@ IoTDB 的元数据管理采用目录树的形式,倒数第二层为设备层
 
 ## 元数据查询
 
-### 
\ No newline at end of file
+### 不带过滤条件的元数据查询
+
+主要查询逻辑封装在`MManager`的`showTimeseries(ShowTimeSeriesPlan plan)`方法中
+
+* 首先判断需不需要根据热度排序,如果需要,则调用`MTree`的`getAllMeasurementSchemaByHeatOrder`方法,否则调用`getAllMeasurementSchema`方法
+
+#### getAllMeasurementSchemaByHeatOrder
+
+这里的热度是用每个时间序列的`lastTimeStamp`来表征的,所以需要先取出所有满足条件的序列,然后根据`lastTimeStamp`进行排序,然后再做`offset`和`limit`的截断
+
+#### getAllMeasurementSchema
+
+这里需要
+
+### 带过滤条件的元数据查询
\ No newline at end of file