Uses of Interface
mondrian.olap.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
Modifier and TypeMethodDescriptionExpCompiler.getEvaluator()
Returns the evaluator to be used for evaluating expressions during the compilation process.Modifier and TypeMethodDescriptionEvaluates this expression.boolean
BooleanCalc.evaluateBoolean
(Evaluator evaluator) Evaluates this expression to yield aboolean
value.DateTimeCalc.evaluateDateTime
(Evaluator evaluator) Evaluates this expression to yield aDate
value.DimensionCalc.evaluateDimension
(Evaluator evaluator) Evaluates this expression to yield a dimension.double
DoubleCalc.evaluateDouble
(Evaluator evaluator) Evaluates this expression to yield adouble
value.HierarchyCalc.evaluateHierarchy
(Evaluator evaluator) Evaluates this expression to yield a hierarchy.int
IntegerCalc.evaluateInteger
(Evaluator evaluator) Evaluates this expression to yield anint
value.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 aString
value.Member[]
TupleCalc.evaluateTuple
(Evaluator evaluator) Evaluates this expression to yield a tuple.void
VoidCalc.evaluateVoid
(Evaluator evaluator) static ExpCompiler
ExpCompiler.Factory.getExpCompiler
(Evaluator evaluator, Validator validator) Create aExpCompiler
instance, each call returns a new compiler.static ExpCompiler
ExpCompiler.Factory.getExpCompiler
(Evaluator evaluator, Validator validator, List<ResultStyle> resultStyles) void
TupleCursor.setContext
(Evaluator evaluator) -
Uses of Evaluator in mondrian.calc.impl
Modifier and TypeMethodDescriptionAbstractExpCompiler.getEvaluator()
DelegatingExpCompiler.getEvaluator()
static Evaluator
AbstractCalc.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.Modifier and TypeMethodDescriptionfinal Object
final Object
boolean
GenericCalc.evaluateBoolean
(Evaluator evaluator) GenericCalc.evaluateDateTime
(Evaluator evaluator) GenericCalc.evaluateDimension
(Evaluator evaluator) double
ConstantCalc.evaluateDouble
(Evaluator evaluator) double
GenericCalc.evaluateDouble
(Evaluator evaluator) GenericCalc.evaluateHierarchy
(Evaluator evaluator) int
ConstantCalc.evaluateInteger
(Evaluator evaluator) int
GenericCalc.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) void
GenericCalc.evaluateVoid
(Evaluator evaluator) void
AbstractTupleCursor.setContext
(Evaluator evaluator) void
AbstractTupleList.AbstractTupleListIterator.setContext
(Evaluator evaluator) static Evaluator
AbstractCalc.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.ModifierConstructorDescriptionAbstractExpCompiler
(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
Modifier and TypeMethodDescription -
Uses of Evaluator in mondrian.olap
Modifier 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.Modifier 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 ofmembers
which 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.ModifierConstructorDescriptionExpCacheDescriptor
(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
Modifier and TypeMethodDescriptionstatic Object
Computes an expression for each element of a list, and aggregates the result according to the evaluation context's current aggregation strategy.static Object
NativizeSetFunDef.NativeListCalc.computeTuples
(Evaluator evaluator) static int
FunUtil.count
(Evaluator evaluator, TupleIterable iterable, boolean includeEmpty) protected TupleIterable
AbstractAggregateFunDef.evaluateCurrentIterable
(IterCalc iterCalc, Evaluator evaluator) protected static TupleList
AbstractAggregateFunDef.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 Object
static Object
protected TupleList
CrossJoinFunDef.nonEmptyList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) This is the entry point to the crossjoin non-empty optimizer code.protected TupleList
CrossJoinFunDef.nonEmptyOptimizeList
(Evaluator evaluator, TupleList list, ResolvedFunCall call) static TupleList
AggregateFunDef.AggregateCalc.optimizeTupleList
(Evaluator evaluator, TupleList tupleList, boolean checkSize) protected static mondrian.olap.fun.LinReg.Value
LinReg.process
(Evaluator evaluator, ListCalc listCalc, DoubleCalc yCalc, DoubleCalc xCalc) static TupleList
AbstractAggregateFunDef.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 double
Returns the member which lies upon a particular quartile according to a given expression.void
VisualTotalsFunDef.VisualTotalMember.setExpression
(Evaluator evaluator, List<Member> childMembers) static Object
static double
FunUtil.sumDouble
(Evaluator evaluator, TupleIterable iterable, Calc exp) static double
-
Uses of Evaluator in mondrian.olap.fun.sort
Modifier 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 TupleList
Sorter.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 TupleList
Sorter.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
Modifier and TypeClassDescriptionclass
Evaluator which checks dependencies of expressions.class
RolapEvaluator
evaluates expressions in a dimensional environment.class
Evaluator that collects profiling information as it evaluates expressions.Modifier and TypeMethodDescriptionstatic Evaluator
Creates an evaluator.static Evaluator
RolapUtil.createEvaluator
(Statement statement) Creates a dummy evaluator.DefaultTupleConstraint.getEvaluator()
SqlContextConstraint.getEvaluator()
protected Evaluator
SqlTupleReader.getEvaluator
(TupleConstraint constraint) Obtains the evaluator used to find an aggregate table to support the Tuple constraint.final Evaluator
RolapEvaluator.push
(boolean nonEmpty) final Evaluator
RolapEvaluator.push
(boolean nonEmpty, boolean nativeEnabled) final Evaluator
RolapEvaluator.pushAggregation
(List<List<Member>> list) Modifier and TypeMethodDescriptionstatic void
SqlConstraintUtils.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 void
RolapUtil.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.int
RolapSchemaReader.countMemberChildren
(Member member, Evaluator context) static void
SqlConstraintUtils.expandExpressions
(Member member, Exp expression, Evaluator evaluator, TupleConstraintStruct expandedSet) protected static Member[]
SqlConstraintUtils.expandMultiPositionSlicerMembers
(Member[] members, Evaluator evaluator) static void
SqlConstraintUtils.expandSetFromCalculatedMember
(Evaluator evaluator, Member member, TupleConstraintStruct expandedSet) static void
SqlConstraintUtils.expandSupportedCalculatedMember
(Member member, Evaluator evaluator, boolean disjointSlicerTuples, TupleConstraintStruct expandedSet) static void
SqlConstraintUtils.expandSupportedCalculatedMember
(Member member, Evaluator evaluator, TupleConstraintStruct expandedSet) static TupleConstraintStruct
SqlConstraintUtils.expandSupportedCalculatedMembers
(List<Member> members, Evaluator evaluator) static TupleConstraintStruct
SqlConstraintUtils.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 boolean
SqlConstraintUtils.hasMultipleLevelSlicer
(Evaluator evaluator) static boolean
SqlContextConstraint.isValidContext
(Evaluator context, boolean strict) static boolean
SqlContextConstraint.isValidContext
(Evaluator context, boolean disallowVirtualCube, Level[] levels, boolean strict) static void
SqlConstraintUtils.joinLevelTableToFactTable
(SqlQuery sqlQuery, RolapCube baseCube, AggStar aggStar, Evaluator e, RolapCubeLevel level) Ensures that the table oflevel
is joined to the fact tableModifierConstructorDescriptionCompoundPredicateInfo
(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
Modifier and TypeMethodDescriptionMemberKeyConstraint.getEvaluator()
TupleConstraint.getEvaluator()
-
Uses of Evaluator in mondrian.spi
Modifier 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
Modifier 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)