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

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


The following commit(s) were added to refs/heads/new_vector by this push:
     new d418416  add some comments
d418416 is described below

commit d418416daa10e763013ffb0b6df43ef56d7ac5e4
Author: JackieTien97 <[email protected]>
AuthorDate: Mon Nov 1 10:51:57 2021 +0800

    add some comments
---
 .../apache/iotdb/db/metadata/path/PartialPath.java | 24 ++++++++++------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/metadata/path/PartialPath.java 
b/server/src/main/java/org/apache/iotdb/db/metadata/path/PartialPath.java
index e4420af..ec7c89b 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/path/PartialPath.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/path/PartialPath.java
@@ -18,6 +18,15 @@
  */
 package org.apache.iotdb.db.metadata.path;
 
+import static org.apache.iotdb.db.conf.IoTDBConstant.MULTI_LEVEL_PATH_WILDCARD;
+import static org.apache.iotdb.db.conf.IoTDBConstant.ONE_LEVEL_PATH_WILDCARD;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.List;
+import java.util.Set;
+import java.util.regex.Pattern;
 import org.apache.iotdb.db.engine.querycontext.QueryDataSource;
 import org.apache.iotdb.db.engine.storagegroup.TsFileResource;
 import org.apache.iotdb.db.exception.metadata.IllegalPathException;
@@ -32,20 +41,9 @@ import 
org.apache.iotdb.tsfile.file.metadata.enums.TSDataType;
 import org.apache.iotdb.tsfile.read.common.Path;
 import org.apache.iotdb.tsfile.read.filter.basic.Filter;
 import org.apache.iotdb.tsfile.write.schema.IMeasurementSchema;
-
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-import java.util.Set;
-import java.util.regex.Pattern;
-
-import static org.apache.iotdb.db.conf.IoTDBConstant.MULTI_LEVEL_PATH_WILDCARD;
-import static org.apache.iotdb.db.conf.IoTDBConstant.ONE_LEVEL_PATH_WILDCARD;
-
 /**
  * A prefix path, suffix path or fullPath generated from SQL. Usually used in 
the IoTDB server
  * module
@@ -389,7 +387,7 @@ public class PartialPath extends Path implements 
Comparable<Path> {
       Filter valueFilter,
       TsFileFilter fileFilter,
       boolean ascending) {
-    throw new UnsupportedOperationException("Should call exact sub class");
+    throw new UnsupportedOperationException("Should call exact sub class!");
   }
 
   @TestOnly
@@ -402,6 +400,6 @@ public class PartialPath extends Path implements 
Comparable<Path> {
       Filter timeFilter,
       Filter valueFilter,
       boolean ascending) {
-    throw new UnsupportedOperationException("Should call exact sub class");
+    throw new UnsupportedOperationException("Should call exact sub class!");
   }
 }

Reply via email to