public static ConfigTableNode deserializeTableMNode(final InputStream inputStream)
      throws IOException {
    final ConfigTableNode tableNode =
        new ConfigTableNode(null, ReadWriteIOUtils.readString(inputStream));
    tableNode.setTable(TsTable.deserialize(inputStream));
    tableNode.setStatus(TableNodeStatus.deserialize(inputStream));
    final int size = ReadWriteIOUtils.readInt(inputStream);
    for (int i = 0; i < size; ++i) {
      tableNode.addPreDeletedColumn(ReadWriteIOUtils.readString(inputStream));
    }
    return tableNode;
  }
This method returns the templateId set on paths if the path set matches or is a prefix of input
path pattern.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/ConfigMTree.java