|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.olap.query.QueryAdapter com.tonbeller.jpivot.mondrian.MondrianQueryAdapter
public class MondrianQueryAdapter
Adapt the Mondrian Query Object to the JPivot System.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tonbeller.jpivot.olap.query.QueryAdapter |
---|
QueryAdapter.QueryAdapterHolder |
Field Summary |
---|
Fields inherited from class com.tonbeller.jpivot.olap.query.QueryAdapter |
---|
axesSwapped, genMDXHierarchize, model, quaxes, sortMan, useQuax |
Method Summary | |
---|---|
boolean |
canCollapse(Member member)
|
boolean |
canCollapse(Member[] pathMembers)
|
boolean |
canDrillDown(Member member)
drill down is possible if member has children |
boolean |
canExpand(Member member)
find out, whether a member can be expanded. |
boolean |
canExpand(Member[] pathMembers)
|
protected java.lang.Object |
createMemberSet(java.util.List memList)
create set expression for list of members |
void |
expand(Member member)
expand a member in all positions this is done by applying ToggleDrillState to the Query |
void |
expand(Member[] pathMembers)
expand a member in a specific position |
protected java.lang.String |
getCurrentMdx()
return the corresponding mdx |
mondrian.olap.Query |
getMonQuery()
Returns the monQuery. |
mondrian.olap.SchemaReader |
getSchemaReader()
|
protected void |
onExecute()
Update the Mondrian Query before Execute. |
void |
quaxChanged(Quax quax,
java.lang.Object source,
boolean changedByNavi)
implement MondrianQuaxChangeListener |
void |
setMonQuery(mondrian.olap.Query q)
set the monQuery, used for restore |
void |
setSwapAxes(boolean swap)
swap axes toggle swap state if neccessary |
Methods inherited from class com.tonbeller.jpivot.olap.query.QueryAdapter |
---|
afterExecute, canDrillUp, collapse, collapse, drillDown, drillUp, findQuax, getQuaxes, iASwap, isSwapAxes, isUseQuax, poString, setQuaxes, setUseQuax |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public mondrian.olap.SchemaReader getSchemaReader()
public void quaxChanged(Quax quax, java.lang.Object source, boolean changedByNavi)
quaxChanged
in interface QuaxChangeListener
public mondrian.olap.Query getMonQuery()
public void setMonQuery(mondrian.olap.Query q)
protected void onExecute()
protected java.lang.String getCurrentMdx()
protected java.lang.Object createMemberSet(java.util.List memList)
createMemberSet
in class QueryAdapter
memList
-
public boolean canExpand(Member member)
canExpand
in class QueryAdapter
member
- to be expanded
DrillExpandMember.canExpand(Member)
public boolean canExpand(Member[] pathMembers)
canExpand
in class QueryAdapter
position
- position to be expandedMember
- to be expanded
DrillExpandMember.canExpand(Member)
public boolean canCollapse(Member member)
canCollapse
in class QueryAdapter
member
- Member to be collapsed
DrillExpandMember.canCollapse(Member)
public boolean canCollapse(Member[] pathMembers)
canCollapse
in class QueryAdapter
position
- position to be expanded
DrillExpandMember.canCollapse(Member)
public void expand(Member member)
expand
in class QueryAdapter
Member
- member to be expandedcom.tonbeller.jpivot.olap.navi.DrillExpand#expand(Member)
public void expand(Member[] pathMembers)
expand
in class QueryAdapter
position
- position to be expandedMember
- member to be expandedcom.tonbeller.jpivot.olap.navi.DrillExpand#expand(Member)
public boolean canDrillDown(Member member)
member
has children
canDrillDown
in class QueryAdapter
public void setSwapAxes(boolean swap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |