Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.DuplicateColumnNameException


    }
   
    public static void checkDuplicateColumnsInTable(Columnar table, String columnName)
    {
        if (table.getColumn(columnName) != null) {
            throw new DuplicateColumnNameException(table.getName(), columnName);
        }
    }
View Full Code Here


    }
    public static void checkDuplicateColumnPositions(Columnar table, Integer position) {
        if (position < table.getColumns().size() &&
                table.getColumn(position) != null &&
                table.getColumn(position).getPosition().equals(position)) {
            throw new DuplicateColumnNameException (table.getName(), table.getColumn(position).getName());
        }
    }
View Full Code Here

TOP

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

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.