Package mondrian.olap.fun.VisualTotalsFunDef

Examples of mondrian.olap.fun.VisualTotalsFunDef.VisualTotalMember


        for (int i = 0; i < position.size(); i++) {
            if (!(position.get(i) instanceof VisualTotalMember)) {
                continue;
            }
            evaluator.setContext(measure);
            VisualTotalMember member = (VisualTotalMember)position.get(i);
            exprMembers = new ArrayList<Member>();
            processMemberExpr(member);
            ((VisualTotalMember)member).setExpression(evaluator, exprMembers);
        }
        return position;
View Full Code Here


    private void processMemberExpr(Object o) {
        if (o instanceof Member && o instanceof RolapCubeMember) {
            exprMembers.add((Member) o);
            return;
        } else if (o instanceof VisualTotalMember) {
            VisualTotalMember member = (VisualTotalMember) o;
            Exp exp = member.getExpression();
            processMemberExpr(exp);
        } else if (o instanceof Exp && !(o instanceof MemberExpr)) {
            Exp exp = (Exp)o;
            ResolvedFunCall funCall = (ResolvedFunCall)exp;
            Exp[] exps = funCall.getArgs();
View Full Code Here

    private static void processMemberExpr(Object o, List<Member> exprMembers) {
        if (o instanceof Member && o instanceof RolapCubeMember) {
            exprMembers.add((Member) o);
        } else if (o instanceof VisualTotalMember) {
            VisualTotalMember member = (VisualTotalMember) o;
            Exp exp = member.getExpression();
            processMemberExpr(exp, exprMembers);
        } else if (o instanceof Exp && !(o instanceof MemberExpr)) {
            Exp exp = (Exp)o;
            ResolvedFunCall funCall = (ResolvedFunCall)exp;
            Exp[] exps = funCall.getArgs();
View Full Code Here

TOP

Related Classes of mondrian.olap.fun.VisualTotalsFunDef.VisualTotalMember

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.