|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.xom.ElementDef mondrian.olap.MondrianDef.NamedSet
public static class MondrianDef.NamedSet
Defines a named set which can be used in queries in the same way as a set defined using a WITH SET clause.
A named set can be defined against a particular cube, or can be global to a schema. If it is defined against a cube, it is only available to queries which use that cube.
A named set defined against a cube is not inherited by a virtual cubes defined against that cube. (But you can define a named set against a virtual cube.)
A named set defined against a schema is available in all cubes and virtual cubes in that schema. However, it is only valid if the cube contains dimensions with the names required to make the formula valid.
Field Summary | |
---|---|
String |
formula
|
MondrianDef.Formula |
formulaElement
MDX expression which gives the value of this set. |
String |
name
|
Constructor Summary | |
---|---|
MondrianDef.NamedSet()
|
|
MondrianDef.NamedSet(DOMWrapper _def)
|
Method Summary | |
---|---|
void |
display(PrintWriter _out,
int _indent)
|
boolean |
displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
|
void |
displayXML(XMLOutput _out,
int _indent)
|
String |
getFormula()
Returns the formula, looking for a sub-element called "Formula" first, then looking for an attribute called "formula". |
String |
getName()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String name
public String formula
public MondrianDef.Formula formulaElement
Constructor Detail |
---|
public MondrianDef.NamedSet()
public MondrianDef.NamedSet(DOMWrapper _def) throws XOMException
XOMException
Method Detail |
---|
public String getName()
getName
in interface NodeDef
getName
in class ElementDef
public void display(PrintWriter _out, int _indent)
public void displayXML(XMLOutput _out, int _indent)
displayXML
in interface NodeDef
displayXML
in class ElementDef
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
displayDiff
in class ElementDef
public String getFormula()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |