Package org.voltdb.compilereport

Examples of org.voltdb.compilereport.StatementAnnotation


        compiler.captureDiagnosticContext(planString);

        // Stuff the explain plan in an annotation for report generation.
        // N.B. The explain plan is actually in the catalog as of 5/28/13, but
        // plans are in place to remove it shortly.
        StatementAnnotation annotation = new StatementAnnotation();
        annotation.explainPlan = plan.explainedPlan;
        catalogStmt.setAnnotation(annotation);
        // build usage links for report generation
        CatalogUtil.updateUsageAnnotations(db, catalogStmt, plan.rootPlanGraph, plan.subPlanGraph);
View Full Code Here


            pa = new ProcedureAnnotation();
            proc.setAnnotation(pa);
        }
        pa.indexesUsed.add(index);

        StatementAnnotation sa = (StatementAnnotation) stmt.getAnnotation();
        if (sa == null) {
            sa = new StatementAnnotation();
            stmt.setAnnotation(sa);
        }
        sa.indexesUsed.add(index);
    }
View Full Code Here

        }
        else {
            pa.tablesUpdated.add(table);
        }

        StatementAnnotation sa = (StatementAnnotation) stmt.getAnnotation();
        if (sa == null) {
            sa = new StatementAnnotation();
            stmt.setAnnotation(sa);
        }
        if (read) {
            sa.tablesRead.add(table);
        }
View Full Code Here

TOP

Related Classes of org.voltdb.compilereport.StatementAnnotation

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.