Class OrderCondition

java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.OrderCondition
All Implemented Interfaces:
Orderable, QueryElement

public class OrderCondition extends Object implements Orderable
An ascending or descending order condition
See Also:
  • Method Details

    • asc

      public OrderCondition asc()
      Set this order condition to be ascending
      Specified by:
      asc in interface Orderable
      Returns:
      this
    • desc

      public OrderCondition desc()
      Set this order condition to be descending
      Specified by:
      desc in interface Orderable
      Returns:
      this
    • getQueryString

      public String getQueryString()
      Specified by:
      getQueryString in interface QueryElement
      Returns:
      the String representing the SPARQL syntax of this element