[
https://issues.apache.org/jira/browse/IOTDB-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033360#comment-17033360
]
Jialin Qiao commented on IOTDB-274:
-----------------------------------
Hi, the following aspects need to be considered when refactoring.
(1) Remove the PTree and MGraph
(2) Add java doc and example for each method, only a "path" could maybe a full
path, a prefix path or a full path with *.
(3) Unify the parameter of methods. If we use (String path) as the main
parameter, many path.getFullPath and string.split are inevitable and
unnecessary.
(4) Simplify the caches in MManager, maybe checkAndGetDataTypeCache could be
replaced by mNodeCache.
> Refactor MManager
> ------------------
>
> Key: IOTDB-274
> URL: https://issues.apache.org/jira/browse/IOTDB-274
> Project: Apache IoTDB
> Issue Type: Improvement
> Reporter: Jialin Qiao
> Priority: Major
>
> The code of MManager needs to be refactored.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)