You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/11/05 07:57:47 UTC
[GitHub] [iotdb] bigreybear commented on a change in pull request #4326: [IOTDB-1883] Extension of schema template to tree-structured
bigreybear commented on a change in pull request #4326:
URL: https://github.com/apache/iotdb/pull/4326#discussion_r743449200
##########
File path: server/src/main/java/org/apache/iotdb/db/metadata/template/Template.java
##########
@@ -30,49 +39,70 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;
+import java.util.ArrayDeque;
import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
+
public class Template {
private String name;
- private Map<String, IMeasurementSchema> schemaMap = new HashMap<>();
+ private IMNode mountedNode;
+ private Set<String> alignedPrefix;
+ private List<String> mountedPath;
+ private int measurementsCount;
+ private List<String> allSeriesPaths;
+ private Map<String, IMeasurementSchema> schemaMap;
+
+ // sync with session.Template
+ public enum TemplateQueryType {
+ NULL,
+ COUNT_MEA,
+ IS_MEA,
+ IS_SERIES,
+ SHOW_MEA
Review comment:
fixed with full name
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org