A region is defined by a set of constraints, one for each column in the segment. A constraint may be {@link mondrian.rolap.agg.LiteralStarPredicate}(true), meaning that the column is unconstrained.
For example,
segment (State={CA, OR, WA}, Gender=*) actual values {1997, 1998} * {CA, OR, WA} * {M, F} = 12 cells excluded region (Year=*, State={CA, OR}, Gender={F}) excluded values {1997, 1998} * {CA, OR} * {F} = 4 cells Values: F M CA out in OR out in WA in in
Note that the resulting segment is not a hypercube: it has a 'hole'. This is why regions are required.
|
|
|
|
|
|