Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.TableNotInGroupException


    @Override
    public void validate(AkibanInformationSchema ais, AISValidationOutput output) {
        for (Table table : ais.getTables().values()) {
            if (table.getGroup() == null) {
                output.reportFailure(new AISValidationFailure (
                        new TableNotInGroupException (table.getName())));
            }
        }
    }
View Full Code Here


            final Table newRefTable = targetAIS.getTable(refTableName);
            if(newRefTable == null) {
                throw new NoSuchTableException(refTableName);
            }
            if(!newRefTable.getGroup().equals(newGroup)) {
                throw new TableNotInGroupException(refTableName);
            }

            final Column column = indexCol.getColumn();
            final Column newColumn = newRefTable.getColumn(column.getName());
            if(newColumn == null) {
View Full Code Here

TOP

Related Classes of com.foundationdb.server.error.TableNotInGroupException

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.