Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ViewReferencesExist


    private void addView(View view, Collection<View> into, Collection<View> seen,
                         com.foundationdb.ais.model.Schema schema, String schemaName) {
        if (seen.add(view)) {
            for (TableName reference : view.getTableReferences()) {
                if (!reference.getSchemaName().equals(schemaName)) {
                    throw new ViewReferencesExist(schemaName,
                                                  view.getName().getTableName(),
                                                  reference.getSchemaName(),
                                                  reference.getTableName());
                }
                // If reference is to another view, it must come first.
View Full Code Here

TOP

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

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.