Package mondrian.rolap
Class RolapDependencyTestingEvaluator
- java.lang.Object
-
- mondrian.rolap.RolapEvaluator
-
- mondrian.rolap.RolapDependencyTestingEvaluator
-
- All Implemented Interfaces:
Evaluator
public class RolapDependencyTestingEvaluator extends RolapEvaluator
Evaluator which checks dependencies of expressions.For each expression evaluation, this valuator evaluates each expression more times, and makes sure that the results of the expression are independent of dimensions which the expression claims to be independent of.
Since it evaluates each expression twice, it also exposes function implementations which change the context of the evaluator.
- Since:
- September, 2005
- Author:
- jhyde
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface mondrian.olap.Evaluator
Evaluator.NamedSetEvaluator, Evaluator.SetEvaluator
-
-
Field Summary
-
Fields inherited from class mondrian.rolap.RolapEvaluator
aggregationLists, cellReader, root, slicerPredicateInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RolapEvaluator
_push(List<List<Member>> aggregationList)
Creates a clone of the current validator.Object
evaluate(Calc calc, Hierarchy[] independentHierarchies, String mdxString)
-
Methods inherited from class mondrian.rolap.RolapEvaluator
clearExpResultCache, create, currentIsEmpty, equals, evaluateCurrent, format, format, getActiveNativeExpansions, getAggregationLists, getCachedResult, getConnectionLocale, getContext, getContext, getCube, getDepth, getDialect, getFormatString, getIterationLength, getLogger, getMeasureCube, getMembers, getMissCount, getNamedSetEvaluator, getNonAllMembers, getOptimizedSlicerTuples, getParameterValue, getParent, getPreviousContext, getProperty, getQuery, getQueryStartTime, getSchemaReader, getSetEvaluator, getSlicerMembers, getSlicerMembersByHierarchy, getSlicerPredicateInfo, getSlicerTuples, getTiming, hashCode, isDisjointSlicerTuple, isEvalAxes, isMultiLevelSlicerTuple, isNonEmpty, mightReturnNullForUnrelatedDimension, nativeEnabled, needToReturnNullForUnrelatedDimension, newEvalException, push, push, push, push, push, pushAggregation, restore, savepoint, setContext, setContext, setContext, setContext, setContext, setContext, setEvalAxes, setIterationLength, setNativeEnabled, setNonEmpty, setSlicerContext, setSlicerTuples, shouldIgnoreUnrelatedDimensions
-
-
-
-
Method Detail
-
_push
public RolapEvaluator _push(List<List<Member>> aggregationList)
Description copied from class:RolapEvaluator
Creates a clone of the current validator.- Overrides:
_push
in classRolapEvaluator
- Parameters:
aggregationList
- List of tuples to add to aggregation context, or null
-
-