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

Examples of com.alibaba.druid.sql.dialect.hive.ast.stmt.HiveShowTablesStatement


            lexer.nextToken();

            if (lexer.token() == Token.TABLES) {
                lexer.nextToken();

                HiveShowTablesStatement stmt = new HiveShowTablesStatement();

                if (lexer.token() == Token.LITERAL_CHARS) {
                    stmt.setPattern((SQLCharExpr) exprParser.primary());
                }

                statementList.add(stmt);
                return true;
            }
View Full Code Here


        acceptIdentifier("SHOW");

        if (identifierEquals("TABLES")) {
            lexer.nextToken();

            HiveShowTablesStatement stmt = new HiveShowTablesStatement();

            if (lexer.token() == Token.LITERAL_CHARS) {
                stmt.setPattern((SQLCharExpr) exprParser.primary());
            }

            return stmt;
        }
View Full Code Here

        acceptIdentifier("SHOW");

        if (identifierEquals("TABLES")) {
            lexer.nextToken();

            HiveShowTablesStatement stmt = new HiveShowTablesStatement();

            if (lexer.token() == Token.LITERAL_CHARS) {
                stmt.setPattern((SQLCharExpr) exprParser.primary());
            }

            return stmt;
        }
View Full Code Here

TOP

Related Classes of com.alibaba.druid.sql.dialect.hive.ast.stmt.HiveShowTablesStatement

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.