|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.mondrian.MondrianUtil
public class MondrianUtil
Constructor Summary | |
---|---|
MondrianUtil()
|
Method Summary | |
---|---|
static boolean |
compareMembers(mondrian.olap.Member[] aMem1,
mondrian.olap.Member[] aMem2)
compare arrays of members |
static java.lang.String |
defaultParamName(mondrian.olap.Member m)
creates a parameter name for a member |
static java.lang.String |
expString(mondrian.olap.Exp exp)
format exp to string for debugging purposes |
static mondrian.olap.Syntax |
funCallSyntax(java.lang.String fuName,
int nArgs)
Map function names to Mondrian Syntax type must be synchronized with mondrian/olap/fun/BuiltinFunTable.java |
static mondrian.olap.Member[] |
getMemberDescendants(mondrian.olap.SchemaReader scr,
mondrian.olap.Member member,
mondrian.olap.Level level)
determine descendants of member at specific level |
static boolean |
isVisible(mondrian.olap.SchemaReader scr,
mondrian.olap.Member member)
Determine if the Member is GUI visible. |
static java.lang.String |
memberString(mondrian.olap.Member[] mPath)
display member array for debugging purposes |
static mondrian.olap.Hierarchy[] |
removeNull(mondrian.olap.Hierarchy[] hierarchies)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MondrianUtil()
Method Detail |
---|
public static java.lang.String expString(mondrian.olap.Exp exp)
exp
-
public static boolean compareMembers(mondrian.olap.Member[] aMem1, mondrian.olap.Member[] aMem2)
aMem1
- aMem2
-
public static java.lang.String memberString(mondrian.olap.Member[] mPath)
mPath
-
public static mondrian.olap.Member[] getMemberDescendants(mondrian.olap.SchemaReader scr, mondrian.olap.Member member, mondrian.olap.Level level)
scr
- SchemaReadermember
- level
-
public static mondrian.olap.Syntax funCallSyntax(java.lang.String fuName, int nArgs)
fuName
- - function namenArgs
- - number of function args
public static java.lang.String defaultParamName(mondrian.olap.Member m)
public static boolean isVisible(mondrian.olap.SchemaReader scr, mondrian.olap.Member member)
scr
- the SchemaReadermember
- the Mondrian Member
public static mondrian.olap.Hierarchy[] removeNull(mondrian.olap.Hierarchy[] hierarchies)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |