Package edu.brown.designer

Examples of edu.brown.designer.Designer


        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


        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new SingleSitedCostModel(catalogContext));
        this.info.setPartitionerClass(MockPartitioner.class);
        assertNotNull(info.getStats());
       
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (MockPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
        this.agraph = AccessGraphGenerator.convertToSingleColumnEdges(catalog_db, this.partitioner.generateAccessGraph());
        assertNotNull(this.agraph);
       
View Full Code Here

        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new TimeIntervalCostModel<SingleSitedCostModel>(catalogContext, SingleSitedCostModel.class, info.getNumIntervals()));
        this.info.setPartitionerClass(MockPartitioner.class);
        assertNotNull(info.getStats());
       
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (MockPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
        this.agraph = AccessGraphGenerator.convertToSingleColumnEdges(catalog_db, this.partitioner.generateAccessGraph());
        assertNotNull(this.agraph);
    }
View Full Code Here

        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

        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new TimeIntervalCostModel<SingleSitedCostModel>(catalogContext, SingleSitedCostModel.class, info.getNumIntervals()));
        this.info.setPartitionerClass(BranchAndBoundPartitioner.class);
        assertNotNull(info.getStats());
       
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (BranchAndBoundPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
        this.agraph = AccessGraphGenerator.convertToSingleColumnEdges(catalog_db, this.partitioner.generateAccessGraph());
        assertNotNull(this.agraph);
    }
View Full Code Here

        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new TimeIntervalCostModel<SingleSitedCostModel>(catalogContext, SingleSitedCostModel.class, info.getNumIntervals()));
        this.info.setPartitionerClass(MockPartitioner.class);
        assertNotNull(info.getStats());
       
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (MockPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
        this.agraph = AccessGraphGenerator.convertToSingleColumnEdges(catalog_db, this.partitioner.generateAccessGraph());
        assertNotNull(this.agraph);
    }
View Full Code Here

        super.setUp(ProjectType.TM1, true);
       
        // BasePartitionerTestCase will setup most of what we need
        this.info.setCostModel(new TimeIntervalCostModel<SingleSitedCostModel>(catalogContext, SingleSitedCostModel.class, info.getNumIntervals()));
        this.info.setPartitionerClass(LNSPartitioner.class);
        this.designer = new Designer(this.info, this.hints, this.info.getArgs());
        this.partitioner = (LNSPartitioner) this.designer.getPartitioner();
        assertNotNull(this.partitioner);
    }
View Full Code Here

        hints.weight_costmodel_multipartition_penalty = 100.0d;
        hints.relaxation_min_size = clone_db.getTables().size();
        hints.limit_local_time = 30;
        hints.limit_total_time = 30;
       
        designer = new Designer(info, hints, info.getArgs());
        LNSPartitioner partitioner = (LNSPartitioner)designer.getPartitioner();
        assertEquals(clone_db, partitioner.info.catalogContext.database);

        // 2012-07-20: This is broken for some reason....
        // PartitionPlan pplan = partitioner.generate(hints);
View Full Code Here

        hints.proc_exclude.add("ResetWarehouse");
//        hints.proc_whitelist.add("neworder");
//        hints.proc_whitelist.add("delivery");
//        hints.proc_include.add("slev");
        try {
            this.designer = new Designer(info, hints, this.args);
        } catch (Exception ex) {
            ex.printStackTrace();
            this.showErrorDialog("Unable to Execute Designer", ex.getMessage());
            return;
        }
View Full Code Here

TOP

Related Classes of edu.brown.designer.Designer

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.