@Override
    public int hashCode() {
        if (type == null) return 17;
        return type.hashCode();
    }
Returns the query profile type of this, or null if any type works
container-search/src/main/java/com/yahoo/search/query/profile/types/QueryProfileFieldType.java