Package | Description |
---|---|
org.apache.calcite.sql |
Provides a SQL parser and object model.
|
org.apache.calcite.sql.fun |
Defines the set of standard SQL row-level functions and
operators.
|
org.apache.calcite.sql.parser |
Provides a SQL parser.
|
Modifier and Type | Method and Description |
---|---|
SqlSpecialOperator.ReduceResult |
SqlSpecialOperator.reduceExpr(int ordinal,
SqlSpecialOperator.TokenSequence list)
Reduces a list of operators and arguments according to the rules of
precedence and associativity.
|
Modifier and Type | Method and Description |
---|---|
SqlSpecialOperator.ReduceResult |
SqlLikeOperator.reduceExpr(int opOrdinal,
SqlSpecialOperator.TokenSequence list) |
SqlSpecialOperator.ReduceResult |
SqlBetweenOperator.reduceExpr(int opOrdinal,
SqlSpecialOperator.TokenSequence list) |
SqlSpecialOperator.ReduceResult |
SqlDotOperator.reduceExpr(int ordinal,
SqlSpecialOperator.TokenSequence list) |
SqlSpecialOperator.ReduceResult |
SqlItemOperator.reduceExpr(int ordinal,
SqlSpecialOperator.TokenSequence list) |
Modifier and Type | Class and Description |
---|---|
private static class |
SqlParserUtil.OldTokenSequenceImpl
Implementation of
SqlSpecialOperator.TokenSequence . |
private static class |
SqlParserUtil.TokenSequenceImpl
Implementation of
SqlSpecialOperator.TokenSequence
based on an existing parser. |
Modifier and Type | Method and Description |
---|---|
static SqlNode |
SqlParserUtil.toTreeEx(SqlSpecialOperator.TokenSequence list,
int start,
int minPrec,
SqlKind stopperKind)
Converts a list of {expression, operator, expression, ...} into a tree,
taking operator precedence and associativity into account.
|
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.