public static class SqlParserUtil.ToTreeListItem extends Object
SqlOperator and a SqlParserPos. Used
by SqlSpecialOperator.reduceExpr(int, org.apache.calcite.sql.SqlSpecialOperator.TokenSequence) and the parser to associate a
parsed operator with a parser position.| Modifier and Type | Field and Description |
|---|---|
private SqlOperator |
op |
private SqlParserPos |
pos |
| Constructor and Description |
|---|
ToTreeListItem(SqlOperator op,
SqlParserPos pos) |
| Modifier and Type | Method and Description |
|---|---|
SqlOperator |
getOperator() |
SqlParserPos |
getPos() |
String |
toString() |
private final SqlOperator op
private final SqlParserPos pos
public ToTreeListItem(SqlOperator op, SqlParserPos pos)
public SqlOperator getOperator()
public SqlParserPos getPos()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.