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
public static class MondrianDef.Join extends MondrianDef.RelationOrJoin
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianDef.RelationOrJoin
left
String
leftAlias
String
leftKey
MondrianDef.RelationOrJoin
right
String
rightAlias
String
rightKey
-
Constructor Summary
Constructors Constructor Description Join()
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
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
MondrianDef.Relation
find(String seekAlias)
String
getLeftAlias()
Returns the alias of the left join key, defaulting to left's alias if left is a table.String
getName()
String
getRightAlias()
Returns the alias of the right join key, defaulting to right's alias if right is a table.String
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 Detail
-
leftAlias
public String leftAlias
-
leftKey
public String leftKey
-
rightAlias
public String rightAlias
-
rightKey
public String rightKey
-
left
public MondrianDef.RelationOrJoin left
-
right
public MondrianDef.RelationOrJoin right
-
-
Constructor Detail
-
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 Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classMondrianDef.RelationOrJoin
-
display
public void display(PrintWriter _out, int _indent)
- 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
public boolean displayDiff(org.eigenbase.xom.ElementDef _other, PrintWriter _out, int _indent)
- Overrides:
displayDiff
in classMondrianDef.RelationOrJoin
-
getLeftAlias
public String getLeftAlias()
Returns the alias of the left join key, defaulting to left's alias if left is a table.
-
getRightAlias
public String getRightAlias()
Returns the alias of the right join key, defaulting to right's alias if right is a table.
-
toString
public String toString()
- Overrides:
toString
in classorg.eigenbase.xom.ElementDef
-
find
public MondrianDef.Relation find(String seekAlias)
- Specified by:
find
in classMondrianDef.RelationOrJoin
-
-