Package com.foundationdb.sql.parser

Examples of com.foundationdb.sql.parser.PrepareStatementNode


    @Override
    public PostgresStatement finishGenerating(PostgresServerSession server,
                                              String sql, StatementNode stmt,
                                              List<ParameterNode> params, int[] paramTypes) {
        PrepareStatementNode prepare = (PrepareStatementNode)stmt;
        this.name = prepare.getName();
        this.stmt = prepare.getStatement();
        if (params == null)
            params = new ParameterFinder().find(this.stmt);
        this.params = params;
        this.paramTypes = paramTypes;
        this.sql = sql.substring(this.stmt.getBeginOffset(), this.stmt.getEndOffset() + 1);
View Full Code Here

TOP

Related Classes of com.foundationdb.sql.parser.PrepareStatementNode

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.