code: public GroupOptions addGroupByFunction(Function function) {
  
  		Assert.notNull(function, "Function for grouping must not be null.");
  		groupByFunctions.add(function);
  		return this;
  	}
docs: Adds a group request for a {@link Function} result.
  
  @param function
  @return