public static class MondrianDef.NamedSet
extends org.eigenbase.xom.ElementDef
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.
Modifier and Type | Field and Description |
---|---|
MondrianDef.Annotations |
annotations
Contains values of user-defined properties.
|
String |
caption |
String |
description |
String |
formula |
MondrianDef.Formula |
formulaElement
MDX expression which gives the value of this set.
|
String |
name |
Constructor and Description |
---|
NamedSet() |
NamedSet(org.eigenbase.xom.DOMWrapper _def) |
Modifier and Type | Method and Description |
---|---|
void |
display(PrintWriter _out,
int _indent) |
boolean |
displayDiff(org.eigenbase.xom.ElementDef _other,
PrintWriter _out,
int _indent) |
void |
displayXML(org.eigenbase.xom.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() |
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, equals, getChildren, getElementChildren, getElementClass, getLocation, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, hashCode, toCompactXML, toString, toXML, verifyEqual
public String name
public String caption
public String description
public String formula
public MondrianDef.Annotations annotations
public MondrianDef.Formula formulaElement
public NamedSet()
public NamedSet(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException
org.eigenbase.xom.XOMException
public String getName()
getName
in interface org.eigenbase.xom.NodeDef
getName
in class org.eigenbase.xom.ElementDef
public void display(PrintWriter _out, int _indent)
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
displayXML
in interface org.eigenbase.xom.NodeDef
displayXML
in class org.eigenbase.xom.ElementDef
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
displayDiff
in class org.eigenbase.xom.ElementDef
public String getFormula()
Copyright © 2018 Hitachi Vantara. All rights reserved.