| Package | Description |
|---|---|
| org.apache.calcite.sql.validate |
SQL validation.
|
| Modifier and Type | Method and Description |
|---|---|
static SelectScope |
SqlValidatorUtil.getEnclosingSelectScope(SqlValidatorScope scope) |
SelectScope |
SqlValidator.getRawSelectScope(SqlSelect select)
Returns the scope for resolving the SELECT, GROUP BY and HAVING clauses.
|
SelectScope |
SqlValidatorImpl.getRawSelectScope(SqlSelect select) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
SqlValidatorImpl.addOrExpandField(List<SqlNode> selectItems,
Set<String> aliases,
List<Map.Entry<String,RelDataType>> types,
boolean includeSystemVars,
SelectScope scope,
SqlIdentifier id,
RelDataTypeField field) |
(package private) static boolean |
SqlValidatorUtil.containsMonotonic(SelectScope scope,
SqlNodeList nodes)
Returns whether any of the given expressions are sorted.
|
private boolean |
SqlValidatorImpl.expandStar(List<SqlNode> selectItems,
Set<String> aliases,
List<Map.Entry<String,RelDataType>> types,
boolean includeSystemVars,
SelectScope scope,
SqlNode node) |
private boolean |
SqlValidatorImpl.hasSortedPrefix(SelectScope scope,
SqlNodeList orderList)
Returns whether the prefix is sorted.
|
private boolean |
SqlValidatorImpl.isSortCompatible(SelectScope scope,
SqlNode node,
boolean descending) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.