Skip to content

Commit

Permalink
MONDRIAN Oops. (Edit after branch.)
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//open/mondrian/": change = 14425]
  • Loading branch information
julianhyde committed Jul 4, 2011
1 parent 3129dba commit 2a02ece
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions src/main/mondrian/rolap/RolapProfilingEvaluator.java
Expand Up @@ -64,13 +64,18 @@ public class RolapProfilingEvaluator extends RolapEvaluator {
*/
private RolapProfilingEvaluator(
RolapEvaluatorRoot root,
RolapProfilingEvaluator evaluator)
RolapProfilingEvaluator evaluator,
List<List<Member>> aggregationList)
{
super(root, evaluator);
super(
root,
evaluator,
aggregationList);
}

public RolapEvaluator _push() {
return new RolapProfilingEvaluator(root, this);
@Override
protected RolapEvaluator _push(List<List<Member>> aggregationList) {
return new RolapProfilingEvaluator(root, this, aggregationList);
}

/**
Expand Down Expand Up @@ -137,6 +142,11 @@ public ResultStyle getResultStyle() {
return calc.getResultStyle();
}

@Override
public boolean dependsOn(Hierarchy hierarchy) {
return calc.dependsOn(hierarchy);
}

public Object evaluate(Evaluator evaluator) {
++callCount;
long start = System.currentTimeMillis();
Expand Down Expand Up @@ -200,6 +210,16 @@ public Type getType() {
return calc.getType();
}

@Override
public Calc[] getCalcs() {
return ((AbstractCalc) calc).getCalcs();
}

@Override
public boolean dependsOn(Hierarchy hierarchy) {
return calc.dependsOn(hierarchy);
}

public Object evaluate(Evaluator evaluator) {
++callCount;
long start = System.currentTimeMillis();
Expand Down

0 comments on commit 2a02ece

Please sign in to comment.