mondrian.rolap
Class RolapCubeLevel.NullLevelReader

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

static class RolapCubeLevel.NullLevelReader
extends Object
implements RolapCubeLevel.LevelReader

Level reader for the level which contains the null member.

 

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

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