Uses of Interface
mondrian.olap.Evaluator
Packages that use Evaluator
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.
Contains the server-provider interfaces (SPIs) which user-defined
extensions to Mondrian should implement.
-
Uses of Evaluator in mondrian.calc
Methods in mondrian.calc that return EvaluatorModifier and TypeMethodDescriptionExpCompiler.getEvaluator()Returns the evaluator to be used for evaluating expressions during the compilation process.Methods in mondrian.calc with parameters of type EvaluatorModifier and TypeMethodDescriptionEvaluates this expression.booleanBooleanCalc.evaluateBoolean(Evaluator evaluator) Evaluates this expression to yield abooleanvalue.DateTimeCalc.evaluateDateTime(Evaluator evaluator) Evaluates this expression to yield aDatevalue.DimensionCalc.evaluateDimension(Evaluator evaluator) Evaluates this expression to yield a dimension.doubleDoubleCalc.evaluateDouble(Evaluator evaluator) Evaluates this expression to yield adoublevalue.HierarchyCalc.evaluateHierarchy(Evaluator evaluator) Evaluates this expression to yield a hierarchy.intIntegerCalc.evaluateInteger(Evaluator evaluator) Evaluates this expression to yield anintvalue.IterCalc.evaluateIterable(Evaluator evaluator) Evaluates an expression to yield an Iterable of members or tuples.LevelCalc.evaluateLevel(Evaluator evaluator) Evaluates this expression to yield a level.ListCalc.evaluateList(Evaluator evaluator) Evaluates an expression to yield a list of tuples.MemberCalc.evaluateMember(Evaluator evaluator) Evaluates this expression to yield a member.StringCalc.evaluateString(Evaluator evaluator) Evaluates this expression to yield aStringvalue.Member[]TupleCalc.evaluateTuple(Evaluator evaluator) Evaluates this expression to yield a tuple.voidVoidCalc.evaluateVoid(Evaluator evaluator) static ExpCompilerExpCompiler.Factory.getExpCompiler(Evaluator evaluator, Validator validator) Create aExpCompilerinstance, each call returns a new compiler.static ExpCompilerExpCompiler.Factory.getExpCompiler(Evaluator evaluator, Validator validator, List<ResultStyle> resultStyles) voidTupleCursor.setContext(Evaluator evaluator) -
Uses of Evaluator in mondrian.calc.impl
Methods in mondrian.calc.impl that return EvaluatorModifier and TypeMethodDescriptionAbstractExpCompiler.getEvaluator()DelegatingExpCompiler.getEvaluator()static EvaluatorAbstractCalc.simplifyEvaluator(Calc calc, Evaluator evaluator) Returns a simplified evalator whose context is the same for every dimension which an expression depends on, and the default member for every dimension which it does not depend on.Methods in mondrian.calc.impl with parameters of type EvaluatorModifier and TypeMethodDescriptionfinal Objectfinal ObjectbooleanGenericCalc.evaluateBoolean(Evaluator evaluator) GenericCalc.evaluateDateTime(Evaluator evaluator) GenericCalc.evaluateDimension(Evaluator evaluator) doubleConstantCalc.evaluateDouble(Evaluator evaluator) doubleGenericCalc.evaluateDouble(Evaluator evaluator) GenericCalc.evaluateHierarchy(Evaluator evaluator) intConstantCalc.evaluateInteger(Evaluator evaluator) intGenericCalc.evaluateInteger(Evaluator evaluator) AbstractListCalc.evaluateIterable(Evaluator evaluator) GenericIterCalc.evaluateIterable(Evaluator evaluator) GenericCalc.evaluateLevel(Evaluator evaluator) GenericIterCalc.evaluateList(Evaluator evaluator) IterableListCalc.evaluateList(Evaluator evaluator) GenericCalc.evaluateMember(Evaluator evaluator) GenericCalc.evaluateString(Evaluator evaluator) Member[]GenericCalc.evaluateTuple(Evaluator evaluator) voidGenericCalc.evaluateVoid(Evaluator evaluator) voidAbstractTupleCursor.setContext(Evaluator evaluator) voidAbstractTupleList.AbstractTupleListIterator.setContext(Evaluator evaluator) static EvaluatorAbstractCalc.simplifyEvaluator(Calc calc, Evaluator evaluator) Returns a simplified evalator whose context is the same for every dimension which an expression depends on, and the default member for every dimension which it does not depend on.Constructors in mondrian.calc.impl with parameters of type EvaluatorModifierConstructorDescriptionAbstractExpCompiler(Evaluator evaluator, Validator validator) Creates an AbstractExpCompilerAbstractExpCompiler(Evaluator evaluator, Validator validator, List<ResultStyle> resultStyles) Creates an AbstractExpCompiler which is constrained to produce one of a set of result styles.BetterExpCompiler(Evaluator evaluator, Validator validator) BetterExpCompiler(Evaluator evaluator, Validator validator, List<ResultStyle> resultStyles) -
Uses of Evaluator in mondrian.mdx
Methods in mondrian.mdx with parameters of type EvaluatorModifier and TypeMethodDescription -
Uses of Evaluator in mondrian.olap
Methods in mondrian.olap that return EvaluatorModifier and TypeMethodDescriptionEvaluator.getParent()Deprecated.Will be removed in mondrian-4Evaluator.push()Creates a new Evaluator with the same context as this evaluator.Evaluator.push(boolean nonEmpty) Deprecated.Usesavepoint()followed bysetNonEmpty(boolean); will be removed in mondrian-4Evaluator.push(boolean nonEmpty, boolean nativeEnabled) Deprecated.Usesavepoint()followed bysetNonEmpty(boolean)andsetNativeEnabled(boolean); will be removed in mondrian-4.Deprecated.Usesavepoint()followed bysetContext(Member); will be removed in mondrian-4Deprecated.Usesavepoint()followed bysetContext(Member[]); will be removed in mondrian-4Evaluator.pushAggregation(List<List<Member>> list) Returns a new Aggregator whose aggregation context adds a given list of tuples, and whose evaluation context is the same as this Aggregator.Methods in mondrian.olap with parameters of type EvaluatorModifier and TypeMethodDescriptionApplies this aggregator to an expression over a set of members and returns the result.Evaluator.NamedSetEvaluator.evaluateTupleIterable(Evaluator eval) Returns an iterator over the tuples of the named set.DelegatingSchemaReader.getLevelMembers(Level level, Evaluator context) SchemaReader.getLevelMembers(Level level, Evaluator context) Returns the members of a level, optionally filtering out members which are empty.DelegatingSchemaReader.getMemberChildren(List<Member> members, Evaluator context) DelegatingSchemaReader.getMemberChildren(Member member, Evaluator context) SchemaReader.getMemberChildren(List<Member> members, Evaluator context) Returns direct children of each element ofmemberswhich is not empty incontext.SchemaReader.getMemberChildren(Member member, Evaluator context) Returns direct children ofmember, optimized for NON EMPTY.DelegatingSchemaReader.getMemberChildrenWithDetails(Member member, Evaluator evaluator) SchemaReader.getMemberChildrenWithDetails(Member member, Evaluator evaluator) Similar toSchemaReader.getMemberChildren(Member, Evaluator)but returns a map of the grand-children and their access details and costs more to invoke because of the access controls.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.Constructors in mondrian.olap with parameters of type EvaluatorModifierConstructorDescriptionExpCacheDescriptor(Exp exp, Calc calc, Evaluator evaluator) Creates a descriptor with a given compiled expression.ExpCacheDescriptor(Exp exp, Evaluator evaluator) Creates a descriptor. -
Uses of Evaluator in mondrian.olap.fun
Methods in mondrian.olap.fun with parameters of type EvaluatorModifier and TypeMethodDescriptionstatic ObjectComputes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static ObjectNativizeSetFunDef.NativeListCalc.computeTuples(Evaluator evaluator) static intFunUtil.count(Evaluator evaluator, TupleIterable iterable, boolean includeEmpty) protected TupleIterableAbstractAggregateFunDef.evaluateCurrentIterable(IterCalc iterCalc, Evaluator evaluator) protected static TupleListAbstractAggregateFunDef.evaluateCurrentList(ListCalc listCalc, Evaluator evaluator) Evaluates the list of members or tuples used in computing the aggregate.HierarchyDimensionFunDef.CalcImpl.evaluateDimension(Evaluator evaluator) LevelHierarchyFunDef.CalcImpl.evaluateHierarchy(Evaluator evaluator) MemberHierarchyFunDef.CalcImpl.evaluateHierarchy(Evaluator evaluator) SetFunDef.ExprIterCalc.evaluateIterable(Evaluator evaluator) MemberLevelFunDef.CalcImpl.evaluateLevel(Evaluator evaluator) NativizeSetFunDef.NativeListCalc.evaluateList(Evaluator evaluator) SetFunDef.SetListCalc.evaluateList(Evaluator evaluator) HierarchyCurrentMemberFunDef.CalcImpl.evaluateMember(Evaluator evaluator) HierarchyCurrentMemberFunDef.FixedCalcImpl.evaluateMember(Evaluator evaluator) Member[]TupleFunDef.CalcImpl.evaluateTuple(Evaluator evaluator) FunUtil.getNonEmptyMemberChildren(Evaluator evaluator, Member member) FunUtil.getNonEmptyMemberChildrenWithDetails(Evaluator evaluator, Member member) static Objectstatic Objectprotected TupleListCrossJoinFunDef.nonEmptyList(Evaluator evaluator, TupleList list, ResolvedFunCall call) This is the entry point to the crossjoin non-empty optimizer code.protected TupleListCrossJoinFunDef.nonEmptyOptimizeList(Evaluator evaluator, TupleList list, ResolvedFunCall call) static TupleListAggregateFunDef.AggregateCalc.optimizeTupleList(Evaluator evaluator, TupleList tupleList, boolean checkSize) protected static mondrian.olap.fun.LinReg.ValueLinReg.process(Evaluator evaluator, ListCalc listCalc, DoubleCalc yCalc, DoubleCalc xCalc) static TupleListAbstractAggregateFunDef.processUnrelatedDimensions(TupleList tuplesForAggregation, Evaluator evaluator) Pushes unrelated dimensions to the top level member from the given list of tuples if the ignoreUnrelatedDimensions property is set on the base cube usage in the virtual cube.protected static doubleReturns the member which lies upon a particular quartile according to a given expression.voidVisualTotalsFunDef.VisualTotalMember.setExpression(Evaluator evaluator, List<Member> childMembers) static Objectstatic doubleFunUtil.sumDouble(Evaluator evaluator, TupleIterable iterable, Calc exp) static double -
Uses of Evaluator in mondrian.olap.fun.sort
Methods in mondrian.olap.fun.sort with parameters of type EvaluatorModifier and TypeMethodDescriptionSorter.evaluateTuples(Evaluator evaluator, Calc exp, TupleList tuples) For each tuple in a list, evaluates an expression and creates a map from tuples to values.Sorter.partiallySortMembers(Evaluator evaluator, List<Member> list, Calc exp, int limit, boolean desc) Partially sorts a list of Members by the value of an applied expression.Sorter.partiallySortTuples(Evaluator evaluator, TupleList list, Calc exp, int limit, boolean desc) Partially sorts a list of Tuples by the value of an applied expression.Sorter.sortMembers(Evaluator evaluator, Iterable<Member> memberIter, List<Member> memberList, List<SortKeySpec> keySpecList) Sorts a list of members according to a list of SortKeySpecs.Sorter.sortMembers(Evaluator evaluator, Iterable<Member> memberIter, List<Member> memberList, Calc exp, boolean desc, boolean brk) Helper function to sort a list of members according to an expression.static TupleListSorter.sortTuples(Evaluator evaluator, TupleIterable tupleIter, TupleList tupleList, List<SortKeySpec> keySpecList, int arity) Helper function to sort a list of tuples according to a list of expressions and a list of sorting flags.static TupleListSorter.sortTuples(Evaluator evaluator, TupleIterable tupleIterable, TupleList tupleList, Calc exp, boolean desc, boolean brk, int arity) Sorts a list of Tuples by the value of an applied expression. -
Uses of Evaluator in mondrian.rolap
Classes in mondrian.rolap that implement EvaluatorModifier and TypeClassDescriptionclassEvaluator which checks dependencies of expressions.classRolapEvaluatorevaluates expressions in a dimensional environment.classEvaluator that collects profiling information as it evaluates expressions.Methods in mondrian.rolap that return EvaluatorModifier and TypeMethodDescriptionstatic EvaluatorCreates an evaluator.static EvaluatorRolapUtil.createEvaluator(Statement statement) Creates a dummy evaluator.DefaultTupleConstraint.getEvaluator()SqlContextConstraint.getEvaluator()protected EvaluatorSqlTupleReader.getEvaluator(TupleConstraint constraint) Obtains the evaluator used to find an aggregate table to support the Tuple constraint.final EvaluatorRolapEvaluator.push(boolean nonEmpty) final EvaluatorRolapEvaluator.push(boolean nonEmpty, boolean nativeEnabled) final EvaluatorRolapEvaluator.pushAggregation(List<List<Member>> list) Methods in mondrian.rolap with parameters of type EvaluatorModifier and TypeMethodDescriptionstatic voidSqlConstraintUtils.addContextConstraint(SqlQuery sqlQuery, AggStar aggStar, Evaluator evaluator, RolapCube baseCube, boolean restrictMemberTypes) For every restricting member in the current context, generates a WHERE condition and a join to the fact table.static voidRolapUtil.constraintBitkeyForLimitedMembers(Evaluator evaluator, Member[] members, RolapCube cube, BitKey levelBitKey) Modifies a bitkey so that it includes the proper bits for members in an array which should be considered as a limited rollup member.intRolapSchemaReader.countMemberChildren(Member member, Evaluator context) static voidSqlConstraintUtils.expandExpressions(Member member, Exp expression, Evaluator evaluator, TupleConstraintStruct expandedSet) protected static Member[]SqlConstraintUtils.expandMultiPositionSlicerMembers(Member[] members, Evaluator evaluator) static voidSqlConstraintUtils.expandSetFromCalculatedMember(Evaluator evaluator, Member member, TupleConstraintStruct expandedSet) static voidSqlConstraintUtils.expandSupportedCalculatedMember(Member member, Evaluator evaluator, boolean disjointSlicerTuples, TupleConstraintStruct expandedSet) static voidSqlConstraintUtils.expandSupportedCalculatedMember(Member member, Evaluator evaluator, TupleConstraintStruct expandedSet) static TupleConstraintStructSqlConstraintUtils.expandSupportedCalculatedMembers(List<Member> members, Evaluator evaluator) static TupleConstraintStructSqlConstraintUtils.expandSupportedCalculatedMembers(List<Member> members, Evaluator evaluator, boolean disjointSlicerTuples) RolapSchemaReader.getLevelMembers(Level level, Evaluator context) SqlConstraintFactory.getLevelMembersConstraint(Evaluator context) SqlConstraintFactory.getLevelMembersConstraint(Evaluator context, Level[] levels) Returns a constraint that restricts the members of a level to those that are non-empty in the given context.RolapSchemaReader.getMemberChildren(List<Member> members, Evaluator context) RolapSchemaReader.getMemberChildren(Member member, Evaluator context) SqlConstraintFactory.getMemberChildrenConstraint(Evaluator context) RolapSchemaReader.getMemberChildrenWithDetails(Member member, Evaluator evaluator) RolapSchemaReader.getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc) static Map<RolapLevel,List<RolapMember>> SqlConstraintUtils.getRolesConstraints(Evaluator evaluator) static booleanSqlConstraintUtils.hasMultipleLevelSlicer(Evaluator evaluator) static booleanSqlContextConstraint.isValidContext(Evaluator context, boolean strict) static booleanSqlContextConstraint.isValidContext(Evaluator context, boolean disallowVirtualCube, Level[] levels, boolean strict) static voidSqlConstraintUtils.joinLevelTableToFactTable(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, Evaluator e, RolapCubeLevel level) Ensures that the table oflevelis joined to the fact tableConstructors in mondrian.rolap with parameters of type EvaluatorModifierConstructorDescriptionCompoundPredicateInfo(List<List<Member>> tupleList, RolapMeasure measure, Evaluator evaluator) RolapNativeSql(SqlQuery sqlQuery, AggStar aggStar, Evaluator evaluator, RolapLevel rolapLevel) Creates a RolapNativeSql. -
Uses of Evaluator in mondrian.rolap.sql
Methods in mondrian.rolap.sql that return EvaluatorModifier and TypeMethodDescriptionMemberKeyConstraint.getEvaluator()TupleConstraint.getEvaluator() -
Uses of Evaluator in mondrian.spi
Methods in mondrian.spi with parameters of type EvaluatorModifier and TypeMethodDescriptionEvaluates the argument.UserDefinedFunction.Argument.evaluateIterable(Evaluator eval) Evaluates the argument to an iterable over members or tuples.UserDefinedFunction.Argument.evaluateList(Evaluator eval) Evaluates the argument to a list of members or tuples.UserDefinedFunction.Argument.evaluateScalar(Evaluator evaluator) Evaluates the argument as a scalar expression.UserDefinedFunction.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) Applies this function to a set of arguments, and returns a result. -
Uses of Evaluator in mondrian.udf
Methods in mondrian.udf with parameters of type EvaluatorModifier and TypeMethodDescriptionCurrentDateMemberUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) CurrentDateStringUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) InUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) InverseNormalUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] args) LastNonEmptyUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) MatchesUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) NullValueUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments) ValUdf.execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)