public static List<IDeviceID> convertRawDeviceIDs2PartitionKeys(
      final String tableName, final List<Object[]> deviceIdList) {
    final List<IDeviceID> tmpPartitionKeyList = new ArrayList<>();
    for (final Object[] rawId : deviceIdList) {
      final String[] partitionKey = new String[rawId.length + 1];
      partitionKey[0] = tableName;
      for (int i = 1; i <= rawId.length; i++) {
        partitionKey[i] = (String) rawId[i - 1];
      }
      tmpPartitionKeyList.add(IDeviceID.Factory.DEFAULT_FACTORY.create(partitionKey));
    }
    return tmpPartitionKeyList;
  }
get device id by full path

@param devicePath device path of the timeseries
@return device id of the timeseries
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/DeviceIDFactory.java