public List<PartialPath> getDevicePathPattern() {
    List<PartialPath> result = new ArrayList<>();
    result.add(getDevicePath());
    if (nodes[nodes.length - 1].equals(MULTI_LEVEL_PATH_WILDCARD)) {
      result.add(new PartialPath(nodes));
    }
    return result;
  }
In specific scenarios, like internal create timeseries, the message can only be passed as
String format.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/MeasurementPath.java