| Package | Description | 
|---|---|
| mondrian.mdx | Defines a parse tree for MDX expressions. | 
| mondrian.olap | Mondrian's core package, this defines connections and the catalog metamodel, 
and allows you to execute queries. | 
| mondrian.parser | |
| mondrian.rolap | Implements the data access layer for the olap package. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | MdxVisitor. visit(Formula formula)Visits a Formula. | 
| Object | MdxVisitorImpl. visit(Formula formula) | 
| Modifier and Type | Method and Description | 
|---|---|
| Formula | Query. findFormula(String uniqueName)Looks up a calculated member or set defined in this Query. | 
| Formula[] | Query. getFormulas()Returns an array of the formulas used in this query. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Query. addFormula(Formula formula)Adds a new formula specifying a member or a set to an existing query; resolve is called after the formula has been
 added. | 
| void | Query. addFormulas(Formula... additions)Adds some number of new formulas specifying members or sets to an existing query; resolve is only called once,
 after all the new members have been added to the query. | 
| Member | Hierarchy. createMember(Member parent,
            Level level,
            String name,
            Formula formula)Creates a member of this hierarchy. | 
| Query | Parser.FactoryImpl. makeQuery(Statement statement,
         Formula[] formulae,
         QueryAxis[] axes,
         String cube,
         Exp slicer,
         QueryPart[] cellProps,
         boolean strictValidation) | 
| static boolean | NameResolver. matches(Formula formula,
       OlapElement parent,
       org.olap4j.mdx.IdentifierSegment segment)Returns whether a formula (representing a calculated member or named
 set) matches a given parent and name segment. | 
| void | Validator. validate(Formula formula)Validates a formula. | 
| Constructor and Description | 
|---|
| Query(Statement statement,
     Cube mdxCube,
     Formula[] formulas,
     QueryAxis[] axes,
     QueryAxis slicerAxis,
     QueryPart[] cellProps,
     Parameter[] parameters,
     boolean strictValidation)Creates a Query. | 
| Query(Statement statement,
     Formula[] formulas,
     QueryAxis[] axes,
     String cube,
     QueryAxis slicerAxis,
     QueryPart[] cellProps,
     boolean strictValidation)Creates a Query. | 
| Modifier and Type | Method and Description | 
|---|---|
| Formula | MdxParserImpl. memberSpecification() | 
| Formula | MdxParserImpl. setSpecification() | 
| Modifier and Type | Method and Description | 
|---|---|
| Query | MdxParserValidator.QueryPartFactory. makeQuery(Statement statement,
         Formula[] formulae,
         QueryAxis[] axes,
         String cube,
         Exp slicer,
         QueryPart[] cellProps,
         boolean strictValidation)Creates a  Queryobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| Formula | RolapCalculatedMember. getFormula() | 
| Modifier and Type | Method and Description | 
|---|---|
| Member | RolapHierarchy. createMember(Member parent,
            Level level,
            String name,
            Formula formula) | 
| Member | RolapCubeHierarchy. createMember(Member parent,
            Level level,
            String name,
            Formula formula) | 
| Constructor and Description | 
|---|
| RolapCalculatedMeasure(RolapMember parent,
                      RolapLevel level,
                      String name,
                      Formula formula) | 
Copyright © 2021 Hitachi Vantara. All rights reserved.