|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.rolap.sql.MemberListCrossJoinArg
public class MemberListCrossJoinArg
Represents an enumeration {member1, member2, ...}. All members must to the same level and are non-calculated.
| Field Summary |
|---|
| Fields inherited from interface mondrian.rolap.sql.CrossJoinArg |
|---|
EMPTY_ARRAY |
| Method Summary | |
|---|---|
void |
addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
|
static CrossJoinArg |
create(RolapEvaluator evaluator,
List<RolapMember> args,
boolean restrictMemberTypes,
boolean exclude)
Creates an instance of CrossJoinArg,
or returns null if the arguments are invalid. |
boolean |
equals(Object obj)
|
RolapLevel |
getLevel()
|
List<RolapMember> |
getMembers()
|
boolean |
hasAllMember()
|
boolean |
hasCalcMembers()
|
int |
hashCode()
|
boolean |
isEmptyCrossJoinArg()
Returns whether the input CJ arg is empty. |
boolean |
isPreferInterpreter(boolean joinArg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CrossJoinArg create(RolapEvaluator evaluator,
List<RolapMember> args,
boolean restrictMemberTypes,
boolean exclude)
CrossJoinArg,
or returns null if the arguments are invalid. This method also
records properties of the member list such as containing
calc/non calc members, and containing the All member.
If restrictMemberTypes is set, then the resulting argument could contain calculated members. The newly created CrossJoinArg is marked appropriately for special handling downstream.
If restrictMemberTypes is false, then the resulting argument contains non-calculated members of the same level (after filtering out any null members).
evaluator - the current evaluatorargs - members in the listrestrictMemberTypes - whether calculated members are allowedexclude - Whether to exclude tuples that match the predicate
public RolapLevel getLevel()
getLevel in interface CrossJoinArgpublic List<RolapMember> getMembers()
getMembers in interface CrossJoinArgpublic boolean isPreferInterpreter(boolean joinArg)
isPreferInterpreter in interface CrossJoinArg
public void addConstraint(SqlQuery sqlQuery,
RolapCube baseCube,
AggStar aggStar)
addConstraint in interface CrossJoinArgpublic boolean isEmptyCrossJoinArg()
This is used to selectively push down empty input arg into the native evaluator.
public boolean hasCalcMembers()
public boolean hasAllMember()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||