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
public static class MondrianDef.Table extends MondrianDef.Relation
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description MondrianDef.AggExclude[]
aggExcludes
MondrianDef.AggTable[]
aggTables
String
alias
MondrianDef.SQL
filter
The SQL WHERE clause expression to be appended to any select statementString
name
String
schema
MondrianDef.Hint[]
tableHints
Table optimization hints; may be ignored by dialect.
-
Constructor Summary
Constructors Constructor Description Table()
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
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)
boolean
equals(Object o)
MondrianDef.Table
find(String seekAlias)
MondrianDef.AggExclude[]
getAggExcludes()
MondrianDef.AggTable[]
getAggTables()
String
getAlias()
Returns the alias or, if it is null, the table name.String
getFilter()
Map<String,String>
getHintMap()
String
getName()
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
-
-
-
-
Field Detail
-
name
public String name
-
schema
public String schema
-
alias
public String alias
-
filter
public MondrianDef.SQL filter
The SQL WHERE clause expression to be appended to any select statement
-
aggExcludes
public MondrianDef.AggExclude[] aggExcludes
-
aggTables
public MondrianDef.AggTable[] aggTables
-
tableHints
public MondrianDef.Hint[] tableHints
Table optimization hints; may be ignored by dialect.
-
-
Constructor Detail
-
Table
public Table()
-
Table
public Table(org.eigenbase.xom.DOMWrapper _def) throws org.eigenbase.xom.XOMException
- Throws:
org.eigenbase.xom.XOMException
-
Table
public Table(MondrianDef.Table table)
Convenience constructor.
-
Table
public Table(String schema, String name, String alias, MondrianDef.Hint[] tablehints)
-
Table
public Table(MondrianDef.Table tbl, String possibleName)
-
-
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
-
getAlias
public String getAlias()
Returns the alias or, if it is null, the table name.- Specified by:
getAlias
in classMondrianDef.Relation
-
toString
public String toString()
- Overrides:
toString
in classorg.eigenbase.xom.ElementDef
-
find
public MondrianDef.Table find(String seekAlias)
- Specified by:
find
in classMondrianDef.RelationOrJoin
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classMondrianDef.RelationOrJoin
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classMondrianDef.RelationOrJoin
-
getFilter
public String getFilter()
-
getAggExcludes
public MondrianDef.AggExclude[] getAggExcludes()
-
getAggTables
public MondrianDef.AggTable[] getAggTables()
-
-