public interface MemberChildrenConstraint extends SqlConstraint
SqlMemberSource
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.
|
void |
addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
List<RolapMember> parents)
Modifies a
Member.Children query so that (all or some)
children of all parent members contained in parents
will be returned in the result set. |
void |
addMemberConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar,
RolapMember parent)
Modifies a
Member.Children query so that only the children
of parent will be returned in the result set. |
getCacheKey
void addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, RolapMember parent)
Member.Children
query so that only the children
of parent
will be returned in the result set.sqlQuery
- the query to modifybaseCube
- base cube for virtual membersaggStar
- Aggregate star, if we are reading from an aggregate table,parent
- the parent member that restricts the returned childrenvoid addMemberConstraint(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, List<RolapMember> parents)
Member.Children
query so that (all or some)
children of all parent members contained in parents
will be returned in the result set.sqlQuery
- Query to modifybaseCube
- Base cube for virtual membersaggStar
- Aggregate table, or null if query is against fact tableparents
- List of parent members that restrict the returned
childrenvoid addLevelConstraint(SqlQuery query, RolapCube baseCube, AggStar aggStar, RolapLevel level)
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 childrenCopyright © 2018 Hitachi Vantara. All rights reserved.