Examples of addStmtProcedure()


Examples of org.voltdb.compiler.VoltProjectBuilder.addStmtProcedure()

        MultiConfigSuiteBuilder builder = new MultiConfigSuiteBuilder(TestPlanOptimizerSuite.class);
        VoltProjectBuilder project = new BasePlanOptimizerTestCase.PlanOptimizerTestProjectBuilder(PREFIX);
        VoltServerConfig config = null;
        // Single Statement Procedures
        project.addStmtProcedure("SimpleAggregate",
                                 "SELECT C_B_A_ID, AVG(C_VALUE0) " +
                                 "FROM TABLEC GROUP BY C_B_A_ID");
        project.addStmtProcedure("MultiAggregate",
                                 "SELECT C_B_A_ID, SUM(C_VALUE0), SUM(C_VALUE1), " +
                                 "       AVG(C_VALUE0), AVG(C_VALUE1) " +
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.