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 Evaluator
ExpCompiler. 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 Object
Calc. evaluate(Evaluator evaluator)
Evaluates this expression.boolean
BooleanCalc. evaluateBoolean(Evaluator evaluator)
Evaluates this expression to yield aboolean
value.Date
DateTimeCalc. evaluateDateTime(Evaluator evaluator)
Evaluates this expression to yield aDate
value.Dimension
DimensionCalc. evaluateDimension(Evaluator evaluator)
Evaluates this expression to yield a dimension.double
DoubleCalc. evaluateDouble(Evaluator evaluator)
Evaluates this expression to yield adouble
value.Hierarchy
HierarchyCalc. evaluateHierarchy(Evaluator evaluator)
Evaluates this expression to yield a hierarchy.int
IntegerCalc. evaluateInteger(Evaluator evaluator)
Evaluates this expression to yield anint
value.TupleIterable
IterCalc. evaluateIterable(Evaluator evaluator)
Evaluates an expression to yield an Iterable of members or tuples.Level
LevelCalc. evaluateLevel(Evaluator evaluator)
Evaluates this expression to yield a level.TupleList
ListCalc. evaluateList(Evaluator evaluator)
Evaluates an expression to yield a list of tuples.Member
MemberCalc. evaluateMember(Evaluator evaluator)
Evaluates this expression to yield a member.String
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
Methods in mondrian.calc.impl that return Evaluator Modifier and Type Method Description Evaluator
AbstractExpCompiler. getEvaluator()
Evaluator
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.Methods in mondrian.calc.impl with parameters of type Evaluator Modifier and Type Method Description Object
AbstractBooleanCalc. evaluate(Evaluator evaluator)
Object
AbstractDateTimeCalc. evaluate(Evaluator evaluator)
Object
AbstractDimensionCalc. evaluate(Evaluator evaluator)
Object
AbstractDoubleCalc. evaluate(Evaluator evaluator)
Object
AbstractHierarchyCalc. evaluate(Evaluator evaluator)
Object
AbstractIntegerCalc. evaluate(Evaluator evaluator)
Object
AbstractIterCalc. evaluate(Evaluator evaluator)
Object
AbstractLevelCalc. evaluate(Evaluator evaluator)
Object
AbstractListCalc. evaluate(Evaluator evaluator)
Object
AbstractMemberCalc. evaluate(Evaluator evaluator)
Object
AbstractStringCalc. evaluate(Evaluator evaluator)
Object
AbstractTupleCalc. evaluate(Evaluator evaluator)
Object
AbstractVoidCalc. evaluate(Evaluator evaluator)
Object
CacheCalc. evaluate(Evaluator evaluator)
Object
ConstantCalc. evaluate(Evaluator evaluator)
Object
MemberArrayValueCalc. evaluate(Evaluator evaluator)
Object
MemberValueCalc. evaluate(Evaluator evaluator)
Object
TupleValueCalc. evaluate(Evaluator evaluator)
Object
ValueCalc. evaluate(Evaluator evaluator)
boolean
GenericCalc. evaluateBoolean(Evaluator evaluator)
Date
GenericCalc. evaluateDateTime(Evaluator evaluator)
Dimension
GenericCalc. evaluateDimension(Evaluator evaluator)
double
ConstantCalc. evaluateDouble(Evaluator evaluator)
double
GenericCalc. evaluateDouble(Evaluator evaluator)
Hierarchy
GenericCalc. evaluateHierarchy(Evaluator evaluator)
int
ConstantCalc. evaluateInteger(Evaluator evaluator)
int
GenericCalc. evaluateInteger(Evaluator evaluator)
TupleIterable
AbstractListCalc. evaluateIterable(Evaluator evaluator)
TupleIterable
GenericIterCalc. evaluateIterable(Evaluator evaluator)
Level
GenericCalc. evaluateLevel(Evaluator evaluator)
TupleList
GenericIterCalc. evaluateList(Evaluator evaluator)
TupleList
IterableListCalc. evaluateList(Evaluator evaluator)
Member
GenericCalc. evaluateMember(Evaluator evaluator)
String
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.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.NamedSetEvaluator
NamedSetExpr. getEval(Evaluator evaluator)
-
Uses of Evaluator in mondrian.olap
Methods in mondrian.olap that return Evaluator Modifier and Type Method Description Evaluator
Evaluator. getParent()
Deprecated.Will be removed in mondrian-4Evaluator
Evaluator. push()
Creates a new Evaluator with the same context as this evaluator.Evaluator
Evaluator. push(boolean nonEmpty)
Deprecated.Usesavepoint()
followed bysetNonEmpty(boolean)
; will be removed in mondrian-4Evaluator
Evaluator. push(boolean nonEmpty, boolean nativeEnabled)
Deprecated.Usesavepoint()
followed bysetNonEmpty(boolean)
andsetNativeEnabled(boolean)
; will be removed in mondrian-4.Evaluator
Evaluator. push(Member member)
Deprecated.Usesavepoint()
followed bysetContext(Member)
; will be removed in mondrian-4Evaluator
Evaluator. push(Member[] members)
Deprecated.Usesavepoint()
followed bysetContext(Member[])
; will be removed in mondrian-4Evaluator
Evaluator. 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 Object
Aggregator. aggregate(Evaluator evaluator, TupleList members, Calc calc)
Applies this aggregator to an expression over a set of members and returns the result.Object
ExpCacheDescriptor. evaluate(Evaluator evaluator)
TupleIterable
Evaluator.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 ofmembers
which 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.NativeEvaluator
DelegatingSchemaReader. getNativeSetEvaluator(FunDef fun, Exp[] args, Evaluator evaluator, Calc calc)
NativeEvaluator
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 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 Object
AggregateFunDef.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 Object
FunUtil. avg(Evaluator evaluator, TupleList members, Calc calc)
TupleList
NativizeSetFunDef.NativeListCalc. computeTuples(Evaluator evaluator)
static int
FunUtil. count(Evaluator evaluator, TupleIterable iterable, boolean includeEmpty)
Object
AggregateFunDef.AggregateCalc. evaluate(Evaluator evaluator)
OrderKey
MemberOrderKeyFunDef.CalcImpl. evaluate(Evaluator evaluator)
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.Dimension
HierarchyDimensionFunDef.CalcImpl. evaluateDimension(Evaluator evaluator)
Hierarchy
LevelHierarchyFunDef.CalcImpl. evaluateHierarchy(Evaluator evaluator)
Hierarchy
MemberHierarchyFunDef.CalcImpl. evaluateHierarchy(Evaluator evaluator)
TupleIterable
SetFunDef.ExprIterCalc. evaluateIterable(Evaluator evaluator)
Level
MemberLevelFunDef.CalcImpl. evaluateLevel(Evaluator evaluator)
TupleList
NativizeSetFunDef.NativeListCalc. evaluateList(Evaluator evaluator)
TupleList
SetFunDef.SetListCalc. evaluateList(Evaluator evaluator)
Member
HierarchyCurrentMemberFunDef.CalcImpl. evaluateMember(Evaluator evaluator)
Member
HierarchyCurrentMemberFunDef.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 Object
FunUtil. max(Evaluator evaluator, TupleList members, Calc exp)
static Object
FunUtil. min(Evaluator evaluator, TupleList members, Calc calc)
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
FunUtil. quartile(Evaluator evaluator, TupleList members, Calc exp, int range)
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
FunUtil. sum(Evaluator evaluator, TupleList members, Calc exp)
static double
FunUtil. sumDouble(Evaluator evaluator, TupleIterable iterable, Calc exp)
static double
FunUtil. 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 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
Classes in mondrian.rolap that implement Evaluator Modifier and Type Class Description class
RolapDependencyTestingEvaluator
Evaluator which checks dependencies of expressions.class
RolapEvaluator
RolapEvaluator
evaluates expressions in a dimensional environment.class
RolapProfilingEvaluator
Evaluator that collects profiling information as it evaluates expressions.Methods in mondrian.rolap that return Evaluator Modifier and Type Method Description static Evaluator
RolapEvaluator. create(Statement statement)
Creates an evaluator.static Evaluator
RolapUtil. createEvaluator(Statement statement)
Creates a dummy evaluator.Evaluator
DefaultTupleConstraint. getEvaluator()
Evaluator
SqlContextConstraint. getEvaluator()
protected Evaluator
SqlTupleReader. getEvaluator(TupleConstraint constraint)
Obtains the evaluator used to find an aggregate table to support the Tuple constraint.Evaluator
RolapEvaluator. push(boolean nonEmpty)
Evaluator
RolapEvaluator. push(boolean nonEmpty, boolean nativeEnabled)
Evaluator
RolapEvaluator. pushAggregation(List<List<Member>> list)
Methods in mondrian.rolap with parameters of type Evaluator Modifier and Type Method Description static 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.Object
RolapAggregator.BaseAggor. aggregate(Evaluator evaluator, TupleList members, Calc exp)
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)
List<Member>
RolapSchemaReader. getLevelMembers(Level level, Evaluator context)
TupleConstraint
SqlConstraintFactory. getLevelMembersConstraint(Evaluator context)
TupleConstraint
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.List<Member>
RolapSchemaReader. getMemberChildren(List<Member> members, Evaluator context)
List<Member>
RolapSchemaReader. getMemberChildren(Member member, Evaluator context)
MemberChildrenConstraint
SqlConstraintFactory. getMemberChildrenConstraint(Evaluator context)
Map<? extends Member,Access>
RolapSchemaReader. getMemberChildrenWithDetails(Member member, Evaluator evaluator)
NativeEvaluator
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 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 Evaluator
MemberKeyConstraint. getEvaluator()
Evaluator
TupleConstraint. getEvaluator()
-
Uses of Evaluator in mondrian.spi
Methods in mondrian.spi with parameters of type Evaluator Modifier and Type Method Description Object
UserDefinedFunction.Argument. evaluate(Evaluator evaluator)
Evaluates the argument.Iterable
UserDefinedFunction.Argument. evaluateIterable(Evaluator eval)
Evaluates the argument to an iterable over members or tuples.List
UserDefinedFunction.Argument. evaluateList(Evaluator eval)
Evaluates the argument to a list of members or tuples.Object
UserDefinedFunction.Argument. evaluateScalar(Evaluator evaluator)
Evaluates the argument as a scalar expression.Object
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 Evaluator Modifier and Type Method Description Object
CurrentDateMemberUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
CurrentDateStringUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
InUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
InverseNormalUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] args)
Object
LastNonEmptyUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
MatchesUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
NullValueUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
Object
ValUdf. execute(Evaluator evaluator, UserDefinedFunction.Argument[] arguments)
-