Class GroupByItemImpl
java.lang.Object
org.apache.olingo.server.core.uri.queryoption.apply.GroupByItemImpl
- All Implemented Interfaces:
GroupByItem
Represents a grouping property.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRollupItem(GroupByItem groupByItem) getPath()Gets the path.Gets the rollup.booleanWhether a nested rollup clause contains the special value '$all'.
-
Constructor Details
-
GroupByItemImpl
public GroupByItemImpl()
-
-
Method Details
-
getPath
Description copied from interface:GroupByItemGets the path.- Specified by:
getPathin interfaceGroupByItem- Returns:
- a (potentially empty) list of path segments (and never
null)
-
setPath
-
getRollup
Description copied from interface:GroupByItemGets the rollup.- Specified by:
getRollupin interfaceGroupByItem- Returns:
- a (potentially empty) list of grouping items (and never
null)
-
addRollupItem
-
isRollupAll
public boolean isRollupAll()Description copied from interface:GroupByItemWhether a nested rollup clause contains the special value '$all'.- Specified by:
isRollupAllin interfaceGroupByItem- Returns:
trueif '$all' has been given in rollup,falseotherwise
-
setIsRollupAll
-