@Override
  public IDeviceID getIDeviceID() {
    if (device != null) {
      return device;
    } else {
      device = toDeviceID(nodes);
    }
    return device;
  }
Generate a list of partial paths which are the intersection of this path pattern and input
prefix pattern.

@param prefixPattern must be a prefix full path ending with one "**", like "root.sg.**"
@return a list of partial paths which are the intersection of this path pattern and input
    prefix pattern.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/path/PartialPath.java