org.apache.olingo.server.api.uri.queryoption

## Interface OrderByItem

-     public interface OrderByItem

  Represents a single orderby information For example: http://.../Employees?$orderby=Name

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Expression` | `getExpression()`
    `boolean` | `isDescending()` Returns the sort order of the orderby item

- - ### Method Detail

    - #### isDescending

          boolean isDescending()

      Returns the sort order of the orderby item
      Returns:
        if false (default) the sort order is ascending, if true the sort order is descending

    - #### getExpression

          Expression getExpression()

      Returns:
        Expression which is used to order the items

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.