Beispiel #1
0
  public ListRequest groupBy(String... groupByTerms) {
    if (groupByTerms == null || groupByTerms.length == 0) {
      queryObject.setGroupByTermList(null);
      return this;
    }

    List<String> lst = new ArrayList<String>();
    for (int i = 0; i < groupByTerms.length; i++) lst.add(groupByTerms[i]);
    return groupBy(lst);
  }
Beispiel #2
0
 public ListRequest groupBy(List<String> groupByTerms) {
   queryObject.setGroupByTermList(groupByTerms);
   return this;
 }