final class GroupingSetsList extends Object
For example, suppose we have the 3 grouping sets (a, b, c), (a, b) and (b, c).
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GroupingSetsList.Cohort
Collection of
SegmentDataset that have the
same dimensionality and identical axis values. |
Constructor and Description |
---|
GroupingSetsList(List<GroupingSet> groupingSets)
Creates a GroupingSetsList.
|
Modifier and Type | Method and Description |
---|---|
int |
findGroupingFunctionIndex(int columnIndex) |
SegmentAxis[] |
getDefaultAxes() |
RolapStar.Column[] |
getDefaultColumns() |
protected GroupingSet |
getDefaultGroupingSet() |
BitKey |
getDefaultLevelBitKey() |
BitKey |
getDefaultMeasureBitKey() |
StarColumnPredicate[] |
getDefaultPredicates() |
List<Segment> |
getDefaultSegments() |
int |
getGroupingBitKeyIndex() |
(package private) List<RolapStar.Column[]> |
getGroupingColumnsList(List<GroupingSet> groupingSets) |
List<GroupingSet> |
getGroupingSets() |
List<RolapStar.Column[]> |
getGroupingSetsColumns() |
List<RolapStar.Column> |
getRollupColumns() |
List<BitKey> |
getRollupColumnsBitKeyList() |
List<GroupingSet> |
getRollupGroupingSets() |
RolapStar |
getStar() |
boolean |
useGroupingSets() |
public GroupingSetsList(List<GroupingSet> groupingSets)
First element of the groupingSets list should be the detailed grouping set (default grouping set), followed by grouping sets which can be rolled-up.
groupingSets
- List of groups of columnsList<RolapStar.Column[]> getGroupingColumnsList(List<GroupingSet> groupingSets)
public int getGroupingBitKeyIndex()
public List<RolapStar.Column> getRollupColumns()
public List<RolapStar.Column[]> getGroupingSetsColumns()
public boolean useGroupingSets()
public int findGroupingFunctionIndex(int columnIndex)
public SegmentAxis[] getDefaultAxes()
public StarColumnPredicate[] getDefaultPredicates()
protected GroupingSet getDefaultGroupingSet()
public RolapStar.Column[] getDefaultColumns()
public BitKey getDefaultLevelBitKey()
public BitKey getDefaultMeasureBitKey()
public RolapStar getStar()
public List<GroupingSet> getGroupingSets()
public List<GroupingSet> getRollupGroupingSets()