org.eclipse.rdf4j.sparqlbuilder.core

## Class OrderBy

- java.lang.Object
- - org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<T>
  - - org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<Orderable>
    - - org.eclipse.rdf4j.sparqlbuilder.core.OrderBy

- All Implemented Interfaces:
    QueryElement

      public class OrderBy
      extends StandardQueryElementCollection<Orderable>

  A SPARQL Order By clause
  See Also:
    SPARQL Order 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
    --- | ---
    `OrderBy` | `by(Orderable... conditions)` Add order 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 OrderBy by(Orderable... conditions)

      Add order conditions
      Parameters:
        `conditions` - the conditions to add
      Returns:
        this

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