Package mondrian.olap
Class MondrianDef.Join
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.olap.MondrianDef.RelationOrJoin
mondrian.olap.MondrianDef.Join
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- MondrianDef
- See Also:
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
ConstructorDescriptionJoin()
Join
(String leftAlias, String leftKey, MondrianDef.RelationOrJoin left, String rightAlias, String rightKey, MondrianDef.RelationOrJoin right) Convenience constructor.Join
(org.eigenbase.xom.DOMWrapper _def) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Returns the alias of the left join key, defaulting to left's alias if left is a table.getName()
Returns the alias of the right join key, defaulting to right's alias if right is a table.toString()
Methods inherited from class mondrian.olap.MondrianDef.RelationOrJoin
equals, 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 Details
-
leftAlias
-
leftKey
-
rightAlias
-
rightKey
-
left
-
right
-
-
Constructor Details
-
Join
public Join() -
Join
public Join(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException - Throws:
org.eigenbase.xom.XOMException
-
Join
public Join(String leftAlias, String leftKey, MondrianDef.RelationOrJoin left, String rightAlias, String rightKey, MondrianDef.RelationOrJoin right) Convenience constructor.
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classMondrianDef.RelationOrJoin
-
display
- Specified by:
display
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
display
in classMondrianDef.RelationOrJoin
-
displayXML
public void displayXML(org.eigenbase.xom.XMLOutput _out, int _indent) - Specified by:
displayXML
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
displayXML
in classMondrianDef.RelationOrJoin
-
displayDiff
- Overrides:
displayDiff
in classMondrianDef.RelationOrJoin
-
getLeftAlias
Returns the alias of the left join key, defaulting to left's alias if left is a table. -
getRightAlias
Returns the alias of the right join key, defaulting to right's alias if right is a table. -
toString
- Overrides:
toString
in classorg.eigenbase.xom.ElementDef
-
find
- Specified by:
find
in classMondrianDef.RelationOrJoin
-