public class OdpsExprParser extends SQLExprParser
| Modifier and Type | Field and Description |
|---|---|
static String[] |
AGGREGATE_FUNCTIONS |
static long[] |
AGGREGATE_FUNCTIONS_CODES |
| Constructor and Description |
|---|
OdpsExprParser(Lexer lexer) |
OdpsExprParser(String sql) |
OdpsExprParser(String sql,
boolean skipComments,
boolean keepComments) |
| Modifier and Type | Method and Description |
|---|---|
OdpsSelectParser |
createSelectParser() |
SQLDataType |
parseDataType() |
SQLSelectItem |
parseSelectItem() |
SQLExpr |
primaryRest(SQLExpr expr) |
SQLExpr |
relationalRest(SQLExpr expr) |
accept, additive, additiveRest, and, andRest, bitAnd, bitAndRest, bitOr, bitOrRest, bitXor, bitXorRest, createColumnDefinition, expr, exprList, exprList, exprRest, groupComparisionRest, inRest, integerExpr, isAggreateFunction, multiplicative, multiplicativeRest, name, nameRest, names, names, notRationalRest, or, orderBy, orRest, parseAssignItem, parseCheck, parseColumn, parseColumnRest, parseConstaint, parseDataType, parseForeignKey, parseGroupingSet, parseHints, parseHints, parseIntValue, parseLimit, parseOrderBy, parsePartitionValues, parsePrimaryKey, parseSelectOrderByItem, parseUnique, parseUpdateSetItem, primary, relational, shift, shiftRest, xor, xorRestpublic static final String[] AGGREGATE_FUNCTIONS
public static final long[] AGGREGATE_FUNCTIONS_CODES
public OdpsExprParser(Lexer lexer)
public OdpsExprParser(String sql)
public OdpsExprParser(String sql, boolean skipComments, boolean keepComments)
public SQLSelectItem parseSelectItem()
parseSelectItem in class SQLExprParserpublic SQLExpr primaryRest(SQLExpr expr)
primaryRest in class SQLExprParserpublic SQLExpr relationalRest(SQLExpr expr)
relationalRest in class SQLExprParserpublic SQLDataType parseDataType()
parseDataType in class SQLExprParserpublic OdpsSelectParser createSelectParser()
createSelectParser in class SQLExprParserCopyright © 2013–2018 Alibaba Group. All rights reserved.