Uses of Class
mondrian.olap.Formula
Package
Description
Defines a parse tree for MDX expressions.
Mondrian's core package, this defines connections and the catalog metamodel,
and allows you to execute queries.
Implements the data access layer for the olap package.
-
Uses of Formula in mondrian.mdx
-
Uses of Formula in mondrian.olap
Modifier and TypeMethodDescriptionQuery.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 TypeMethodDescriptionvoid
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.Hierarchy.createMember
(Member parent, Level level, String name, Formula formula) Creates a member of this hierarchy.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
Validates a formula.ModifierConstructorDescriptionQuery
(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. -
Uses of Formula in mondrian.parser
Modifier and TypeMethodDescriptionfinal Formula
MdxParserImpl.memberSpecification()
final Formula
MdxParserImpl.setSpecification()
-
Uses of Formula in mondrian.rolap
Modifier and TypeMethodDescriptionRolapCubeHierarchy.createMember
(Member parent, Level level, String name, Formula formula) RolapHierarchy.createMember
(Member parent, Level level, String name, Formula formula) ModifierConstructorDescriptionRolapCalculatedMeasure
(RolapMember parent, RolapLevel level, String name, Formula formula)