org.eclipse.rdf4j.sparqlbuilder.core

## Class GroupBy

- java.lang.Object
- - org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<T>
  - - org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<Groupable>
    - - org.eclipse.rdf4j.sparqlbuilder.core.GroupBy

- All Implemented Interfaces:
    QueryElement

      public class GroupBy
      extends StandardQueryElementCollection<Groupable>

  A SPARQL Group By clause
  See Also:
    SPARQL Group By Clause

- - ### Field Summary

    - ### Fields inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection

      `elements`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `GroupBy` | `by(Groupable... groupables)` Add group conditions

    - ### Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection

      `getQueryString, printBodyIfEmpty, printNameIfEmpty, resetWrapperMethod, setOperatorName, setOperatorName, setWrapperMethod`

    - ### Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection

      `addElements, addElements, isEmpty`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### by

          public GroupBy by(Groupable... groupables)

      Add group conditions
      Parameters:
        `groupables` - the group conditions
      Returns:
        this

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.