class CatalogScope extends DelegatingScope
SqlValidatorScope
that can see all schemas in the
current catalog.
Occurs near the root of the scope stack; its parent is typically
EmptyScope
.
Helps resolve schema.table.column
column references, such as
select sales.emp.empno from sales.emp
SqlValidatorScope.EmptyPath, SqlValidatorScope.Path, SqlValidatorScope.Resolve, SqlValidatorScope.Resolved, SqlValidatorScope.ResolvedImpl, SqlValidatorScope.Step
Modifier and Type | Field and Description |
---|---|
(package private) com.google.common.collect.ImmutableList<java.lang.String> |
names
Fully-qualified name of the catalog.
|
parent, validator
Constructor and Description |
---|
CatalogScope(SqlValidatorScope parent,
java.util.List<java.lang.String> names) |
Modifier and Type | Method and Description |
---|---|
SqlNode |
getNode()
Returns the root node of this scope.
|
addChild, addColumnNames, findAliases, findAllColumnNames, findQualifyingTableName, findQualifyingTableNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getTableNamespace, getValidator, lookupWindow, nullifyType, resolve, resolveColumn, resolveInNamespace, resolveTable, validateExpr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWithin
final com.google.common.collect.ImmutableList<java.lang.String> names
CatalogScope(SqlValidatorScope parent, java.util.List<java.lang.String> names)
public SqlNode getNode()
SqlValidatorScope
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.