public GroupingOperation setGroupBy(GroupingExpression exp) {
        groupBy = exp;
        return this;
    }
Assigns an expressions as the group-by clause of this operation.

@param exp the expression to assign to this
@return this, to allow chaining
container-search/src/main/java/com/yahoo/search/grouping/request/GroupingOperation.java