Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.ColumnSizeMismatchException


                Long computedMaxStorage = column.computeStorageSize(false);
                Integer prefix = column.getPrefixSize();
                Integer computedPrefix = column.computePrefixSize();
                if((maxStorage != null) && !maxStorage.equals(computedMaxStorage)) {
                    output.reportFailure(new AISValidationFailure(
                            new ColumnSizeMismatchException(table.getName(), column.getName(),
                                                            "maxStorageSize", maxStorage, computedMaxStorage)
                    ));
                }
                if((prefix != null) && !prefix.equals(computedPrefix)) {
                    output.reportFailure(new AISValidationFailure(
                            new ColumnSizeMismatchException(table.getName(), column.getName(),
                                                            "prefixSize", prefix, computedPrefix)
                    ));
                }
            }
        }
View Full Code Here

TOP

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

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.