Class GroupingSet

java.lang.Object
mondrian.rolap.agg.GroupingSet

public class GroupingSet extends Object

A collection of Segments that can be represented as a GROUP BY GROUPING SET in a SQL query.

Since:
05-Jun-2007
Author:
Thiyagu
  • Constructor Details

    • GroupingSet

      public GroupingSet(List<Segment> segments, BitKey levelBitKey, BitKey measureBitKey, StarColumnPredicate[] predicates, RolapStar.Column[] columns)
      Creates a GroupingSet.
      Parameters:
      segments - Constituent segments
      levelBitKey - Levels
      measureBitKey - Measures
      predicates - Predicates
      columns - Columns
  • Method Details

    • getSegments

      public List<Segment> getSegments()
    • getLevelBitKey

      public BitKey getLevelBitKey()
    • getMeasureBitKey

      public BitKey getMeasureBitKey()
    • getAxes

      public SegmentAxis[] getAxes()
    • getPredicates

      public StarColumnPredicate[] getPredicates()
    • getColumns

      public RolapStar.Column[] getColumns()
    • setSegmentsFailed

      public void setSegmentsFailed()
      Sets all the segments which are in loading state as failed