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
-
-
Methods inherited from class mondrian.rolap.RolapEvaluator |
addCalcMember, clearExpResultCache, create, equals, evaluateCurrent, evaluateNamedSet, format, format, getAggregationLists, getCachedResult, getConnectionLocale, getContext, getCube, getDepth, getDialect, getExpanding, getFormatString, getIterationLength, getLogger, getMeasureCube, getMembers, getMissCount, getParameterValue, getParent, getProperty, getQuery, getQueryStartTime, getSchemaReader, getSlicerMembers, hashCode, isEvalAxes, isNonEmpty, needToReturnNullForUnrelatedDimension, newEvalException, pop, push, push, push, pushAggregation, setCellReader, setContext, setContext, setContext, setEvalAxes, setIterationLength, setNonEmpty, setSlicerContext, shouldIgnoreUnrelatedDimensions |
RolapDependencyTestingEvaluator
RolapDependencyTestingEvaluator(RolapResult result,
int expDeps)
- Creates an dependency-testing evaluator.
- Parameters:
result
- Result we are buildingexpDeps
- Number of dependencies to check
evaluate
public Object evaluate(Calc calc,
Dimension[] independentDimensions,
String mdxString)
_push
public RolapEvaluator _push()
- Description copied from class:
RolapEvaluator
- Creates a clone of the current validator.
- Overrides:
_push
in class RolapEvaluator