Uses of Interface
mondrian.olap.Evaluator
-
Packages that use Evaluator Package Description mondrian.calc Provides compiled expressions.mondrian.calc.impl Provides implementation classes for compiled expressions.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.olap.fun Defines the set of MDX built-in functions.mondrian.olap.fun.sort mondrian.rolap Implements the data access layer for the olap package.mondrian.rolap.sql Database-independent library for generating SQL.mondrian.spi Contains the server-provider interfaces (SPIs) which user-defined extensions to Mondrian should implement.mondrian.udf -
-
Uses of Evaluator in mondrian.calc
Methods in mondrian.calc that return Evaluator Modifier and Type Method Description EvaluatorExpCompiler. getEvaluator()Returns the evaluator to be used for evaluating expressions during the compilation process.Methods in mondrian.calc with parameters of type Evaluator Modifier and Type Method Description ObjectCalc. evaluate(Evaluator evaluator)Evaluates this expression.booleanBooleanCalc. evaluateBoolean(Evaluator evaluator)Evaluates this expression to yield abooleanvalue.DateDateTimeCalc. evaluateDateTime(Evaluator evaluator)Evaluates this expression to yield aDatevalue.DimensionDimensionCalc. evaluateDimension(Evaluator evaluator)Evaluates this expression to yield a dimension.doubleDoubleCalc. evaluateDouble(Evaluator evaluator)Evaluates this expression to yield adoublevalue.HierarchyHierarchyCalc. evaluateHierarchy(Evaluator evaluator)Evaluates this expression to yield a hierarchy.intIntegerCalc. evaluateInteger(Evaluator evaluator)Evaluates this expression to yield anintvalue.TupleIterableIterCalc. evaluateIterable(Evaluator evaluator)Evaluates an expression to yield an Iterable of members or tuples.LevelLevelCalc. evaluateLevel(Evaluator evaluator)Evaluates this expression to yield a level.TupleListListCalc. evaluateList(Evaluator evaluator)Evaluates an expression to yield a list of tuples.MemberMemberCalc. evaluateMember(Evaluator evaluator)Evaluates this expression to yield a member.StringStringCalc. 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 Evaluator Modifier and Type Method Description EvaluatorAbstractExpCompiler. getEvaluator()EvaluatorDelegatingExpCompiler. 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 Evaluator Modifier and Type Method Description ObjectAbstractBooleanCalc. evaluate(Evaluator evaluator)ObjectAbstractDateTimeCalc. evaluate(Evaluator evaluator)ObjectAbstractDimensionCalc. evaluate(Evaluator evaluator)ObjectAbstractDoubleCalc. evaluate(Evaluator evaluator)ObjectAbstractHierarchyCalc. evaluate(Evaluator evaluator)ObjectAbstractIntegerCalc. evaluate(Evaluator evaluator)ObjectAbstractIterCalc. evaluate(Evaluator evaluator)ObjectAbstractLevelCalc. evaluate(Evaluator evaluator)ObjectAbstractListCalc. evaluate(Evaluator evaluator)ObjectAbstractMemberCalc. evaluate(Evaluator evaluator)ObjectAbstractStringCalc. evaluate(Evaluator evaluator)ObjectAbstractTupleCalc. evaluate(Evaluator evaluator)ObjectAbstractVoidCalc. evaluate(Evaluator evaluator)ObjectCacheCalc. evaluate(Evaluator evaluator)ObjectConstantCalc. evaluate(Evaluator evaluator)ObjectMemberArrayValueCalc. evaluate(Evaluator evaluator)ObjectMemberValueCalc. evaluate(Evaluator evaluator)ObjectTupleValueCalc. evaluate(Evaluator evaluator)ObjectValueCalc. evaluate(Evaluator evaluator)booleanGenericCalc. evaluateBoolean(Evaluator evaluator)DateGenericCalc. evaluateDateTime(Evaluator evaluator)DimensionGenericCalc. evaluateDimension(Evaluator evaluator)doubleConstantCalc. evaluateDouble(Evaluator evaluator)doubleGenericCalc. evaluateDouble(Evaluator evaluator)HierarchyGenericCalc. evaluateHierarchy(Evaluator evaluator)intConstantCalc. evaluateInteger(Evaluator evaluator)intGenericCalc. evaluateInteger(Evaluator evaluator)TupleIterableAbstractListCalc. evaluateIterable(Evaluator evaluator)TupleIterableGenericIterCalc. evaluateIterable(Evaluator evaluator)LevelGenericCalc. evaluateLevel(Evaluator evaluator)TupleListGenericIterCalc. evaluateList(Evaluator evaluator)TupleListIterableListCalc. evaluateList(Evaluator evaluator)MemberGenericCalc. evaluateMember(Evaluator evaluator)StringGenericCalc. 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 Evaluator Constructor Description AbstractExpCompiler(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 Evaluator Modifier and Type Method Description Evaluator.NamedSetEvaluatorNamedSetExpr. getEval(Evaluator evaluator) -
Uses of Evaluator in mondrian.olap
Methods in mondrian.olap that return Evaluator Modifier and Type Method Description EvaluatorEvaluator. getParent()Deprecated.Will be removed in mondrian-4EvaluatorEvaluator. push()Creates a new Evaluator with the same context as this evaluator.EvaluatorEvaluator. push(boolean nonEmpty)Deprecated.Usesavepoint()followed bysetNonEmpty(boolean); will be removed in mondrian-4EvaluatorEvaluator. push(boolean nonEmpty, boolean nativeEnabled)Deprecated.Usesavepoint()followed bysetNonEmpty(boolean)andsetNativeEnabled(boolean); will be removed in mondrian-4.EvaluatorEvaluator. push(Member member)Deprecated.Usesavepoint()followed bysetContext(Member); will be removed in mondrian-4EvaluatorEvaluator. push(Member[] members)Deprecated.Usesavepoint()followed bysetContext(Member[]); will be removed in mondrian-4EvaluatorEvaluator. 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 Evaluator Modifier and Type Method Description ObjectAggregator. aggregate(Evaluator evaluator, TupleList members, Calc calc)Applies this aggregator to an expression over a set of members and returns the result.ObjectExpCacheDescriptor. evaluate(Evaluator evaluator)TupleIterableEvaluator.NamedSetEvaluator. evaluateTupleIterable(Evaluator eval)Returns an iterator over the tuples of the named set.List<Member>DelegatingSchemaReader. getLevelMembers(Level level, Evaluator context)List<Member>SchemaReader. getLevelMembers(Level level, Evaluator context)Returns the members of a level, optionally filtering out members which are empty.List<Member>DelegatingSchemaReader. getMemberChildren(List<Member> members, Evaluator context)List<Member>DelegatingSchemaReader. getMemberChildren(Member member, Evaluator context)List<Member>SchemaReader. getMemberChildren(List<Member> members, Evaluator context)Returns direct children of each element ofmemberswhich is not empty incontext.List<Member>SchemaReader. getMemberChildren(Member member, Evaluator context)Returns direct children ofmember, optimized for NON EMPTY.Map<? extends Member,Access>DelegatingSchemaReader. getMemberChildrenWithDetails(Member member, Evaluator evaluator)Map<? extends Member,Access>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.NativeEvaluatorDelegatingSchemaReader. getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc)NativeEvaluatorSchemaReader. 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 Evaluator Constructor Description ExpCacheDescriptor(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 Evaluator Modifier and Type Method Description static ObjectAggregateFunDef.AggregateCalc. aggregate(Calc calc, Evaluator evaluator, TupleList tupleList)Computes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static ObjectFunUtil. avg(Evaluator evaluator, TupleList members, Calc calc)TupleListNativizeSetFunDef.NativeListCalc. computeTuples(Evaluator evaluator)static intFunUtil. count(Evaluator evaluator, TupleIterable iterable, boolean includeEmpty)ObjectAggregateFunDef.AggregateCalc. evaluate(Evaluator evaluator)OrderKeyMemberOrderKeyFunDef.CalcImpl. evaluate(Evaluator evaluator)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.DimensionHierarchyDimensionFunDef.CalcImpl. evaluateDimension(Evaluator evaluator)HierarchyLevelHierarchyFunDef.CalcImpl. evaluateHierarchy(Evaluator evaluator)HierarchyMemberHierarchyFunDef.CalcImpl. evaluateHierarchy(Evaluator evaluator)TupleIterableSetFunDef.ExprIterCalc. evaluateIterable(Evaluator evaluator)LevelMemberLevelFunDef.CalcImpl. evaluateLevel(Evaluator evaluator)TupleListNativizeSetFunDef.NativeListCalc. evaluateList(Evaluator evaluator)TupleListSetFunDef.SetListCalc. evaluateList(Evaluator evaluator)MemberHierarchyCurrentMemberFunDef.CalcImpl. evaluateMember(Evaluator evaluator)MemberHierarchyCurrentMemberFunDef.FixedCalcImpl. evaluateMember(Evaluator evaluator)Member[]TupleFunDef.CalcImpl. evaluateTuple(Evaluator evaluator)static List<Member>FunUtil. getNonEmptyMemberChildren(Evaluator evaluator, Member member)static Map<Member,Access>FunUtil. getNonEmptyMemberChildrenWithDetails(Evaluator evaluator, Member member)static ObjectFunUtil. max(Evaluator evaluator, TupleList members, Calc exp)static ObjectFunUtil. min(Evaluator evaluator, TupleList members, Calc calc)protected 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 doubleFunUtil. quartile(Evaluator evaluator, TupleList members, Calc exp, int range)Returns the member which lies upon a particular quartile according to a given expression.voidVisualTotalsFunDef.VisualTotalMember. setExpression(Evaluator evaluator, List<Member> childMembers)static ObjectFunUtil. sum(Evaluator evaluator, TupleList members, Calc exp)static doubleFunUtil. sumDouble(Evaluator evaluator, TupleIterable iterable, Calc exp)static doubleFunUtil. sumDouble(Evaluator evaluator, TupleList members, Calc exp) -
Uses of Evaluator in mondrian.olap.fun.sort
Methods in mondrian.olap.fun.sort with parameters of type Evaluator Modifier and Type Method Description static Map<List<Member>,Object>Sorter. evaluateTuples(Evaluator evaluator, Calc exp, TupleList tuples)For each tuple in a list, evaluates an expression and creates a map from tuples to values.static List<Member>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.static List<List<Member>>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.static List<Member>Sorter. sortMembers(Evaluator evaluator, Iterable<Member> memberIter, List<Member> memberList, List<SortKeySpec> keySpecList)Sorts a list of members according to a list of SortKeySpecs.static List<Member>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 Evaluator Modifier and Type Class Description classRolapDependencyTestingEvaluatorEvaluator which checks dependencies of expressions.classRolapEvaluatorRolapEvaluatorevaluates expressions in a dimensional environment.classRolapProfilingEvaluatorEvaluator that collects profiling information as it evaluates expressions.Methods in mondrian.rolap that return Evaluator Modifier and Type Method Description static EvaluatorRolapEvaluator. create(Statement statement)Creates an evaluator.static EvaluatorRolapUtil. createEvaluator(Statement statement)Creates a dummy evaluator.EvaluatorDefaultTupleConstraint. getEvaluator()EvaluatorSqlContextConstraint. getEvaluator()protected EvaluatorSqlTupleReader. getEvaluator(TupleConstraint constraint)Obtains the evaluator used to find an aggregate table to support the Tuple constraint.EvaluatorRolapEvaluator. push(boolean nonEmpty)EvaluatorRolapEvaluator. push(boolean nonEmpty, boolean nativeEnabled)EvaluatorRolapEvaluator. pushAggregation(List<List<Member>> list)Methods in mondrian.rolap with parameters of type Evaluator Modifier and Type Method Description static 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.ObjectRolapAggregator.BaseAggor. aggregate(Evaluator evaluator, TupleList members, Calc exp)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.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)List<Member>RolapSchemaReader. getLevelMembers(Level level, Evaluator context)TupleConstraintSqlConstraintFactory. getLevelMembersConstraint(Evaluator context)TupleConstraintSqlConstraintFactory. 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.List<Member>RolapSchemaReader. getMemberChildren(List<Member> members, Evaluator context)List<Member>RolapSchemaReader. getMemberChildren(Member member, Evaluator context)MemberChildrenConstraintSqlConstraintFactory. getMemberChildrenConstraint(Evaluator context)Map<? extends Member,Access>RolapSchemaReader. getMemberChildrenWithDetails(Member member, Evaluator evaluator)NativeEvaluatorRolapSchemaReader. 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 Evaluator Constructor Description CompoundPredicateInfo(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 Evaluator Modifier and Type Method Description EvaluatorMemberKeyConstraint. getEvaluator()EvaluatorTupleConstraint. getEvaluator() -
Uses of Evaluator in mondrian.spi
Methods in mondrian.spi with parameters of type Evaluator Modifier and Type Method Description ObjectUserDefinedFunction.Argument. evaluate(Evaluator evaluator)Evaluates the argument.IterableUserDefinedFunction.Argument. evaluateIterable(Evaluator eval)Evaluates the argument to an iterable over members or tuples.ListUserDefinedFunction.Argument. evaluateList(Evaluator eval)Evaluates the argument to a list of members or tuples.ObjectUserDefinedFunction.Argument. evaluateScalar(Evaluator evaluator)Evaluates the argument as a scalar expression.ObjectUserDefinedFunction. 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 Evaluator Modifier and Type Method Description ObjectCurrentDateMemberUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectCurrentDateStringUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectInUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectInverseNormalUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] args)ObjectLastNonEmptyUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectMatchesUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectNullValueUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)ObjectValUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
-