Package com.foundationdb.ais.util

Examples of com.foundationdb.ais.util.TableChangeValidator.compare()


        // Any GroupIndex changes are entirely derived, ignore any that happen to be passed.
        if(newDefinition.getGroup() != null) {
            newDefinition.getGroup().removeIndexes(newDefinition.getGroup().getIndexes());
        }
        TableChangeValidator v = new TableChangeValidator(origTable, newDefinition, columnChanges, tableIndexChanges);
        v.compare();
        TableChangeValidatorState changeState = v.getState();
        dropGroupIndexDefinitions(session, origTable, changeState.droppedGI);
        Table newTable = schemaManager().getOnlineAIS(session).getTable(origTable.getTableId());
        dropGroupIndexDefinitions(session, newTable, changeState.affectedGI.keySet());
        schemaManager().alterTableDefinitions(session, changeState.descriptions);
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.