Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.OrderGroupByIntegerOutOfRange


                Object value = ((ConstantExpression)expression).getValue();
                if ((value instanceof Long) || (value instanceof Integer) ||
                    (value instanceof Short) || (value instanceof Byte)) {
                    int i = ((Number)value).intValue();
                    if ((i <= 0) || (i > projects.size()))
                        throw new OrderGroupByIntegerOutOfRange(which, i, projects.size());
                    expression = (ExpressionNode)projects.get(i-1);
                }
                else
                    throw new OrderGroupByNonIntegerConstant(which, expression.getSQLsource());
            }
View Full Code Here

TOP

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

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.