private DimensionalValue.Builder<VALUE> lookupByLocalName(String localName,
                                                                      Map<CompoundName, DimensionalValue.Builder<VALUE>> entries) {
                for (var entry : entries.entrySet()) {
                    if (entry.getKey().last().equals(localName))
                        return entry.getValue();
                }
                return null;
            }
Build a separate value object for each dimension combination which has this value
container-search/src/main/java/com/yahoo/search/query/profile/compiled/DimensionalValue.java