public QueryType setTokenization(String tokenization) {
        if (tokenization == null) return this;
        this.tokenization = Tokenization.valueOf(tokenization);
        return this;
    }
Sets tokenization from a string enum value. If the argument is null this does nothing.
container-search/src/main/java/com/yahoo/search/query/QueryType.java