Package edu.brown.designer

Examples of edu.brown.designer.DesignerHints


            mappings.load(mappings_file, catalog_db);
        }
       
        // Setup everything else (that's just how we roll up in this ma)
        this.info = this.generateInfo(catalogContext);
        this.hints = new DesignerHints();
    }
View Full Code Here


        this.workload = new Workload(catalog);
        this.info = new DesignerInfo(catalogContext, this.workload);
        this.info.setPartitionerClass(PrimaryKeyPartitioner.class);
        this.info.setMappings(correlations);
        this.info.setMappingsFile(correlations_file);
        this.hints = new DesignerHints();

        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (PrimaryKeyPartitioner)this.designer.getPartitioner();
        assertNotNull(this.partitioner);
    }
View Full Code Here

       
        // Setup everything else (that's just how we roll up in this ma)
        this.workload = new Workload(catalog);
        this.info = new DesignerInfo(catalogContext, this.workload);
        this.info.setPartitionerClass(RandomPartitioner.class);
        this.hints = new DesignerHints();

        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (RandomPartitioner)this.designer.getPartitioner();
        assertNotNull(this.partitioner);
        this.partitioner.setLimitedColumns(false);
View Full Code Here

            LOG.fatal(ex.getLocalizedMessage());
            ex.printStackTrace();
            System.exit(1);
        }
        double overall_best_cost = Double.MAX_VALUE;
        DesignerHints proc_hints = hints.clone();

        // We take multiple passes through the partition trees until we come up
        // with one
        // that makes our procedure single-sited
        int round = -1;
View Full Code Here

    }
   
    public void executeDesigner() {
        if (this.args.workload == null) return;
        DesignerInfo info = new DesignerInfo(this.args);
        DesignerHints hints = new DesignerHints();
        hints.proc_exclude.add("ResetWarehouse");
//        hints.proc_whitelist.add("neworder");
//        hints.proc_whitelist.add("delivery");
//        hints.proc_include.add("slev");
        try {
View Full Code Here

TOP

Related Classes of edu.brown.designer.DesignerHints

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.