public boolean matchFullPath(IDeviceID deviceID, String measurement) {
    // TODO change this way
    PartialPath devicePath;
    try {
      devicePath = new PartialPath(deviceID.toString());
    } catch (IllegalPathException e) {
      throw new RuntimeException(e);
    }
    return matchPath(
        devicePath.concatAsMeasurementPath(measurement).getNodes(), 0, 0, false, false);
  }
Test if current PartialPath matches a full path. Current partialPath acts as a full path
pattern. rPath is supposed to be a full timeseries path without wildcards. e.g.
"root.sg.device.*" matches path "root.sg.device.s1" whereas it does not match "root.sg.device"
and "root.sg.vehicle.s1"

<p>Note: If the current path is a path ending with "**", and does not have any * before it,
like "root.a.b.c.**", then the rPath can be a path with *, and this method returns {@code true}
iff the current path covers rPath.

@param rPath a plain full path of a timeseries
@return {@code true} if a successful match, otherwise return {@code false}
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java