code: public Map<Integer, Company> getMapByIds(List<Integer> ids) {
  		Map<Integer, Company> result = new HashMap<Integer, Company>();
  		for (Integer id : ids) {
  			result.put(id, companyMap.get(id));
  		}
  		return result;
  	}
docs: query