presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/SelectorSpec.java/SelectorSpec/hashCode
class SelectorSpec:    @Override
    public int hashCode()
    {
        return Objects.hash(
                group,
                userRegex.map(Pattern::pattern),
                userRegex.map(Pattern::flags),
                sourceRegex.map(Pattern::pattern),
                sourceRegex.map(Pattern::flags),
                queryType,
                clientTags);
    }