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 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 |
---|---|
SqlNode |
getNode()
Returns the root node of this scope.
|
boolean |
isWithin(SqlValidatorScope scope2)
Returns whether this scope is enclosed within
scope2 in such
a way that it can see the contents of scope2 . |
addChild, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, getChildNames, getChildren, resolve, resolveColumn
addColumnNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolveInNamespace, resolveTable, validateExpr
private final SqlNode node
TableScope(SqlValidatorScope parent, SqlNode node)
parent
- Parent scopepublic SqlNode getNode()
SqlValidatorScope
public boolean isWithin(SqlValidatorScope scope2)
SqlValidatorScope
scope2
in such
a way that it can see the contents of scope2
.Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.