Uses of Class
mondrian.olap.Formula
-
Packages that use Formula 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. -
-
Uses of Formula in mondrian.mdx
Methods in mondrian.mdx with parameters of type Formula Modifier and Type Method Description Object
MdxVisitor. visit(Formula formula)
Visits a Formula.Object
MdxVisitorImpl. visit(Formula formula)
-
Uses of Formula in mondrian.olap
Methods in mondrian.olap that return Formula Modifier and Type Method 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.Methods in mondrian.olap with parameters of type Formula Modifier and Type Method 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.Constructors in mondrian.olap with parameters of type Formula Constructor 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. -
Uses of Formula in mondrian.parser
Methods in mondrian.parser that return Formula Modifier and Type Method Description Formula
MdxParserImpl. memberSpecification()
Formula
MdxParserImpl. setSpecification()
Methods in mondrian.parser with parameters of type Formula Modifier and Type Method Description Query
MdxParserValidator.QueryPartFactory. makeQuery(Statement statement, Formula[] formulae, QueryAxis[] axes, String cube, Exp slicer, QueryPart[] cellProps, boolean strictValidation)
Creates aQuery
object. -
Uses of Formula in mondrian.rolap
Methods in mondrian.rolap that return Formula Modifier and Type Method Description Formula
RolapCalculatedMember. getFormula()
Methods in mondrian.rolap with parameters of type Formula Modifier and Type Method Description Member
RolapCubeHierarchy. createMember(Member parent, Level level, String name, Formula formula)
Member
RolapHierarchy. createMember(Member parent, Level level, String name, Formula formula)
Constructors in mondrian.rolap with parameters of type Formula Constructor Description RolapCalculatedMeasure(RolapMember parent, RolapLevel level, String name, Formula formula)
-