public class SQLSelectParser extends SQLParser
构造器和说明 |
---|
SQLSelectParser(Lexer lexer) |
SQLSelectParser(SQLExprParser exprParser) |
SQLSelectParser(String sql) |
限定符和类型 | 方法和说明 |
---|---|
void |
acceptKeyword(String ident) |
SQLExpr |
expr() |
void |
parseFrom(SQLSelectQueryBlock queryBlock) |
SQLOrderBy |
parseOrderBy() |
SQLTableSource |
parseTableSource() |
SQLSelectQuery |
query() |
SQLSelectQuery |
queryRest(SQLSelectQuery selectQuery) |
SQLSelect |
select() |
SQLUnionQuery |
unionRest(SQLUnionQuery union) |
public SQLSelectParser(String sql)
public SQLSelectParser(Lexer lexer)
public SQLSelectParser(SQLExprParser exprParser)
public SQLSelect select() throws ParserException
ParserException
public SQLUnionQuery unionRest(SQLUnionQuery union)
public SQLSelectQuery queryRest(SQLSelectQuery selectQuery) throws ParserException
ParserException
public SQLSelectQuery query() throws ParserException
ParserException
public void parseFrom(SQLSelectQueryBlock queryBlock) throws ParserException
ParserException
public SQLTableSource parseTableSource() throws ParserException
ParserException
public SQLExpr expr()
public SQLOrderBy parseOrderBy() throws ParserException
ParserException
public void acceptKeyword(String ident)
Copyright © 2012 Alibaba Group. All Rights Reserved.