Ordering Specification
The following grammar describes the syntax of the Query.setOrdering( )
argument:
SetOrdering
:OrderSpecifications
,OrderSpecifications
OrderSpecifications
:OrderSpecification
OrderSpecifications
,OrderSpecification
OrderSpecification
:Expression
ascendingExpression
descending
Get Java Data Objects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.