mondrian.rolap
Class RolapCubeLevel.ParentChildLevelReaderImpl
java.lang.Object
mondrian.rolap.RolapCubeLevel.RegularLevelReader
mondrian.rolap.RolapCubeLevel.ParentChildLevelReaderImpl
- All Implemented Interfaces:
- RolapCubeLevel.LevelReader
- Enclosing class:
- RolapCubeLevel
class RolapCubeLevel.ParentChildLevelReaderImpl
- extends RolapCubeLevel.RegularLevelReader
Level reader for a parent-child level which has a closed peer level.
-
-
Field Summary |
protected RolapCubeLevel |
closedPeer
For a parent-child hierarchy with a closure provided by the schema,
the equivalent level in the closed hierarchy; otherwise null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
closedPeer
protected final RolapCubeLevel closedPeer
- For a parent-child hierarchy with a closure provided by the schema,
the equivalent level in the closed hierarchy; otherwise null.
RolapCubeLevel.ParentChildLevelReaderImpl
RolapCubeLevel.ParentChildLevelReaderImpl(RolapCubeLevel closedPeer)
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
- Overrides:
constrainRequest
in class RolapCubeLevel.RegularLevelReader
- 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 interface RolapCubeLevel.LevelReader
- Overrides:
constrainRegion
in class RolapCubeLevel.RegularLevelReader
- Parameters:
predicate
- PredicatebaseCube
- base cube if virtual levelcacheRegion
- Cache region to be constrained