Uses of Interface
mondrian.olap.Exp
Packages that use Exp
Package
Description
Provides compiled expressions.
Provides implementation classes for compiled expressions.
Defines a parse tree for MDX expressions.
Mondrian's core package, this defines connections and the catalog metamodel, 
and allows you to execute queries.
Defines the set of MDX built-in functions.
Implements the data access layer for the olap package.
Database-independent library for generating SQL.
- 
Uses of Exp in mondrian.calcClasses in mondrian.calc that implement ExpMethods in mondrian.calc that return ExpMethods in mondrian.calc with parameters of type ExpModifier and TypeMethodDescriptionCompiles an expression.ExpCompiler.compileAs(Exp exp, Type resultType, List<ResultStyle> preferredResultStyles) Compiles an expression to a given result type.ExpCompiler.compileBoolean(Exp exp) Compiles an expression which yields abooleanresult.ExpCompiler.compileDateTime(Exp exp) Compiles an expression which yields aDateresult.ExpCompiler.compileDimension(Exp exp) Compiles an expression which yields aDimensionresult.ExpCompiler.compileDouble(Exp exp) Compiles an expression which yields adoubleresult.ExpCompiler.compileHierarchy(Exp exp) Compiles an expression which yields aHierarchyresult.ExpCompiler.compileInteger(Exp exp) Compiles an expression which yields anintresult.ExpCompiler.compileIter(Exp exp) Compiles an expression which yields an immutableIterableresult.ExpCompiler.compileLevel(Exp exp) Compiles an expression which yields aLevelresult.ExpCompiler.compileList(Exp exp) Compiles an expression which yields an immutableTupleListresult.ExpCompiler.compileList(Exp exp, boolean mutable) Compiles an expression which yieldsTupleListresult.ExpCompiler.compileMember(Exp exp) Compiles an expression which yields aMemberresult.ExpCompiler.compileScalar(Exp exp, boolean specific) Compiles an expression to yield a scalar result.ExpCompiler.compileString(Exp exp) Compiles an expression which yields aStringresult.ExpCompiler.compileTuple(Exp exp) Compiles an expression which yields a tuple result.
- 
Uses of Exp in mondrian.calc.implFields in mondrian.calc.impl declared as ExpMethods in mondrian.calc.impl with parameters of type ExpModifier and TypeMethodDescriptionprotected CalcDelegatingExpCompiler.afterCompile(Exp exp, Calc calc, boolean mutable) Hook for post-processing.Compiles an expression.AbstractExpCompiler.compileAs(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes) Compiles an expression to a given result type.DelegatingExpCompiler.compileAs(Exp exp, Type resultType, List<ResultStyle> preferredResultTypes) AbstractExpCompiler.compileBoolean(Exp exp) DelegatingExpCompiler.compileBoolean(Exp exp) AbstractExpCompiler.compileDateTime(Exp exp) DelegatingExpCompiler.compileDateTime(Exp exp) AbstractExpCompiler.compileDimension(Exp exp) DelegatingExpCompiler.compileDimension(Exp exp) AbstractExpCompiler.compileDouble(Exp exp) DelegatingExpCompiler.compileDouble(Exp exp) AbstractExpCompiler.compileHierarchy(Exp exp) DelegatingExpCompiler.compileHierarchy(Exp exp) AbstractExpCompiler.compileInteger(Exp exp) DelegatingExpCompiler.compileInteger(Exp exp) AbstractExpCompiler.compileIter(Exp exp) DelegatingExpCompiler.compileIter(Exp exp) AbstractExpCompiler.compileLevel(Exp exp) DelegatingExpCompiler.compileLevel(Exp exp) AbstractExpCompiler.compileList(Exp exp) AbstractExpCompiler.compileList(Exp exp, boolean mutable) BetterExpCompiler.compileList(Exp exp, boolean mutable) final ListCalcDelegatingExpCompiler.compileList(Exp exp) DelegatingExpCompiler.compileList(Exp exp, boolean mutable) AbstractExpCompiler.compileMember(Exp exp) DelegatingExpCompiler.compileMember(Exp exp) AbstractExpCompiler.compileScalar(Exp exp, boolean specific) DelegatingExpCompiler.compileScalar(Exp exp, boolean scalar) AbstractExpCompiler.compileString(Exp exp) DelegatingExpCompiler.compileString(Exp exp) AbstractExpCompiler.compileTuple(Exp exp) BetterExpCompiler.compileTuple(Exp exp) DelegatingExpCompiler.compileTuple(Exp exp) static GenericCalcMemberValueCalc.create(Exp exp, MemberCalc[] memberCalcs, boolean nullCheck) Constructors in mondrian.calc.impl with parameters of type ExpModifierConstructorDescriptionAbstractBooleanCalc(Exp exp, Calc[] calcs) Creates an AbstractBooleanCalc.protectedAbstractCalc(Exp exp, Calc[] calcs) Creates an AbstractCalc.protectedAbstractDateTimeCalc(Exp exp, Calc[] calcs) Creates an AbstractDateTimeCalc.protectedAbstractDimensionCalc(Exp exp, Calc[] calcs) Creates an AbstractDimensionCalc.protectedAbstractDoubleCalc(Exp exp, Calc[] calcs) Creates an AbstractDoubleCalc.protectedAbstractHierarchyCalc(Exp exp, Calc[] calcs) Creates an AbstractHierarchyCalc.protectedAbstractIntegerCalc(Exp exp, Calc[] calcs) Creates an AbstractIntegerCalc.protectedAbstractIterCalc(Exp exp, Calc[] calcs) Creates an abstract implementation of a compiled expression which returns aTupleIterable.protectedAbstractLevelCalc(Exp exp, Calc[] calcs) Creates an AbstractLevelCalc.protectedAbstractListCalc(Exp exp, Calc[] calcs) Creates an abstract implementation of a compiled expression which returns a mutable list of tuples.protectedAbstractListCalc(Exp exp, Calc[] calcs, boolean mutable) Creates an abstract implementation of a compiled expression which returns a list.protectedAbstractMemberCalc(Exp exp, Calc[] calcs) Creates an AbstractMemberCalc.protectedAbstractStringCalc(Exp exp, Calc[] calcs) Creates an AbstractStringCalc.protectedAbstractTupleCalc(Exp exp, Calc[] calcs) Creates an AbstractTupleCalc.protectedAbstractVoidCalc(Exp exp, Calc[] calcs) CacheCalc(Exp exp, ExpCacheDescriptor key) protectedGenericCalc(Exp exp) Creates a GenericCalc without specifying child calculated expressions.protectedGenericCalc(Exp exp, Calc[] calcs) Creates an GenericCalc.protectedGenericIterCalc(Exp exp) Creates a GenericIterCalc without specifying child calculated expressions.protectedGenericIterCalc(Exp exp, Calc[] calcs) Creates an GenericIterCalc.MemberValueCalc(Exp exp, MemberCalc memberCalc, boolean nullCheck) Creates a MemberArrayValueCalc.TupleValueCalc(Exp exp, TupleCalc tupleCalc, boolean nullCheck) Creates a TupleValueCalc.Creates a ValueCalc.
- 
Uses of Exp in mondrian.mdxClasses in mondrian.mdx that implement ExpModifier and TypeClassDescriptionclassUsage of aDimensionas an MDX expression.classUsage of aHierarchyas an MDX expression.classUsage of aLevelas an MDX expression.classUsage of aMemberas an MDX expression.classUsage of aNamedSetin an MDX expression.classMDX expression which is a usage of aParameter.final classAResolvedFunCallis a function applied to a list of operands, which has been validated and resolved to afunction definition.classAn expression consisting of a named function or operator applied to a set of arguments.Methods in mondrian.mdx that return ExpModifier and TypeMethodDescriptionResolvedFunCall.getArg(int index) Returns the Exp argument at the specified index.UnresolvedFunCall.getArg(int index) Returns the Exp argument at the specified index.Exp[]ResolvedFunCall.getArgs()Returns the internal array of Exp arguments.Exp[]UnresolvedFunCall.getArgs()Returns the internal array of Exp arguments.protected Exp[]MdxVisitorImpl.visitArray(Exp[] args) Visits an array of expressions.Methods in mondrian.mdx with parameters of type ExpModifier and TypeMethodDescriptionprotected Exp[]MdxVisitorImpl.visitArray(Exp[] args) Visits an array of expressions.Constructors in mondrian.mdx with parameters of type ExpModifierConstructorDescriptionResolvedFunCall(FunDef funDef, Exp[] args, Type returnType) Creates a function call.UnresolvedFunCall(String name, Exp[] args) Creates a function call withSyntax.Functionsyntax.UnresolvedFunCall(String name, Syntax syntax, Exp[] args) Creates a function call.
- 
Uses of Exp in mondrian.olapSubinterfaces of Exp in mondrian.olapModifier and TypeInterfaceDescriptioninterfaceAFunCallis a function applied to a list of operands.Classes in mondrian.olap that implement ExpModifier and TypeClassDescriptionclassSkeleton implementation ofExpinterface.classMulti-part identifier.classRepresents a constant value, such as a string or number, in a parse tree.Methods in mondrian.olap that return ExpModifier and TypeMethodDescriptionValidates this expression.Exp.clone()abstract ExpExpBase.clone()protected static Exp[]ExpBase.cloneArray(Exp[] a) FunDef.createCall(Validator validator, Exp[] args) Creates an expression which represents a call to this function with a given set of arguments.static ExpUtil.createExpr(OlapElement element) Converts an olap element (dimension, hierarchy, level or member) into an expression representing a usage of that element in an MDX statement.FunCall.getArg(int index) Returns theindexth argument to this function call.Exp[]FunCall.getArgs()Returns the arguments to this function.Parameter.getDefaultExp()Returns the expression which provides the default value for this Parameter.ParameterImpl.getDefaultExp()ExpCacheDescriptor.getExp()MemberProperty.getExp()NamedSet.getExp()Returns the expression used to derive this named set.Query.ScopedNamedSet.getExp()SetBase.getExp()Formula.getExpression()Member.getExpression()MemberBase.getExpression()Returns the expression by which this member is calculated.QueryAxis.getSet()Returns the expression which is used to compute the value of this axis.DmvQuery.getWhereExpression()static ExpUtil.lookup(Query q, List<Id.Segment> nameParts, boolean allowProp) Converts an identifier into an expression by resolving its parts into an OLAP object (dimension, hierarchy, level or member) within the context of a query.static ExpUtil.lookup(Query q, SchemaReader schemaReader, List<Id.Segment> segments, boolean allowProp) Converts an identifier into an expression by resolving its parts into an OLAP object (dimension, hierarchy, level or member) within the context of a query.Connection.parseExpression(String s) Parses an expresion.Parser.parseExpression(MdxParserValidator.QueryPartFactory factory, Statement statement, String queryString, boolean debug, FunTable funTable) Parses a string to create anExp.Validates an expression, and returns the expression it resolves to.Methods in mondrian.olap with parameters of type ExpModifier and TypeMethodDescriptionvoidQuery.addFormula(Id id, Exp exp) Adds a new formula specifying a set to an existing query.voidQuery.addFormula(Id id, Exp exp, MemberProperty[] memberProperties) Adds a new formula specifying a member to an existing query.booleanValidator.canConvert(int ordinal, Exp fromExp, int to, List<Resolver.Conversion> conversions) Returns whether we can convert an argument to a parameter type.protected static Exp[]ExpBase.cloneArray(Exp[] a) Query.compileExpression(Exp exp, boolean scalar, ResultStyle resultStyle) Compiles an expression, using a cached compiled expression if available.FunDef.createCall(Validator validator, Exp[] args) Creates an expression which represents a call to this function with a given set of arguments.Validator.createOrLookupParam(boolean definition, String name, Type type, Exp defaultExp, String description) Creates or retrieves the parameter corresponding to a "Parameter" or "ParamRef" function call.Query.createScopedNamedSet(String name, QueryPart scope, Exp expr) Creates a named set defined by an alias.Resolves a function call to a particular function.DelegatingSchemaReader.getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc) SchemaReader.getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc) Returns an object which can evaluate an expression in native SQL, or null if this is not possible.Evaluator.getSetEvaluator(Exp exp, boolean create) Returns an evaluator for a set.static int[]Parser.FactoryImpl.makeDmvQuery(String tableName, List<String> columns, Exp whereExpression) Parser.FactoryImpl.makeQuery(Statement statement, Formula[] formulae, QueryAxis[] axes, String cube, Exp slicer, QueryPart[] cellProps, boolean strictValidation) voidParameterImpl.setDefaultExp(Exp defaultExp) voidvoidSets the expression which is used to compute the value of this axis.voidFunDef.unparse(Exp[] args, PrintWriter pw) Converts a function call into MDX source code.voidSyntax.unparse(String fun, Exp[] args, PrintWriter pw) Converts a call to a function of this syntax into source code.static StringConverts an expression to a string.static voidExpBase.unparseList(PrintWriter pw, Exp[] exps, String start, String mid, String end) Validates an expression, and returns the expression it resolves to.Method parameters in mondrian.olap with type arguments of type ExpModifier and TypeMethodDescriptionParser.FactoryImpl.makeDrillThrough(Query query, int maxRowCount, int firstRowOrdinal, List<Exp> returnList) Constructors in mondrian.olap with parameters of type ExpModifierConstructorDescriptionExpCacheDescriptor(Exp exp, Calc calc, Evaluator evaluator) Creates a descriptor with a given compiled expression.ExpCacheDescriptor(Exp exp, ExpCompiler compiler) Creates a descriptor.ExpCacheDescriptor(Exp exp, Evaluator evaluator) Creates a descriptor.Constructs formula specifying a set.Formula(Id id, Exp exp, MemberProperty[] memberProperties) Constructs a formula specifying a member.MemberProperty(String name, Exp exp) ParameterImpl(String name, Exp defaultExp, String description, Type type) QueryAxis(boolean nonEmpty, Exp set, AxisOrdinal axisOrdinal, QueryAxis.SubtotalVisibility subtotalVisibility) Creates an axis with no dimension properties.QueryAxis(boolean nonEmpty, Exp set, AxisOrdinal axisOrdinal, QueryAxis.SubtotalVisibility subtotalVisibility, Id[] dimensionProperties) Creates an axis.
- 
Uses of Exp in mondrian.olap.funFields in mondrian.olap.fun declared as ExpMethods in mondrian.olap.fun that return ExpModifier and TypeMethodDescriptionFunDefBase.createCall(Validator validator, Exp[] args) NamedSetCurrentFunDef.createCall(Validator validator, Exp[] args) NamedSetCurrentOrdinalFunDef.createCall(Validator validator, Exp[] args) NativizeSetFunDef.createCall(Validator validator, Exp[] args) ParameterFunDef.createCall(Validator validator, Exp[] args) VisualTotalsFunDef.VisualTotalMember.getExpression()protected ExpAbstractAggregateFunDef.validateArg(Validator validator, Exp[] args, int i, int category) protected ExpFunDefBase.validateArg(Validator validator, Exp[] args, int i, int category) Validates an argument to a call to this function.protected ExpVisualTotalsFunDef.validateArg(Validator validator, Exp[] args, int i, int category) Methods in mondrian.olap.fun with parameters of type ExpModifier and TypeMethodDescriptionFunDefBase.createCall(Validator validator, Exp[] args) NamedSetCurrentFunDef.createCall(Validator validator, Exp[] args) NamedSetCurrentOrdinalFunDef.createCall(Validator validator, Exp[] args) NativizeSetFunDef.createCall(Validator validator, Exp[] args) ParameterFunDef.createCall(Validator validator, Exp[] args) protected abstract FunDefMultiResolver.createFunDef(Exp[] args, FunDef dummyFunDef) protected FunDefParameterFunDef.ParameterResolver.createFunDef(Exp[] args, FunDef dummyFunDef) protected FunDefParameterFunDef.ParamRefResolver.createFunDef(Exp[] args, FunDef dummyFunDef) protected FunDefReflectiveMultiResolver.createFunDef(Exp[] args, FunDef dummyFunDef) static StringParameterFunDef.getParameterName(Exp[] args) static TypeParameterFunDef.getParameterType(Exp[] args) Returns an approximate type for a parameter, based upon the 1'th argument.CrossJoinFunDef.getResultType(Validator validator, Exp[] args) ExistingFunDef.getResultType(Validator validator, Exp[] args) FunDefBase.getResultType(Validator validator, Exp[] args) Returns the type of a call to this function with a given set of arguments.IifFunDef.getResultType(Validator validator, Exp[] args) MemberLevelFunDef.getResultType(Validator validator, Exp[] args) ParameterFunDef.getResultType(Validator validator, Exp[] args) ParenthesesFunDef.getResultType(Validator validator, Exp[] args) SetFunDef.getResultType(Validator validator, Exp[] args) TupleFunDef.getResultType(Validator validator, Exp[] args) CacheFunDef.CacheFunResolver.resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions) MultiResolver.resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions) Resolver.resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions) Given a particular set of arguments the function is applied to, returns the correct overloaded form of the function.UdfResolver.resolve(Exp[] args, Validator validator, List<Resolver.Conversion> conversions) static FunDefFunUtil.resolveFunArgs(Validator validator, FunDef funDef, Exp[] args, Exp[] newArgs, String name, Syntax syntax) Validates the arguments to a function and resolves the function.voidVisualTotalsFunDef.VisualTotalMember.setExpression(Exp exp) voidCacheFunDef.unparse(Exp[] args, PrintWriter pw) voidFunDefBase.unparse(Exp[] args, PrintWriter pw) voidParenthesesFunDef.unparse(Exp[] args, PrintWriter pw) voidSetFunDef.unparse(Exp[] args, PrintWriter pw) voidTupleFunDef.unparse(Exp[] args, PrintWriter pw) protected ExpAbstractAggregateFunDef.validateArg(Validator validator, Exp[] args, int i, int category) protected ExpFunDefBase.validateArg(Validator validator, Exp[] args, int i, int category) Validates an argument to a call to this function.protected ExpVisualTotalsFunDef.validateArg(Validator validator, Exp[] args, int i, int category) static booleanFunUtil.worthCaching(Exp exp) Returns whether an expression is worth wrapping in "Cache( ...static ResolvedFunCallCreates a call to the set operator with a given collection of expressions.Method parameters in mondrian.olap.fun with type arguments of type ExpModifier and TypeMethodDescriptionvoidApplies this conversion to its argument, modifying the argument list in place.Constructors in mondrian.olap.fun with parameters of type ExpModifierConstructorDescriptionAggregateCalc(Exp exp, ListCalc listCalc, Calc calc) AggregateCalc(Exp exp, ListCalc listCalc, Calc calc, Member member) CalcImpl(Exp exp, HierarchyCalc hierarchyCalc) CalcImpl(Exp exp, HierarchyCalc hierarchyCalc) CalcImpl(Exp exp, MemberCalc memberCalc) CalcImpl(Exp exp, MemberCalc memberCalc) CalcImpl(Exp exp, MemberCalc memberCalc) Creates a CalcExprIterCalc(Exp exp, Exp[] args, ExpCompiler compiler, List<ResultStyle> resultStyles) FixedCalcImpl(Exp exp, Hierarchy hierarchy) protectedNativeListCalc(ResolvedFunCall call, Calc[] calcs, ExpCompiler compiler, mondrian.olap.fun.NativizeSetFunDef.SubstitutionMap substitutionMap, Exp originalExp) SetListCalc(Exp exp, Exp[] args, ExpCompiler compiler, List<ResultStyle> resultStyles) 
- 
Uses of Exp in mondrian.parserMethods in mondrian.parser that return ExpModifier and TypeMethodDescriptionfinal ExpMdxParserImpl.atom()final ExpMdxParserImpl.caseExpression()final ExpMdxParserImpl.expression()final ExpMdxParserImpl.expressionEof()final ExpMdxParserImpl.expressionOrEmpty()final ExpMdxParserImpl.factor()final ExpMdxParserImpl.formulaExpression()JavaccParserValidatorImpl.parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable) MdxParserValidator.parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable) MdxParserValidatorImpl.parseExpression(Statement statement, String queryString, boolean debug, FunTable funTable) final ExpMdxParserImpl.primary()final ExpMdxParserImpl.segmentOrFuncall(Exp left) final ExpMdxParserImpl.term()final ExpMdxParserImpl.term2()final ExpMdxParserImpl.term3()final ExpMdxParserImpl.term4()final ExpMdxParserImpl.term5()final ExpMdxParserImpl.unaliasedExpression()Methods in mondrian.parser that return types with arguments of type ExpModifier and TypeMethodDescriptionMdxParserImpl.expList()MdxParserImpl.expOrEmptyList()MdxParserImpl.returnItemList()Methods in mondrian.parser with parameters of type ExpModifier and TypeMethodDescriptionMdxParserValidator.QueryPartFactory.makeDmvQuery(String tableName, List<String> columns, Exp whereExpression) Creates aDmvQueryobject.MdxParserValidator.QueryPartFactory.makeQuery(Statement statement, Formula[] formulae, QueryAxis[] axes, String cube, Exp slicer, QueryPart[] cellProps, boolean strictValidation) Creates aQueryobject.final ExpMdxParserImpl.segmentOrFuncall(Exp left) Method parameters in mondrian.parser with type arguments of type ExpModifier and TypeMethodDescriptionMdxParserValidator.QueryPartFactory.makeDrillThrough(Query query, int maxRowCount, int firstRowOrdinal, List<Exp> returnList) Creates aDrillThroughobject.
- 
Uses of Exp in mondrian.rolapMethods in mondrian.rolap that return ExpModifier and TypeMethodDescriptionRolapSchemaParameter.getDefaultExp()DelegatingRolapMember.getExpression()RolapCalculatedMember.getExpression()RolapCubeMember.getExpression()RolapHierarchy.LimitedRollupMember.getExpression()RolapResult.CompoundSlicerRolapMember.getExpression()RolapConnection.parseExpression(String expr) Methods in mondrian.rolap that return types with arguments of type ExpModifier and TypeMethodDescriptionRolapEvaluator.getActiveNativeExpansions()Set of expressions actively being expanded.Methods in mondrian.rolap with parameters of type ExpModifier and TypeMethodDescriptionstatic booleanSqlConstraintUtils.containsValidMeasure(Exp... expressions) RolapNativeRegistry.createEvaluator(RolapEvaluator evaluator, FunDef fun, Exp[] args) Returns the matching NativeEvaluator or null iffuncan not be executed in SQL for the given context and arguments.protected Evaluator.SetEvaluatorRolapResult.RolapResultEvaluatorRoot.evaluateSet(Exp exp, boolean create) static voidSqlConstraintUtils.expandExpressions(Member member, Exp expression, Evaluator evaluator, TupleConstraintStruct expandedSet) RolapNativeSql.generateFilterCondition(Exp exp) RolapNativeSql.generateTopCountOrderBy(Exp exp) Generates an aggregate of a measure, e.g.RolapSchemaReader.getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc) final Evaluator.SetEvaluatorRolapEvaluator.getSetEvaluator(Exp exp, boolean create) static booleanSqlConstraintUtils.isSupportedExpressionForCalculatedMember(Exp expression) 
- 
Uses of Exp in mondrian.rolap.sqlMethods in mondrian.rolap.sql with parameters of type ExpModifier and TypeMethodDescriptionList<CrossJoinArg[]>CrossJoinArgFactory.checkCrossJoin(RolapEvaluator evaluator, FunDef fun, Exp[] args, boolean returnAny) Checks forCrossJoin(<set1>, <set2>), where set1 and set2 are one ofmember.children,level.membersormember.descendants.List<CrossJoinArg[]>CrossJoinArgFactory.checkCrossJoinArg(RolapEvaluator evaluator, Exp exp) Scans for memberChildren, levelMembers, memberDescendants, crossJoin.