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

## Interface BottomTop

- All Superinterfaces:
    ApplyItem

      public interface BottomTop
      extends ApplyItem

  Represents a transformation with one of the pre-defined methods `bottomcount`, `bottompercent`, `bottomsum`, `topcount`, `toppercent`, `topsum`.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `BottomTop.Method` Pre-defined method for partial aggregration.

    - ### Nested classes/interfaces inherited from interface org.apache.olingo.server.api.uri.queryoption.ApplyItem

      `ApplyItem.Kind`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `BottomTop.Method` | `getMethod()` Gets the partial-aggregation method.
    `Expression` | `getNumber()` Gets the expression that determines the number of items to aggregate.
    `Expression` | `getValue()` Gets the expression that determines the values to aggregate.

    - ### Methods inherited from interface org.apache.olingo.server.api.uri.queryoption.ApplyItem

      `getKind`

- - ### Method Detail

    - #### getMethod

          BottomTop.Method getMethod()

      Gets the partial-aggregation method.
      Returns:
        a `BottomTop.Method` (but never `null`)

    - #### getNumber

          Expression getNumber()

      Gets the expression that determines the number of items to aggregate.
      Returns:
        an `Expression` (but never `null`)

    - #### getValue

          Expression getValue()

      Gets the expression that determines the values to aggregate.
      Returns:
        an `Expression` (but never `null`)

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