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:
- SPARQL Order By Clause
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderConditionasc()Set this order condition to be ascendingOrderConditiondesc()Set this order condition to be descendingStringgetQueryString()
-
-
-
Method Detail
-
asc
public OrderCondition asc()
Set this order condition to be ascending
-
desc
public OrderCondition desc()
Set this order condition to be descending
-
getQueryString
public String getQueryString()
- Specified by:
getQueryStringin interfaceQueryElement- Returns:
- the String representing the SPARQL syntax of this element
-
-