Examples of canExactlyRepresentAnyValueOf()


Examples of org.voltdb.VoltType.canExactlyRepresentAnyValueOf()

            if ( ! columnType.canExactlyRepresentAnyValueOf(paramType)) {
                String msg = "Type mismatch between partition column and partition parameter for procedure " +
                    procedure.getClassname() + " may cause overflow or loss of precision.\nPartition column is type " + columnType +
                    " and partition parameter is type " + paramType;
                throw compiler.new VoltCompilerException(msg);
            } else if ( ! paramType.canExactlyRepresentAnyValueOf(columnType)) {
                String msg = "Type mismatch between partition column and partition parameter for procedure " +
                        procedure.getClassname() + " does not allow the full range of partition key values.\nPartition column is type " + columnType +
                        " and partition parameter is type " + paramType;
                compiler.addWarn(msg);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.