Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ProtectedIndexException


                else {
                    throw new NoSuchIndexException(indexName);
                }
                // no primary key nor connected to a FK
                if(index.isPrimaryKey() || index.isConnectedToFK()) {
                    throw new ProtectedIndexException(indexName, table.getName());
                }
                if (allIndexes != tableIndexes) {
                    allIndexes.add(index);
                }
            }
View Full Code Here


        return this;
    }

    public Index mergeIndex(Index index) {
        if(index.isPrimaryKey()) {
            throw new ProtectedIndexException("PRIMARY", index.getIndexName().getFullTableName());
        }

        final IndexName indexName = index.getIndexName();
        final Index curIndex;
        final Index newIndex;
View Full Code Here

TOP

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

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.