Class 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 Detail

      • 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 Detail

      • getLevelBitKey

        public BitKey getLevelBitKey()
      • getMeasureBitKey

        public BitKey getMeasureBitKey()
      • setSegmentsFailed

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