Package com.foundationdb.sql.optimizer.rule.ConstantFolder

Examples of com.foundationdb.sql.optimizer.rule.ConstantFolder.Folder


        internalGetConditions().add(condition);
    }

    private void setPreptimeValue (ExpressionNode expression) {
        TypeResolver.ResolvingVisitor visitor =
                new TypeResolver.ResolvingVisitor(context, new Folder(context));
        visitor.visit(expression);
    }
View Full Code Here


        return logger;
    }

    @Override
    public void apply(PlanContext plan) {
        Folder folder = new Folder(plan);
        ResolvingVisitor resolvingVisitor = new ResolvingVisitor(plan, folder);
        folder.initResolvingVisitor(resolvingVisitor);
        plan.putWhiteboard(RESOLVER_MARKER, resolvingVisitor);
        resolvingVisitor.resolve(plan.getPlan());
        new TopLevelCaster(folder, resolvingVisitor.parametersSync).apply(plan.getPlan());
        plan.getPlan().accept(ParameterCastInliner.instance);
    }
View Full Code Here

TOP

Related Classes of com.foundationdb.sql.optimizer.rule.ConstantFolder.Folder

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.