Package com.foundationdb.ais.model

Examples of com.foundationdb.ais.model.Table.visit()


        final Set<String> schemas = new HashSet<>();
        final List<Integer> tableIDs = new ArrayList<>();
        final Set<TableName> sequences = new HashSet<>();

        // Collect all tables in branch below this point
        table.visit(new AbstractVisitor() {
            @Override
            public void visit(Table table) {
                if(mustBeMemory && !table.hasMemoryTableFactory()) {
                    throw new IllegalArgumentException("Cannot un-register non-memory table");
                }
View Full Code Here


            traverseStart = oldTable;
        } else {
           traverseStart = oldTable.getGroup().getRoot();
        }

        traverseStart.visit(new AbstractVisitor() {
            @Override
            public void visit(Table table) {
                keepTables.add(table);
            }
        });
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.