Package mondrian.rolap
Interface RolapCubeLevel.LevelReader
-
- All Known Implementing Classes:
RolapCubeLevel.AllLevelReaderImpl,RolapCubeLevel.NullLevelReader,RolapCubeLevel.ParentChildLevelReaderImpl,RolapCubeLevel.RegularLevelReader
- Enclosing class:
- RolapCubeLevel
static interface RolapCubeLevel.LevelReaderEncapsulation of the difference between levels in terms of how constraints are generated. There are implementations for 'all' levels, the 'null' level, parent-child levels and regular levels.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconstrainRegion(StarColumnPredicate predicate, RolapCube baseCube, RolapCacheRegion cacheRegion)Adds constraints to a cache region for a member of this level.booleanconstrainRequest(RolapCubeMember member, RolapCube baseCube, CellRequest request)Adds constraints to a cell request for a member of this level.
-
-
-
Method Detail
-
constrainRequest
boolean constrainRequest(RolapCubeMember member, RolapCube baseCube, CellRequest request)
Adds constraints to a cell request for a member of this level.- Parameters:
member- Member to be constrainedbaseCube- base cube if virtual levelrequest- Request to be constrained- Returns:
- true if request is unsatisfiable (e.g. if the member is the null member)
-
constrainRegion
void constrainRegion(StarColumnPredicate predicate, RolapCube baseCube, RolapCacheRegion cacheRegion)
Adds constraints to a cache region for a member of this level.- Parameters:
predicate- PredicatebaseCube- base cube if virtual levelcacheRegion- Cache region to be constrained
-
-