public final QueryProfileType getType(CompoundName name, Map<String, String> context) {
        return types.get(name, context);
    }
Returns the type of a given prefix reachable from this profile, or null if none
container-search/src/main/java/com/yahoo/search/query/profile/compiled/CompiledQueryProfile.java