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 OrderCondition
asc()
Set this order condition to be ascendingOrderCondition
desc()
Set this order condition to be descendingString
getQueryString()
-
-
-
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:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-
-