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.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 |
Modifier and Type | Method and Description |
---|---|
Evaluator |
ExpCompiler.getEvaluator()
Returns the evaluator to be used for evaluating expressions during the
compilation process.
|
Modifier and Type | Method and Description |
---|---|
Object |
Calc.evaluate(Evaluator evaluator)
Evaluates this expression.
|
boolean |
BooleanCalc.evaluateBoolean(Evaluator evaluator)
Evaluates this expression to yield a
boolean value. |
Date |
DateTimeCalc.evaluateDateTime(Evaluator evaluator)
Evaluates this expression to yield a
Date value. |
Dimension |
DimensionCalc.evaluateDimension(Evaluator evaluator)
Evaluates this expression to yield a dimension.
|
double |
DoubleCalc.evaluateDouble(Evaluator evaluator)
Evaluates this expression to yield a
double value. |
Hierarchy |
HierarchyCalc.evaluateHierarchy(Evaluator evaluator)
Evaluates this expression to yield a hierarchy.
|
int |
IntegerCalc.evaluateInteger(Evaluator evaluator)
Evaluates this expression to yield an
int 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 a
String 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 a
ExpCompiler instance, each call returns a
new compiler. |
static ExpCompiler |
ExpCompiler.Factory.getExpCompiler(Evaluator evaluator,
Validator validator,
List<ResultStyle> resultStyles) |
void |
TupleCursor.setContext(Evaluator evaluator) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractDateTimeCalc.evaluate(Evaluator evaluator) |
Object |
AbstractDimensionCalc.evaluate(Evaluator evaluator) |
Object |
AbstractListCalc.evaluate(Evaluator evaluator) |
Object |
AbstractVoidCalc.evaluate(Evaluator evaluator) |
Object |
AbstractStringCalc.evaluate(Evaluator evaluator) |
Object |
ConstantCalc.evaluate(Evaluator evaluator) |
Object |
ValueCalc.evaluate(Evaluator evaluator) |
Object |
AbstractIntegerCalc.evaluate(Evaluator evaluator) |
Object |
AbstractLevelCalc.evaluate(Evaluator evaluator) |
Object |
AbstractDoubleCalc.evaluate(Evaluator evaluator) |
Object |
MemberArrayValueCalc.evaluate(Evaluator evaluator) |
Object |
AbstractIterCalc.evaluate(Evaluator evaluator) |
Object |
CacheCalc.evaluate(Evaluator evaluator) |
Object |
AbstractBooleanCalc.evaluate(Evaluator evaluator) |
Object |
AbstractTupleCalc.evaluate(Evaluator evaluator) |
Object |
MemberValueCalc.evaluate(Evaluator evaluator) |
Object |
TupleValueCalc.evaluate(Evaluator evaluator) |
Object |
AbstractHierarchyCalc.evaluate(Evaluator evaluator) |
Object |
AbstractMemberCalc.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.
|
Constructor and Description |
---|
AbstractExpCompiler(Evaluator evaluator,
Validator validator)
Creates an AbstractExpCompiler
|
AbstractExpCompiler(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) |
Modifier and Type | Method and Description |
---|---|
Evaluator.NamedSetEvaluator |
NamedSetExpr.getEval(Evaluator evaluator) |
Modifier and Type | Method and Description |
---|---|
Evaluator |
Evaluator.getParent()
Deprecated.
Will be removed in mondrian-4
|
Evaluator |
Evaluator.push()
Creates a new Evaluator with the same context as this evaluator.
|
Evaluator |
Evaluator.push(boolean nonEmpty)
Deprecated.
Use
savepoint() followed by
setNonEmpty(boolean) ; will be removed in mondrian-4 |
Evaluator |
Evaluator.push(boolean nonEmpty,
boolean nativeEnabled)
Deprecated.
Use
savepoint() followed by
setNonEmpty(boolean) and
setNativeEnabled(boolean) ; will be removed in mondrian-4. |
Evaluator |
Evaluator.push(Member member)
Deprecated.
Use
savepoint() followed by
setContext(Member) ; will be removed in mondrian-4 |
Evaluator |
Evaluator.push(Member[] members)
Deprecated.
Use
savepoint() followed by
setContext(Member[]) ; will be removed in mondrian-4 |
Evaluator |
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.
|
Modifier and Type | Method and 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> |
SchemaReader.getMemberChildren(List<Member> members,
Evaluator context)
Returns direct children of each element of
members
which is not empty in context . |
List<Member> |
DelegatingSchemaReader.getMemberChildren(Member member,
Evaluator context) |
List<Member> |
SchemaReader.getMemberChildren(Member member,
Evaluator context)
Returns direct children of
member , 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 to
SchemaReader.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.
|
Constructor and Description |
---|
ExpCacheDescriptor(Exp exp,
Calc calc,
Evaluator evaluator)
Creates a descriptor with a given compiled expression.
|
ExpCacheDescriptor(Exp exp,
Evaluator evaluator)
Creates a descriptor.
|
Modifier and Type | Method and 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) |
FunUtil.OrderKey |
MemberOrderKeyFunDef.CalcImpl.evaluate(Evaluator evaluator) |
Object |
AggregateFunDef.AggregateCalc.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 |
SetFunDef.SetListCalc.evaluateList(Evaluator evaluator) |
TupleList |
NativizeSetFunDef.NativeListCalc.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) |
static List<Member> |
FunUtil.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>> |
FunUtil.partiallySortTuples(Evaluator evaluator,
TupleList list,
Calc exp,
int limit,
boolean desc)
Partially sorts a list of Tuples by the value of an applied expression.
|
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 TupleList |
FunUtil.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.
|
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) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
static Evaluator |
RolapEvaluator.create(Statement statement)
Creates an evaluator.
|
static Evaluator |
RolapUtil.createEvaluator(Statement statement)
Creates a dummy evaluator.
|
Evaluator |
SqlContextConstraint.getEvaluator() |
Evaluator |
DefaultTupleConstraint.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) |
Modifier and Type | Method and 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.
|
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 of
level is joined to the fact
table |
Constructor and Description |
---|
CompoundPredicateInfo(List<List<Member>> tupleList,
RolapMeasure measure,
Evaluator evaluator) |
RolapNativeSql(SqlQuery sqlQuery,
AggStar aggStar,
Evaluator evaluator,
RolapLevel rolapLevel)
Creates a RolapNativeSql.
|
Modifier and Type | Method and Description |
---|---|
Evaluator |
TupleConstraint.getEvaluator() |
Evaluator |
MemberKeyConstraint.getEvaluator() |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
Object |
NullValueUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
ValUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
MatchesUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
InverseNormalUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] args) |
Object |
LastNonEmptyUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
CurrentDateStringUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
CurrentDateMemberUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Object |
InUdf.execute(Evaluator evaluator,
UserDefinedFunction.Argument[] arguments) |
Copyright © 2020 Hitachi Vantara. All rights reserved.