Package com.alibaba.druid.sql.dialect.postgresql.ast.stmt

Examples of com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGFunctionTableSource


            String alias = this.as();

            if (lexer.token() == Token.LPAREN) {
                SQLExprTableSource exprTableSource = (SQLExprTableSource) tableSource;

                PGFunctionTableSource functionTableSource = new PGFunctionTableSource(exprTableSource.getExpr());
                functionTableSource.setAlias(alias);

                lexer.nextToken();
                parserParameters(functionTableSource.getParameters());
                accept(Token.RPAREN);

                return super.parseTableSourceRest(functionTableSource);
            }
        }
View Full Code Here


        new ForClause().accept(adapter);
        new PGWithQuery().accept(adapter);
        new PGWithClause().accept(adapter);
        new PGDeleteStatement().accept(adapter);
        new PGParameter().accept(adapter);
        new PGFunctionTableSource().accept(adapter);
    }
View Full Code Here

            String alias = this.as();

            if (lexer.token() == Token.LPAREN) {
                SQLExprTableSource exprTableSource = (SQLExprTableSource) tableSource;

                PGFunctionTableSource functionTableSource = new PGFunctionTableSource(exprTableSource.getExpr());
                functionTableSource.setAlias(alias);

                lexer.nextToken();
                parserParameters(functionTableSource.getParameters());
                accept(Token.RPAREN);

                return super.parseTableSourceRest(functionTableSource);
            }
        }
View Full Code Here

            String alias = this.as();

            if (lexer.token() == Token.LPAREN) {
                SQLExprTableSource exprTableSource = (SQLExprTableSource) tableSource;

                PGFunctionTableSource functionTableSource = new PGFunctionTableSource(exprTableSource.getExpr());
                functionTableSource.setAlias(alias);

                lexer.nextToken();
                parserParameters(functionTableSource.getParameters());
                accept(Token.RPAREN);

                return super.parseTableSourceRest(functionTableSource);
            }
        }
View Full Code Here

            String alias = this.as();
           
            if (lexer.token() == Token.LPAREN) {
                SQLExprTableSource exprTableSource = (SQLExprTableSource) tableSource;
               
                PGFunctionTableSource functionTableSource = new PGFunctionTableSource(exprTableSource.getExpr());
                functionTableSource.setAlias(alias);
               
                lexer.nextToken();
                parserParameters(functionTableSource.getParameters());
                accept(Token.RPAREN);
               
                return super.parseTableSourceRest(functionTableSource);
            }
        }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.sql.dialect.postgresql.ast.stmt.PGFunctionTableSource

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.