Package com.foundationdb.server.error

Examples of com.foundationdb.server.error.SQLParserInternalException


        try {
            node.getLeftResultSet().accept(this);
            node.setResultColumns(node.copyResultColumnsFromLeft());
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
        popBindingContext();
        pushBindingContext(null);
        try {
            node.getRightResultSet().accept(this);
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
        popBindingContext();
    }
View Full Code Here


        try {
            node.getLeftResultSet().accept(this);
            node.setResultColumns(node.copyResultColumnsFromLeft());
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
        popBindingContext();
        pushBindingContext(null);
        try {
            node.getRightResultSet().accept(this);
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
        popBindingContext();
    }
View Full Code Here

            if (Boolean.parseBoolean(getProperty("eliminate-distincts", "true")))
                stmt = distinctEliminator.eliminate(stmt);
            return stmt;
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
    }
View Full Code Here

            }
            catch (SQLParserException ex) {
                throw new SQLParseException(ex);
            }
            catch (StandardException ex) {
                throw new SQLParserInternalException(ex);
            }
            sessionMonitor.enterStage(MonitorStage.OPTIMIZE);
            if (transaction == null) {
                transaction = new ServerTransaction(this, true, ServerTransaction.PeriodicallyCommit.OFF);
                localTransaction = true;
View Full Code Here

            }
            catch (SQLParserException ex) {
                throw new SQLParseException(ex);
            }
            catch (StandardException ex) {
                throw new SQLParserInternalException(ex);
            }
            sessionMonitor.enterStage(MonitorStage.OPTIMIZE);
            if (transaction == null) {
                transaction = new ServerTransaction(this, true, ServerTransaction.PeriodicallyCommit.OFF);
                localTransaction = true;
View Full Code Here

            try {
                typeId = TypeId.getUserDefinedTypeId(metaData.getColumnTypeName(columnIndex),
                                                     false);
            }
            catch (StandardException ex) {
                throw new SQLParserInternalException(ex);
            }
        }
        DataTypeDescriptor sqlType;
        if (typeId.isDecimalTypeId() || typeId.isNumericTypeId()) {
            sqlType = new DataTypeDescriptor(typeId,
View Full Code Here

        CopyStatementNode copyStmt = (CopyStatementNode)stmt;
        try {
            stmt = copyStmt.asQuery();
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }       
        PostgresStatement pstmt = super.finishGenerating(server, sql, stmt,
                                                         params, paramTypes);
        assert (pstmt == this);
        if (copyStmt.getFilename() != null)
View Full Code Here

                        try {
                            param.getSQLsource().setType(sqlType);
                            param.getSQLsource().setUserData(type);
                        }
                        catch (StandardException ex) {
                            throw new SQLParserInternalException(ex);
                        }
                    }
                }
            }
        }
View Full Code Here

        }
        catch (SQLParserException ex) {
            throw new SQLParseException(ex);
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
    }
View Full Code Here

        plan.putWhiteboard(MARKER, ast);
        try {
            plan.setPlan(new Loader((SchemaRulesContext)plan.getRulesContext()).toStatement(ast));
        }
        catch (StandardException ex) {
            throw new SQLParserInternalException(ex);
        }
    }
View Full Code Here

TOP

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

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.