Class GroupByImpl
java.lang.Object
org.apache.olingo.server.core.uri.queryoption.apply.GroupByImpl
Represents the grouping transformation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.olingo.server.api.uri.queryoption.ApplyItem
ApplyItem.Kind -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(GroupByItem groupByItem) Gets the apply option to be applied to the grouped items.Gets the items to group.getKind()Gets the kind of the transformation.setApplyOption(ApplyOption applyOption)
-
Constructor Details
-
GroupByImpl
public GroupByImpl()
-
-
Method Details
-
getKind
Description copied from interface:ApplyItemGets the kind of the transformation. -
getApplyOption
Description copied from interface:GroupByGets the apply option to be applied to the grouped items.- Specified by:
getApplyOptionin interfaceGroupBy- Returns:
- an
ApplyOption(but nevernull)
-
setApplyOption
-
getGroupByItems
Description copied from interface:GroupByGets the items to group.- Specified by:
getGroupByItemsin interfaceGroupBy- Returns:
- a non-empty list of
GroupByItems (but nevernull)
-
addGroupByItem
-