Package 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
,org.eigenbase.xom.NodeDef
- Enclosing class:
- MondrianDef
public static class MondrianDef.View extends MondrianDef.Relation
A collection of SQL statements, one per dialect.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description String
alias
MondrianDef.SQL[]
selects
-
Constructor Summary
Constructors Constructor Description View()
View(MondrianDef.View view)
Copy constructor.View(org.eigenbase.xom.DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCode(String dialect, String code)
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)
boolean
equals(Object o)
MondrianDef.View
find(String seekAlias)
String
getAlias()
SqlQuery.CodeSet
getCodeSet()
String
getName()
String
toString()
-
Methods inherited from class mondrian.olap.MondrianDef.RelationOrJoin
hashCode
-
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, getLocation, getMixedChildren, getMixedChildren_new, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual
-
-
-
-
Field Detail
-
alias
public String alias
-
selects
public MondrianDef.SQL[] selects
-
-
Constructor Detail
-
View
public View()
-
View
public View(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException
- Throws:
org.eigenbase.xom.XOMException
-
View
public View(MondrianDef.View view)
Copy constructor.
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classMondrianDef.Relation
-
display
public void display(PrintWriter _out, int _indent)
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classMondrianDef.Relation
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classMondrianDef.Relation
-
displayDiff
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classMondrianDef.Relation
-
toString
public String toString()
- Overrides:
toString
in classorg.eigenbase.xom.ElementDef
-
find
public MondrianDef.View find(String seekAlias)
- Specified by:
find
in classMondrianDef.RelationOrJoin
-
getAlias
public String getAlias()
- Specified by:
getAlias
in classMondrianDef.Relation
-
getCodeSet
public SqlQuery.CodeSet getCodeSet()
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMondrianDef.RelationOrJoin
-
-