Package mondrian.olap
Class MondrianDef.ExpressionView
- java.lang.Object
-
- org.eigenbase.xom.ElementDef
-
- mondrian.olap.MondrianDef.ExpressionView
-
- All Implemented Interfaces:
Serializable
,Cloneable
,MondrianDef.Expression
,NodeDef
- Direct Known Subclasses:
MondrianDef.CaptionExpression
,MondrianDef.KeyExpression
,MondrianDef.MeasureExpression
,MondrianDef.NameExpression
,MondrianDef.OrdinalExpression
,MondrianDef.ParentExpression
- Enclosing class:
- MondrianDef
public abstract static class MondrianDef.ExpressionView extends ElementDef implements MondrianDef.Expression
A collection of SQL expressions, one per dialect.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianDef.SQL[]
expressions
-
Constructor Summary
Constructors Constructor Description ExpressionView()
ExpressionView(DOMWrapper _def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
display(PrintWriter _out, int _indent)
boolean
displayDiff(ElementDef _other, PrintWriter _out, int _indent)
void
displayXML(XMLOutput _out, int _indent)
boolean
equals(Object obj)
String
getExpression(SqlQuery query)
String
getGenericExpression()
String
getName()
String
getTableAlias()
int
hashCode()
String
toString()
-
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
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eigenbase.xom.NodeDef
getChildren, getLocation, getText, getType, getWrapper
-
-
-
-
Field Detail
-
expressions
public MondrianDef.SQL[] expressions
-
-
Constructor Detail
-
ExpressionView
public ExpressionView()
-
ExpressionView
public ExpressionView(DOMWrapper _def) throws XOMException
- Throws:
XOMException
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceNodeDef
- Overrides:
getName
in classElementDef
-
display
public void display(PrintWriter _out, int _indent)
-
displayXML
public void displayXML(XMLOutput _out, int _indent)
- Specified by:
displayXML
in interfaceNodeDef
- Overrides:
displayXML
in classElementDef
-
displayDiff
public boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classElementDef
-
toString
public String toString()
- Overrides:
toString
in classElementDef
-
getExpression
public String getExpression(SqlQuery query)
- Specified by:
getExpression
in interfaceMondrianDef.Expression
-
getGenericExpression
public String getGenericExpression()
- Specified by:
getGenericExpression
in interfaceMondrianDef.Expression
-
getTableAlias
public String getTableAlias()
- Specified by:
getTableAlias
in interfaceMondrianDef.Expression
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classElementDef
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classElementDef
-
-