public void delete(PartialPath key, V value) {
    if (deleteFunction == null) {
      throw new UnsupportedOperationException();
    }
    String[] nodes = key.getNodes();
    deletePathNode(getRoot(nodes[0]), nodes, 0, value);
  }
Delete key and value to PatternTreeMap.

@param key PartialPath that can contain '*' or '**'
@param value The value to be deleted
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PatternTreeMap.java