Package mondrian.olap
Class MondrianDef.Table
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.olap.MondrianDef.RelationOrJoin
mondrian.olap.MondrianDef.Relation
mondrian.olap.MondrianDef.Table
- All Implemented Interfaces:
Serializable
,Cloneable
,org.eigenbase.xom.NodeDef
- Enclosing class:
- MondrianDef
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe SQL WHERE clause expression to be appended to any select statementTable optimization hints; may be ignored by dialect. -
Constructor Summary
ConstructorDescriptionTable()
Table
(String schema, String name, String alias, MondrianDef.Hint[] tablehints) Table
(MondrianDef.Table table) Convenience constructor.Table
(MondrianDef.Table tbl, String possibleName) Table
(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) boolean
getAlias()
Returns the alias or, if it is null, the table name.getName()
int
hashCode()
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
-
Field Details
-
name
-
schema
-
alias
-
filter
The SQL WHERE clause expression to be appended to any select statement -
aggExcludes
-
aggTables
-
tableHints
Table optimization hints; may be ignored by dialect.
-
-
Constructor Details
-
Table
public Table() -
Table
public Table(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException - Throws:
org.eigenbase.xom.XOMException
-
Table
Convenience constructor. -
Table
-
Table
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceorg.eigenbase.xom.NodeDef
- Overrides:
getName
in classMondrianDef.Relation
-
display
- 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
- Overrides:
displayDiff
in classMondrianDef.Relation
-
getAlias
Returns the alias or, if it is null, the table name.- Specified by:
getAlias
in classMondrianDef.Relation
-
toString
- Overrides:
toString
in classorg.eigenbase.xom.ElementDef
-
find
- Specified by:
find
in classMondrianDef.RelationOrJoin
-
equals
- Overrides:
equals
in classMondrianDef.RelationOrJoin
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMondrianDef.RelationOrJoin
-
getFilter
-
getAggExcludes
-
getAggTables
-
getHintMap
-