class TableScope extends ListScope
The objects visible are those in the parameters found on the left side of the LATERAL TABLE clause, and objects inherited from the parent scope.
SqlValidatorScope.EmptyPath, SqlValidatorScope.Path, SqlValidatorScope.Resolve, SqlValidatorScope.Resolved, SqlValidatorScope.ResolvedImpl, SqlValidatorScope.Step| Modifier and Type | Field and Description |
|---|---|
private boolean |
beforeLateral |
private SqlNode |
node |
parent, validator| Constructor and Description |
|---|
TableScope(SqlValidatorScope parent,
SqlNode node)
Creates a scope corresponding to a LATERAL TABLE clause.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(SqlValidatorNamespace ns,
String alias,
boolean nullable)
Registers a relation in this scope.
|
SqlNode |
getNode()
Returns the root node of this scope.
|
void |
meetLateral() |
findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, getChildNames, getChildren, resolve, resolveColumnaddColumnNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolveInNamespace, resolveTable, validateExprprivate final SqlNode node
private boolean beforeLateral
TableScope(SqlValidatorScope parent, SqlNode node)
parent - Parent scope, or nullpublic void addChild(SqlValidatorNamespace ns, String alias, boolean nullable)
SqlValidatorScopeaddChild in interface SqlValidatorScopeaddChild in class ListScopens - Namespace representing the result-columns of the relationalias - Alias with which to reference the relation, must not be nullnullable - Whether this is a null-generating side of a joinpublic SqlNode getNode()
SqlValidatorScopepublic void meetLateral()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.