mondrian.rolap
Class RolapCubeLevel.RegularLevelReader

java.lang.Object
  extended by mondrian.rolap.RolapCubeLevel.RegularLevelReader
All Implemented Interfaces:
RolapCubeLevel.LevelReader
Direct Known Subclasses:
RolapCubeLevel.ParentChildLevelReaderImpl
Enclosing class:
RolapCubeLevel

 class RolapCubeLevel.RegularLevelReader
extends Object
implements RolapCubeLevel.LevelReader

Level reader for a regular level.

 

Constructor Summary
RolapCubeLevel.RegularLevelReader()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolapCubeLevel.RegularLevelReader

RolapCubeLevel.RegularLevelReader()
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 interface RolapCubeLevel.LevelReader
Parameters:
member - Member to be constrained
baseCube - base cube if virtual level
request - 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 interface RolapCubeLevel.LevelReader
Parameters:
predicate - Predicate
baseCube - base cube if virtual level
cacheRegion - Cache region to be constrained

SourceForge.net_Logo