mondrian.rolap
Class CacheControlImpl.RangeMemberSet

java.lang.Object
  extended by mondrian.rolap.CacheControlImpl.RangeMemberSet
All Implemented Interfaces:
CacheControl.MemberSet, CacheControlImpl.MemberSetPlus
Enclosing class:
CacheControlImpl

static class CacheControlImpl.RangeMemberSet
extends Object
implements CacheControlImpl.MemberSetPlus

Member set defined by a range of members between a lower and upper bound.

 

Constructor Summary
CacheControlImpl.RangeMemberSet(RolapMember lowerMember, boolean lowerInclusive, RolapMember upperMember, boolean upperInclusive, boolean descendants)
           
 
Method Summary
 void accept(CacheControlImpl.MemberSetVisitor visitor)
          Accepts a visitor.
 CacheControlImpl.MemberSetPlus filter(RolapLevel level)
          Filters this member set, returning a member set containing all members at a given Level.
 CacheControlImpl.MemberSetPlus filter2(RolapLevel seekLevel, RolapLevel level, RolapMember lower, RolapMember upper)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheControlImpl.RangeMemberSet

CacheControlImpl.RangeMemberSet(RolapMember lowerMember,
                                boolean lowerInclusive,
                                RolapMember upperMember,
                                boolean upperInclusive,
                                boolean descendants)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

accept

public void accept(CacheControlImpl.MemberSetVisitor visitor)
Description copied from interface: CacheControlImpl.MemberSetPlus
Accepts a visitor.

Specified by:
accept in interface CacheControlImpl.MemberSetPlus
Parameters:
visitor - Visitor

filter

public CacheControlImpl.MemberSetPlus filter(RolapLevel level)
Description copied from interface: CacheControlImpl.MemberSetPlus
Filters this member set, returning a member set containing all members at a given Level. When applicable, returns this member set unchanged.

Specified by:
filter in interface CacheControlImpl.MemberSetPlus
Parameters:
level - Level
Returns:
Member set with members not at the given level removed

filter2

public CacheControlImpl.MemberSetPlus filter2(RolapLevel seekLevel,
                                              RolapLevel level,
                                              RolapMember lower,
                                              RolapMember upper)

SourceForge.net_Logo