Package org.voltdb.compilereport

Examples of org.voltdb.compilereport.TableAnnotation


        Table table = db.getTables().add(name);
        // set max value before return for view table
        table.setTuplelimit(Integer.MAX_VALUE);

        // add the original DDL to the table (or null if it's not there)
        TableAnnotation annotation = new TableAnnotation();
        table.setAnnotation(annotation);

        // handle the case where this is a materialized view
        String query = node.attributes.get("query");
        if (query != null) {
View Full Code Here


        // skip CRUD generated procs
        if (proc.getDefaultproc()) {
            return;
        }

        TableAnnotation ta = (TableAnnotation) table.getAnnotation();
        if (ta == null) {
            ta = new TableAnnotation();
            table.setAnnotation(ta);
        }
        if (read) {
            ta.statementsThatReadThis.add(stmt);
            ta.proceduresThatReadThis.add(proc);
View Full Code Here

TOP

Related Classes of org.voltdb.compilereport.TableAnnotation

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.