Skip to content

Commit

Permalink
MONDRIAN: make classes public that will be needed by JPivot to parse …
Browse files Browse the repository at this point in the history
…the query axes to create bookmarks

[git-p4: depot-paths = "//open/mondrian/": change = 4423]
  • Loading branch information
Andreas Voss committed Nov 18, 2005
1 parent 715f471 commit 3fdf59a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/mondrian/olap/fun/FunTableImpl.java
Expand Up @@ -288,10 +288,10 @@ protected void organizeFunctions() {
* Wrapper which evaluates an expression to a tuple, sets the current
* context from that tuple, and converts it to a scalar expression.
*/
private static class TupleScalarExp extends ExpBase {
public static class TupleScalarExp extends ExpBase {
private final Exp exp;

TupleScalarExp(Exp exp) {
public TupleScalarExp(Exp exp) {
this.exp = exp;
assert exp.getTypeX() instanceof TupleType;
}
Expand Down Expand Up @@ -340,7 +340,7 @@ public Object evaluate(Evaluator evaluator) {
* Wrapper which evaluates an expression to a dimensional context and
* converts it to a scalar expression.
*/
private static class MemberScalarExp extends ExpBase {
public static class MemberScalarExp extends ExpBase {
private final Exp exp;

public MemberScalarExp(Exp exp) {
Expand Down Expand Up @@ -405,9 +405,9 @@ public Object evaluate(Evaluator evaluator) {
/**
* An expression which yields the current value of the current member.
*/
private static class ScalarExp extends ExpBase {
public static class ScalarExp extends ExpBase {

ScalarExp() {
public ScalarExp() {
}

public void unparse(PrintWriter pw) {
Expand Down Expand Up @@ -452,10 +452,10 @@ public Object evaluate(Evaluator evaluator) {
*
* @see TupleScalarExp
*/
private static class MemberListScalarExp extends ExpBase {
public static class MemberListScalarExp extends ExpBase {
private final Exp[] exps;

MemberListScalarExp(Exp[] exps) {
public MemberListScalarExp(Exp[] exps) {
this.exps = exps;
for (int i = 0; i < exps.length; i++) {
assert exps[i].getTypeX() instanceof MemberType;
Expand Down

0 comments on commit 3fdf59a

Please sign in to comment.