class ChildByNameConstraint extends DefaultMemberChildrenConstraint
Constructor and Description |
---|
ChildByNameConstraint(Id.NameSegment childName)
Creates a
ChildByNameConstraint . |
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.
|
int |
hashCode() |
String |
toString() |
addMemberConstraint, addMemberConstraint, instance
public ChildByNameConstraint(Id.NameSegment childName)
ChildByNameConstraint
.childName
- Name of childpublic void addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
MemberChildrenConstraint
addLevelConstraint
in interface MemberChildrenConstraint
addLevelConstraint
in class DefaultMemberChildrenConstraint
query
- 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 DefaultMemberChildrenConstraint
public Object getCacheKey()
SqlConstraint
getCacheKey
in interface SqlConstraint
getCacheKey
in class DefaultMemberChildrenConstraint