Package org.apache.calcite.sql
Interface SqlSpecialOperator.TokenSequence
- Enclosing class:
SqlSpecialOperator
public static interface SqlSpecialOperator.TokenSequence
List of tokens: the input to a parser. Every token is either an operator
(
SqlOperator
) or an expression (SqlNode
), and every token
has a position.-
Method Summary
Modifier and TypeMethodDescriptionboolean
isOp
(int i) node
(int i) op
(int i) parser
(int start, Predicate<PrecedenceClimbingParser.Token> predicate) Creates a parser whose token sequence is a copy of a subset of this token sequence.pos
(int i) void
replaceSublist
(int start, int end, SqlNode e) int
size()
-
Method Details
-
size
int size() -
op
-
pos
-
isOp
boolean isOp(int i) -
node
-
replaceSublist
-
parser
Creates a parser whose token sequence is a copy of a subset of this token sequence.
-