code: @Override
      public void insertArchive(JarScriptArchive jarScriptArchive) throws IOException {
          Objects.requireNonNull(jarScriptArchive, "jarScriptArchive");
          ScriptModuleSpec moduleSpec = jarScriptArchive.getModuleSpec();
          ModuleId moduleId = moduleSpec.getModuleId();
          Path jarFilePath;
          try {
              jarFilePath = Paths.get(jarScriptArchive.getRootUrl().toURI());
          } catch (URISyntaxException e) {
              throw new IOException(e);
          }
          int shardNum = calculateShardNum(moduleId);
          byte[] jarBytes = Files.readAllBytes(jarFilePath);
          byte[] hash = calculateHash(jarBytes);
          Map<String, Object> columns = new HashMap<String, Object>();
          columns.put(Columns.module_id.name(), moduleId.toString());
          columns.put(Columns.module_name.name(), moduleId.getName());
          columns.put(Columns.module_version.name(), moduleId.getVersion());
          columns.put(Columns.shard_num.name(), shardNum);
          columns.put(Columns.last_update.name(), jarScriptArchive.getCreateTime());
          columns.put(Columns.archive_content_hash.name(), hash);
          columns.put(Columns.archive_content.name(), jarBytes);
  
          String serialized = getConfig().getModuleSpecSerializer().serialize(moduleSpec);
          columns.put(Columns.module_spec.name(), serialized);
          try {
              cassandra.upsert(moduleId.toString(), columns);
          } catch (Exception e) {
              throw new IOException(e);
          }
      }
docs: insert a Jar into the script archive