@Override
  public List<DeviceSchemaInfo> getMatchedDevices(PartialPath pathPattern) {
    return getMatchedDevices(pathPattern, false);
  }
Get all device matching the path pattern.

@param pathPattern the pattern of the target devices.
@return A HashSet instance which stores info of the devices matching the given path pattern.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/common/schematree/ClusterSchemaTree.java