Package edu.brown.designer.generators

Examples of edu.brown.designer.generators.AccessGraphGenerator


            }

            // Generate a new AccessGraph for this Procedure
            LOG.debug("Generating AccessGraph for " + catalog_proc);
            AccessGraph agraph = new AccessGraph(info.catalogContext.database);
            new AccessGraphGenerator(info, catalog_proc).generate(agraph);
            if (agraph.getVertexCount() == 0) {
                if (LOG.isDebugEnabled())
                    LOG.warn("The workload analyzer created an AccessGraph for " + catalog_proc + " with no vertices. Skipping...");
                continue;
            }
View Full Code Here


            if (info.workload.getTraces(catalog_proc).isEmpty()) {
                if (debug.val)
                    LOG.debug("No " + catalog_proc + " transactions in workload. Skipping...");
            } else if (this.designer.getGraphs(catalog_proc) != null) {
                this.designer.getGraphs(catalog_proc).add(agraph);
                new AccessGraphGenerator(info, catalog_proc).generate(agraph);
            }
        } // FOR
        // GraphVisualizationPanel.createFrame(agraph).setVisible(true);
        return (agraph);
    }
View Full Code Here

        for (Procedure catalog_proc : catalog_db.getProcedures()) {
            // Skip if there are no transactions in the workload for this
            // procedure
            if (workload.getTraces(catalog_proc).isEmpty() || catalog_proc.getSystemproc())
                continue;
            new AccessGraphGenerator(info, catalog_proc).generate(agraph);
        } // FOR

        double ret = 1;
        for (Table catalog_tbl : catalog_db.getTables()) {
            DesignerVertex v = agraph.getVertex(catalog_tbl);
View Full Code Here

TOP

Related Classes of edu.brown.designer.generators.AccessGraphGenerator

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.