| Package | Description | 
|---|---|
| mondrian.olap | Mondrian's core package, this defines connections and the catalog metamodel, 
and allows you to execute queries. | 
| mondrian.rolap | Implements the data access layer for the olap package. | 
| mondrian.rolap.sql | Database-independent library for generating SQL. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MondrianDef.InlineTable | 
| static class  | MondrianDef.Join | 
| static class  | MondrianDef.RelationA table, inline table or view | 
| static class  | MondrianDef.Table | 
| static class  | MondrianDef.ViewA collection of SQL statements, one per dialect. | 
| Modifier and Type | Field and Description | 
|---|---|
| MondrianDef.RelationOrJoin | MondrianDef.Join. left | 
| MondrianDef.RelationOrJoin | MondrianDef.Hierarchy. relation | 
| MondrianDef.RelationOrJoin | MondrianDef.Join. right | 
| Constructor and Description | 
|---|
| Join(String leftAlias,
    String leftKey,
    MondrianDef.RelationOrJoin left,
    String rightAlias,
    String rightKey,
    MondrianDef.RelationOrJoin right)Convenience constructor. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected MondrianDef.RelationOrJoin | RolapHierarchy. relation | 
| Modifier and Type | Method and Description | 
|---|---|
| protected MondrianDef.RelationOrJoin | RolapStar. cloneRelation(MondrianDef.Relation rel,
             String possibleName) | 
| MondrianDef.RelationOrJoin | RolapCube. getFact()Returns this cube's fact table, null if the cube is virtual. | 
| MondrianDef.RelationOrJoin | RolapHierarchy. getRelation() | 
| MondrianDef.RelationOrJoin | RolapCubeHierarchy. getRelation()The currentRelation object is derived from the shared relation object
 it is generated via the RolapStar object, and contains unique aliases
 for it's particular join path | 
| MondrianDef.RelationOrJoin | RolapStar. getUniqueRelation(MondrianDef.RelationOrJoin rel,
                 String factForeignKey,
                 String primaryKey,
                 String primaryKeyTable)Generates a unique relational join to the fact table via re-aliasing
 MondrianDef.Relations
 currently called in the RolapCubeHierarchy constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | RolapCubeHierarchy. extractNewAliases(MondrianDef.RelationOrJoin oldrel,
                 MondrianDef.RelationOrJoin newrel)Populates the alias map for the old and new relations. | 
| MondrianDef.RelationOrJoin | RolapStar. getUniqueRelation(MondrianDef.RelationOrJoin rel,
                 String factForeignKey,
                 String primaryKey,
                 String primaryKeyTable)Generates a unique relational join to the fact table via re-aliasing
 MondrianDef.Relations
 currently called in the RolapCubeHierarchy constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SqlQuery. addFrom(MondrianDef.RelationOrJoin relation,
       String alias,
       boolean failIfExists)Adds a relation to a query, adding appropriate join conditions, unless
 it is already present. | 
| void | SqlQuery. registerRootRelation(MondrianDef.RelationOrJoin root) | 
Copyright © 2021 Hitachi Vantara. All rights reserved.