java.lang.Object
org.apache.olingo.server.core.uri.queryoption.apply.GroupByItemImpl
All Implemented Interfaces:
GroupByItem

public class GroupByItemImpl extends Object implements GroupByItem
Represents a grouping property.
  • Constructor Details

    • GroupByItemImpl

      public GroupByItemImpl()
  • Method Details

    • getPath

      public List<UriResource> getPath()
      Description copied from interface: GroupByItem
      Gets the path.
      Specified by:
      getPath in interface GroupByItem
      Returns:
      a (potentially empty) list of path segments (and never null)
    • setPath

      public GroupByItemImpl setPath(UriInfo uriInfo)
    • getRollup

      public List<GroupByItem> getRollup()
      Description copied from interface: GroupByItem
      Gets the rollup.
      Specified by:
      getRollup in interface GroupByItem
      Returns:
      a (potentially empty) list of grouping items (and never null)
    • addRollupItem

      public GroupByItemImpl addRollupItem(GroupByItem groupByItem)
    • isRollupAll

      public boolean isRollupAll()
      Description copied from interface: GroupByItem
      Whether a nested rollup clause contains the special value '$all'.
      Specified by:
      isRollupAll in interface GroupByItem
      Returns:
      true if '$all' has been given in rollup, false otherwise
    • setIsRollupAll

      public GroupByItemImpl setIsRollupAll()