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<String> |
names
Fully-qualified name of the catalog.
|
private Set<List<String>> |
schemaNames |
parent, validator| Constructor and Description |
|---|
CatalogScope(SqlValidatorScope parent,
List<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, validateExprfinal com.google.common.collect.ImmutableList<String> names
CatalogScope(SqlValidatorScope parent, List<String> names)
public SqlNode getNode()
SqlValidatorScopeCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.