Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.DuplicateIndexException


    }
   
    public static void checkDuplicateIndexesInTable(Table table, String indexName)
    {
        if (isIndexInTable(table, indexName)) {
            throw new DuplicateIndexException (table.getName(), indexName);
        }
    }
View Full Code Here


    }
   
    public static void checkDuplicateIndexesInGroup(Group group, String indexName)
    {
        if (group.getIndex(indexName) != null) {
            throw new DuplicateIndexException (group.getName(), indexName);
        }
    }
View Full Code Here

            newIndex.markSpatial(index.firstSpatialArgument(),
                                 index.lastSpatialArgument() - index.firstSpatialArgument() + 1);
        }

        if(curIndex != null) {
            throw new DuplicateIndexException(indexName);
        }
        if(index.getKeyColumns().isEmpty()) {
            throw new IndexLacksColumnsException(indexName);
        }
View Full Code Here

TOP

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

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.