samperson1997 commented on a change in pull request #1100:
URL: https://github.com/apache/incubator-iotdb/pull/1100#discussion_r415344092



##########
File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/TsFileMetadata.java
##########
@@ -208,11 +210,11 @@ public void setMetaOffset(long metaOffset) {
     this.metaOffset = metaOffset;
   }
 
-  public Map<String, Pair<Long, Integer>> getDeviceMetadataIndex() {
+  public List<MetadataIndex> getDeviceMetadataIndex() {

Review comment:
       Fixed

##########
File path: 
tsfile/src/main/java/org/apache/iotdb/tsfile/file/metadata/TsFileMetadata.java
##########
@@ -208,11 +210,11 @@ public void setMetaOffset(long metaOffset) {
     this.metaOffset = metaOffset;
   }
 
-  public Map<String, Pair<Long, Integer>> getDeviceMetadataIndex() {
+  public List<MetadataIndex> getDeviceMetadataIndex() {
     return deviceMetadataIndex;
   }
 
-  public void setDeviceMetadataIndex(Map<String, Pair<Long, Integer>> 
deviceMetadataIndex) {
+  public void setDeviceMetadataIndex(List<MetadataIndex> deviceMetadataIndex) {

Review comment:
       Fixed




----------------------------------------------------------------
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