Class OrderCondition
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.OrderCondition
- All Implemented Interfaces:
Orderable
,QueryElement
An ascending or descending order condition
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrderCondition
(Orderable orderOn) OrderCondition
(Orderable orderOn, boolean ascending) -
Method Summary
-
Field Details
-
ASC
- See Also:
-
DESC
- See Also:
-
orderOn
-
isAscending
private boolean isAscending
-
-
Constructor Details
-
Method Details
-
asc
Set this order condition to be ascending -
desc
Set this order condition to be descending -
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-