mondrian.rolap.agg
Class GroupingSet

java.lang.Object
  extended by 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

Field Summary
(package private)  Segment segment0
           
 
Constructor Summary
GroupingSet(List<Segment> segments, BitKey levelBitKey, BitKey measureBitKey, StarColumnPredicate[] predicates, RolapStar.Column[] columns)
          Creates a GroupingSet.
 
Method Summary
 SegmentAxis[] getAxes()
           
 RolapStar.Column[] getColumns()
           
 BitKey getLevelBitKey()
           
 BitKey getMeasureBitKey()
           
 StarColumnPredicate[] getPredicates()
           
 List<Segment> getSegments()
           
 void setSegmentsFailed()
          Sets all the segments which are in loading state as failed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

segment0

final Segment segment0
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

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


Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads