class ChildByNameConstraint extends DefaultMemberChildrenConstraint
| Constructor and Description | 
|---|
ChildByNameConstraint(Id.NameSegment childName)
Creates a  
ChildByNameConstraint. | 
ChildByNameConstraint(List<Id.NameSegment> childNames)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addLevelConstraint(SqlQuery query,
                  RolapCube baseCube,
                  AggStar aggStar,
                  RolapLevel level)
Will be called once for the level that contains the
 children of a Member.Children query. 
 | 
boolean | 
equals(Object obj)  | 
Object | 
getCacheKey()
Returns a key that becomes part of the key for caching the
 result of the SQL query. 
 | 
List<String> | 
getChildNames()  | 
int | 
hashCode()  | 
String | 
toString()  | 
addMemberConstraint, addMemberConstraint, instancepublic ChildByNameConstraint(Id.NameSegment childName)
ChildByNameConstraint.childName - Name of childpublic ChildByNameConstraint(List<Id.NameSegment> childNames)
public void addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
MemberChildrenConstraintaddLevelConstraint in interface MemberChildrenConstraintaddLevelConstraint in class DefaultMemberChildrenConstraintquery - the query to modifybaseCube - base cube for virtual membersaggStar - Aggregate table, or null if query is against fact tablelevel - the level that contains the childrenpublic String toString()
toString in class DefaultMemberChildrenConstraintpublic Object getCacheKey()
SqlConstraintgetCacheKey in interface SqlConstraintgetCacheKey in class DefaultMemberChildrenConstraint