mondrian.rolap
Class RolapCubeLevel.ParentChildLevelReaderImpl

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

static final class RolapCubeLevel.ParentChildLevelReaderImpl
extends Object
implements RolapCubeLevel.LevelReader

Level reader for a parent-child level which has a closed peer level.


Constructor Summary
RolapCubeLevel.ParentChildLevelReaderImpl(RolapCubeLevel cubeLevel)
           
 
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.ParentChildLevelReaderImpl

RolapCubeLevel.ParentChildLevelReaderImpl(RolapCubeLevel cubeLevel)
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

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