Examples of addDefaultSchema()


Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

    protected String compileWithGroups(
            boolean securityEnabled, String securityProvider,
            GroupInfo[] gi, UserInfo[] ui,
            String name, Class<?>... procList) {
        TPCCProjectBuilder builder = new TPCCProjectBuilder();
        builder.addDefaultSchema();
        builder.addDefaultPartitioning();
        builder.addProcedures(procList);
        builder.setSecurityEnabled(securityEnabled);

        if (gi != null && gi.length > 0)
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

        // compile a catalog
        String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
        String catalogJar = testDir + File.separator + JAR;

        TPCCProjectBuilder pb = new TPCCProjectBuilder();
        pb.addDefaultSchema();
        pb.addDefaultPartitioning();
        pb.addProcedures(MultiSiteSelect.class, InsertNewOrder.class);

        pb.compile(catalogJar, 2, 0);
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

        BackendTarget target = BackendTarget.NATIVE_EE_JNI;
        String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
        String catalogJar = testDir + File.separator + JAR;

        TPCCProjectBuilder pb = new TPCCProjectBuilder();
        pb.addDefaultSchema();
        pb.addDefaultPartitioning();
        pb.addProcedures(procedures);
        pb.addSupplementalClasses(SUPPLEMENTALS);
        pb.compile(catalogJar, siteCount, 0);
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

     * deployment file compilation fails.
     * @throws IOException
     */
    public void testCompileDeploymentAddUserToNonExistentGroup() throws IOException {
        TPCCProjectBuilder project = new TPCCProjectBuilder();
        project.addDefaultSchema();
        project.addDefaultPartitioning();
        project.addDefaultProcedures();

        project.setSecurityEnabled(true);
        GroupInfo groups[] = new GroupInfo[] {
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

            doCompile = args[1].equals("true");
        }

        if (doCompile) {
            TPCCProjectBuilder project = new TPCCProjectBuilder();
            project.addDefaultSchema();
            project.addDefaultProcedures();
            project.addDefaultPartitioning();
            project.setCompilerDebugPrintStream(System.out);
            if(!project.compile(config.m_pathToCatalog, partitions, 0)) {
                System.out.println("Compilation failed");
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

    }

    public void testCatalogAutoUpgradeFail() throws Exception
    {
        TPCCProjectBuilder project = new TPCCProjectBuilder();
        project.addDefaultSchema();
        project.addDefaultPartitioning();
        project.addDefaultProcedures();

        String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
        String jarName = "compile-deployment.jar";
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

    }

    public void testAutoUpgradeWithGroovyProc() throws Exception
    {
        TPCCProjectBuilder project = new TPCCProjectBuilder();
        project.addDefaultSchema();
        project.addDefaultPartitioning();
        project.addDefaultProcedures();

        String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
        String jarName = "compile-deployment.jar";
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

    public static void main(String[] args) throws Exception {
        int siteCount = 1;

        TPCCProjectBuilder pb = new TPCCProjectBuilder();
        pb.addDefaultSchema();
        pb.addDefaultPartitioning();
        pb.addProcedures(EmptyProcedure.class, MultivariateEmptyProcedure.class);

        pb.compile("procedureCallMicrobench.jar", siteCount, 0);
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

    private static String UPGRADE_ERROR_MESSAGE_SUBSTRING = "Catalog upgrade failed";

    public void testCatalogAutoUpgrade() throws Exception
    {
        TPCCProjectBuilder project = new TPCCProjectBuilder();
        project.addDefaultSchema();
        project.addDefaultPartitioning();
        project.addDefaultProcedures();

        String testDir = BuildDirectoryUtils.getBuildDirectoryPath();
        String jarName = "compile-deployment.jar";
View Full Code Here

Examples of org.voltdb.benchmark.tpcc.TPCCProjectBuilder.addDefaultSchema()

        // the suite made here will all be using the tests from this class
        MultiConfigSuiteBuilder builder = new MultiConfigSuiteBuilder(TestMaliciousClientSuite.class);

        // build up a project builder for the workload
        TPCCProjectBuilder project = new TPCCProjectBuilder();
        project.addDefaultSchema();
        project.addDefaultPartitioning();
        project.addProcedures(PROCEDURES);

        boolean success;
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.