public void setTemplateMap(Map<Integer, Template> templateMap) {
    this.templateMap = templateMap;
  }
used to judge schema tree type
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/schematree/ClusterSchemaTree.java