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

## Interface GroupBy

- All Superinterfaces:
    ApplyItem

      public interface GroupBy
      extends ApplyItem

  Represents the grouping transformation.

- - ### Nested Class Summary

    - ### 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
    --- | ---
    `ApplyOption` | `getApplyOption()` Gets the apply option to be applied to the grouped items.
    `List<GroupByItem>` | `getGroupByItems()` Gets the items to group.

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

      `getKind`

- - ### Method Detail

    - #### getGroupByItems

          List<GroupByItem> getGroupByItems()

      Gets the items to group.
      Returns:
        a non-empty list of `GroupByItem`s (but never `null`)

    - #### getApplyOption

          ApplyOption getApplyOption()

      Gets the apply option to be applied to the grouped items.
      Returns:
        an `ApplyOption` (but never `null`)

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