Package edu.brown.utils

Examples of edu.brown.utils.ProjectType


    }
   
    @SuppressWarnings("unchecked")
    public static <T extends AbstractFixedEstimator> T factory(PartitionEstimator p_estimator, CatalogContext catalogContext) {
        AbstractFixedEstimator estimator = null;
        ProjectType ptype = ProjectType.get(catalogContext.database.getProject());
        switch (ptype) {
            case TPCC:
                estimator = new FixedTPCCEstimator(p_estimator);
                break;
            case TM1:
View Full Code Here


            ArgumentsParser.PARAM_WORKLOAD,
            ArgumentsParser.PARAM_WORKLOAD_OUTPUT
        );
        String output_path = args.getParam(ArgumentsParser.PARAM_WORKLOAD_OUTPUT);
        assert(output_path != null);
        ProjectType type = args.catalog_type;
       
        updateTraceIds(args.catalog_db, args.workload, output_path);
       
       
//        // Fix the workload!
View Full Code Here

        ArgumentsParser args = ArgumentsParser.load(vargs);
        assert (args.stats != null);

        String output_path = args.getParam(ArgumentsParser.PARAM_STATS_OUTPUT);
        assert (output_path != null);
        ProjectType project_type = args.catalog_type;

        // Fix the catalog!
        populateStatistics(project_type, args.catalog_db, args.stats);

        //
View Full Code Here

    /**
     * testGetProcedure
     */
    @Test
    public void testGetProcedure() throws Exception {
        ProjectType type = ProjectType.TPCC;
        this.bt.setUp(type);
        CatalogContext catalogContext = this.bt.getCatalogContext();
        assertNotNull(type.toString(), catalogContext);
       
        Procedure proc0, proc1;
       
        // Regular Procedure
        proc0 = this.bt.getProcedure(catalogContext.database, neworder.class);
View Full Code Here

TOP

Related Classes of edu.brown.utils.ProjectType

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.