Package mondrian.rolap
Class RolapCubeLevel.AllLevelReaderImpl
- java.lang.Object
-
- mondrian.rolap.RolapCubeLevel.AllLevelReaderImpl
-
- All Implemented Interfaces:
RolapCubeLevel.LevelReader
- Enclosing class:
- RolapCubeLevel
static final class RolapCubeLevel.AllLevelReaderImpl extends Object implements RolapCubeLevel.LevelReader
Level reader for the level which contains the 'all' member.
-
-
Constructor Summary
Constructors Constructor Description AllLevelReaderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
constrainRegion(StarColumnPredicate predicate, RolapCube baseCube, RolapCacheRegion cacheRegion)
Adds constraints to a cache region for a member of this level.boolean
constrainRequest(RolapCubeMember member, RolapCube baseCube, CellRequest request)
Adds constraints to a cell request for a member of this level.
-
-
-
Method Detail
-
constrainRequest
public boolean constrainRequest(RolapCubeMember member, RolapCube baseCube, CellRequest request)
Description copied from interface:RolapCubeLevel.LevelReader
Adds constraints to a cell request for a member of this level.- Specified by:
constrainRequest
in interfaceRolapCubeLevel.LevelReader
- 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
public void constrainRegion(StarColumnPredicate predicate, RolapCube baseCube, RolapCacheRegion cacheRegion)
Description copied from interface:RolapCubeLevel.LevelReader
Adds constraints to a cache region for a member of this level.- Specified by:
constrainRegion
in interfaceRolapCubeLevel.LevelReader
- Parameters:
predicate
- PredicatebaseCube
- base cube if virtual levelcacheRegion
- Cache region to be constrained
-
-