jixuan1989 commented on a change in pull request #2435:
URL: https://github.com/apache/iotdb/pull/2435#discussion_r553049740



##########
File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/enums/MetadataIndexNodeType.java
##########
@@ -33,7 +33,13 @@
  * LEAF_MEASUREMENT: leaf nodes of the index tree's device level, points to 
TimeseriesMetadata
  */
 public enum MetadataIndexNodeType {
-  INTERNAL_DEVICE, LEAF_DEVICE, INTERNAL_MEASUREMENT, LEAF_MEASUREMENT;
+  INTERNAL_DEVICE(0),LEAF_DEVICE(1), INTERNAL_MEASUREMENT(2), 
LEAF_MEASUREMENT(3);
+
+  private final int type;

Review comment:
       use byte?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to