mondrian.olap
Class MondrianDef.View
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.olap.MondrianDef.RelationOrJoin
mondrian.olap.MondrianDef.Relation
mondrian.olap.MondrianDef.View
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Enclosing class:
- MondrianDef
public static class MondrianDef.View
- extends MondrianDef.Relation
A collection of SQL statements, one per dialect.
- See Also:
- Serialized Form
-
-
Methods inherited from class org.eigenbase.xom.ElementDef |
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, getChildren, getElementChildren, getElementClass, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual |
alias
public String alias
selects
public MondrianDef.SQL[] selects
MondrianDef.View
public MondrianDef.View()
MondrianDef.View
public MondrianDef.View(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
MondrianDef.View
public MondrianDef.View(MondrianDef.View view)
- Copy constructor.
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class MondrianDef.Relation
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class MondrianDef.Relation
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class MondrianDef.Relation
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class MondrianDef.Relation
toString
public String toString()
- Overrides:
toString
in class ElementDef
find
public MondrianDef.View find(String seekAlias)
- Specified by:
find
in class MondrianDef.RelationOrJoin
getAlias
public String getAlias()
- Specified by:
getAlias
in class MondrianDef.Relation
getCodeSet
public SqlQuery.CodeSet getCodeSet()
addCode
public void addCode(String dialect,
String code)