blob: 343ee48ac332fb860d2efe99de28463fd69fdf0b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SqlValidatorScope (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SqlValidatorScope (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":6,"i1":6,"i2":6,"i3":38,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":38,"i11":6,"i12":18,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.EmptyPath.html" title="class in org.apache.calcite.sql.validate"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/SqlValidatorScope.html" target="_top">Frames</a></li>
<li><a href="SqlValidatorScope.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.sql.validate</div>
<h2 title="Interface SqlValidatorScope" class="title">Interface SqlValidatorScope</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/validate/AggregatingScope.html" title="interface in org.apache.calcite.sql.validate">AggregatingScope</a></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/validate/AggregatingSelectScope.html" title="class in org.apache.calcite.sql.validate">AggregatingSelectScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/GroupByScope.html" title="class in org.apache.calcite.sql.validate">GroupByScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/JoinScope.html" title="class in org.apache.calcite.sql.validate">JoinScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/ListScope.html" title="class in org.apache.calcite.sql.validate">ListScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/MatchRecognizeScope.html" title="class in org.apache.calcite.sql.validate">MatchRecognizeScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/OrderByScope.html" title="class in org.apache.calcite.sql.validate">OrderByScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/OverScope.html" title="class in org.apache.calcite.sql.validate">OverScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/ParameterScope.html" title="class in org.apache.calcite.sql.validate">ParameterScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/SelectScope.html" title="class in org.apache.calcite.sql.validate">SelectScope</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">SqlValidatorScope</span></pre>
<div class="block">Name-resolution scope. Represents any position in a parse tree than an
expression can be, or anything in the parse tree which has columns.
<p>When validating an expression, say "foo"."bar", you first use the
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolve-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-boolean-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-"><code>resolve(java.util.List&lt;java.lang.String&gt;, org.apache.calcite.sql.validate.SqlNameMatcher, boolean, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)</code></a> method of the scope where the expression is defined to
locate "foo". If successful, this returns a
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate"><code>namespace</code></a> describing the type of the resulting
object.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Interface and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.EmptyPath.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.EmptyPath</a></span></code>
<div class="block">A path that has no steps.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a></span></code>
<div class="block">A sequence of steps by which an identifier was resolved.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolve.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Resolve</a></span></code>
<div class="block">A match found when looking up a name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a></span></code>
<div class="block">Callback from <a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolve-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-boolean-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-"><code>resolve(java.util.List&lt;java.lang.String&gt;, org.apache.calcite.sql.validate.SqlNameMatcher, boolean, org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)</code></a>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.ResolvedImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.ResolvedImpl</a></span></code>
<div class="block">Default implementation of
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate"><code>SqlValidatorScope.Resolved</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Step.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Step</a></span></code>
<div class="block">A step in resolving an identifier.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#addChild-org.apache.calcite.sql.validate.SqlValidatorNamespace-java.lang.String-boolean-">addChild</a></span>(<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
boolean&nbsp;nullable)</code>
<div class="block">Registers a relation in this scope.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findAliases-java.util.Collection-">findAliases</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code>
<div class="block">Collects the <a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all table aliases (uses of tables in
query FROM clauses) available in this scope.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findAllColumnNames-java.util.List-">findAllColumnNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code>
<div class="block">Collects the <a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all possible columns in this scope.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findQualifyingTableName-java.lang.String-org.apache.calcite.sql.SqlNode-">findQualifyingTableName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findQualifyingTableNames-java.lang.String-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.validate.SqlNameMatcher-"><code>findQualifyingTableNames(String, SqlNode, SqlNameMatcher)</code></a></span></div>
</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.calcite.sql.validate.ScopeChild&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findQualifyingTableNames-java.lang.String-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.validate.SqlNameMatcher-">findQualifyingTableNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</code>
<div class="block">Finds all table aliases which are implicitly qualifying an unqualified
column name.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlQualified.html" title="class in org.apache.calcite.sql.validate">SqlQualified</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#fullyQualify-org.apache.calcite.sql.SqlIdentifier-">fullyQualify</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;identifier)</code>
<div class="block">Converts an identifier into a fully-qualified identifier.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getMonotonicity-org.apache.calcite.sql.SqlNode-">getMonotonicity</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</code>
<div class="block">Returns whether an expression is monotonic in this scope.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getNode--">getNode</a></span>()</code>
<div class="block">Returns the root node of this scope.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getOperandScope-org.apache.calcite.sql.SqlCall-">getOperandScope</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</code>
<div class="block">Returns the scope within which operands to a call are to be validated.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getOrderList--">getOrderList</a></span>()</code>
<div class="block">Returns the expressions by which the rows in this scope are sorted.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getTableNamespace-java.util.List-">getTableNamespace</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolveTable-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-org.apache.calcite.sql.validate.SqlValidatorScope.Path-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-"><code>resolveTable(List, SqlNameMatcher, Path, Resolved)</code></a>.</span></div>
</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#getValidator--">getValidator</a></span>()</code>
<div class="block">Returns the validator which created this scope.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>default boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#isWithin-org.apache.calcite.sql.validate.SqlValidatorScope-">isWithin</a></span>(<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope2)</code>
<div class="block">Returns whether this scope is enclosed within <code>scope2</code> in such
a way that it can see the contents of <code>scope2</code>.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#lookupWindow-java.lang.String-">lookupWindow</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</code>
<div class="block">Finds a window with a given name.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#nullifyType-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.type.RelDataType-">nullifyType</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</code>
<div class="block">Converts the type of an expression to nullable, if the context
warrants it.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolve-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-boolean-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-">resolve</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code>
<div class="block">Looks up a node with a given name.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolveColumn-java.lang.String-org.apache.calcite.sql.SqlNode-">resolveColumn</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code>
<div class="block">Resolves a single identifier to a column, and returns the datatype of
that column.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolveTable-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-org.apache.calcite.sql.validate.SqlValidatorScope.Path-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-">resolveTable</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code>
<div class="block">Looks up a table in this scope from its name.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#validateExpr-org.apache.calcite.sql.SqlNode-">validateExpr</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</code>
<div class="block">Performs any scope-specific validation of an expression.</div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getValidator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValidator</h4>
<pre><a href="../../../../../org/apache/calcite/sql/validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a>&nbsp;getValidator()</pre>
<div class="block">Returns the validator which created this scope.</div>
</li>
</ul>
<a name="getNode--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNode</h4>
<pre><a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;getNode()</pre>
<div class="block">Returns the root node of this scope. Never null.</div>
</li>
</ul>
<a name="resolve-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-boolean-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolve</h4>
<pre>void&nbsp;resolve(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block">Looks up a node with a given name. Returns null if none is found.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>names</code> - Name of node to find, maybe partially or fully qualified</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dd><code>deep</code> - Whether to look more than one level deep</dd>
<dd><code>resolved</code> - Callback wherein to write the match(es) we find</dd>
</dl>
</li>
</ul>
<a name="findQualifyingTableName-java.lang.String-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findQualifyingTableName</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
<a href="../../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;&nbsp;findQualifyingTableName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#findQualifyingTableNames-java.lang.String-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.validate.SqlNameMatcher-"><code>findQualifyingTableNames(String, SqlNode, SqlNameMatcher)</code></a></span></div>
</li>
</ul>
<a name="findQualifyingTableNames-java.lang.String-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.validate.SqlNameMatcher-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findQualifyingTableNames</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,org.apache.calcite.sql.validate.ScopeChild&gt;&nbsp;findQualifyingTableNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</pre>
<div class="block">Finds all table aliases which are implicitly qualifying an unqualified
column name.
<p>This method is only implemented in scopes (such as
<a href="../../../../../org/apache/calcite/sql/validate/SelectScope.html" title="class in org.apache.calcite.sql.validate"><code>SelectScope</code></a>) which can be the
context for name-resolution. In scopes such as
<a href="../../../../../org/apache/calcite/sql/validate/IdentifierNamespace.html" title="class in org.apache.calcite.sql.validate"><code>IdentifierNamespace</code></a>, it throws
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnName</code> - Column name</dd>
<dd><code>ctx</code> - Validation context, to appear in any error thrown</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Map of applicable table alias and namespaces, never null, empty
if no aliases found</dd>
</dl>
</li>
</ul>
<a name="findAllColumnNames-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAllColumnNames</h4>
<pre>void&nbsp;findAllColumnNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block">Collects the <a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all possible columns in this scope.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - an array list of strings to add the result to</dd>
</dl>
</li>
</ul>
<a name="findAliases-java.util.Collection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAliases</h4>
<pre>void&nbsp;findAliases(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block">Collects the <a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="interface in org.apache.calcite.sql.validate"><code>SqlMoniker</code></a>s of all table aliases (uses of tables in
query FROM clauses) available in this scope.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>result</code> - a list of monikers to add the result to</dd>
</dl>
</li>
</ul>
<a name="fullyQualify-org.apache.calcite.sql.SqlIdentifier-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fullyQualify</h4>
<pre><a href="../../../../../org/apache/calcite/sql/validate/SqlQualified.html" title="class in org.apache.calcite.sql.validate">SqlQualified</a>&nbsp;fullyQualify(<a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a>&nbsp;identifier)</pre>
<div class="block">Converts an identifier into a fully-qualified identifier. For example,
the "empno" in "select empno from emp natural join dept" becomes
"emp.empno".</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A qualified identifier, never null</dd>
</dl>
</li>
</ul>
<a name="addChild-org.apache.calcite.sql.validate.SqlValidatorNamespace-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre>void&nbsp;addChild(<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;alias,
boolean&nbsp;nullable)</pre>
<div class="block">Registers a relation in this scope.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ns</code> - Namespace representing the result-columns of the relation</dd>
<dd><code>alias</code> - Alias with which to reference the relation, must not be null</dd>
<dd><code>nullable</code> - Whether this is a null-generating side of a join</dd>
</dl>
</li>
</ul>
<a name="lookupWindow-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>lookupWindow</h4>
<pre><a href="../../../../../org/apache/calcite/sql/SqlWindow.html" title="class in org.apache.calcite.sql">SqlWindow</a>&nbsp;lookupWindow(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name)</pre>
<div class="block">Finds a window with a given name. Returns null if not found.</div>
</li>
</ul>
<a name="getMonotonicity-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMonotonicity</h4>
<pre><a href="../../../../../org/apache/calcite/sql/validate/SqlMonotonicity.html" title="enum in org.apache.calcite.sql.validate">SqlMonotonicity</a>&nbsp;getMonotonicity(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</pre>
<div class="block">Returns whether an expression is monotonic in this scope. For example, if
the scope has previously been sorted by columns X, Y, then X is monotonic
in this scope, but Y is not.</div>
</li>
</ul>
<a name="getOrderList--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOrderList</h4>
<pre><a href="../../../../../org/apache/calcite/sql/SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a>&nbsp;getOrderList()</pre>
<div class="block">Returns the expressions by which the rows in this scope are sorted. If
the rows are unsorted, returns null.</div>
</li>
</ul>
<a name="resolveColumn-java.lang.String-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveColumn</h4>
<pre><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;resolveColumn(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<div class="block">Resolves a single identifier to a column, and returns the datatype of
that column.
<p>If it cannot find the column, returns null. If the column is
ambiguous, throws an error with context <code>ctx</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>name</code> - Name of column</dd>
<dd><code>ctx</code> - Context for exception</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Type of column, if found and unambiguous; null if not found</dd>
</dl>
</li>
</ul>
<a name="getOperandScope-org.apache.calcite.sql.SqlCall-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperandScope</h4>
<pre><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;getOperandScope(<a href="../../../../../org/apache/calcite/sql/SqlCall.html" title="class in org.apache.calcite.sql">SqlCall</a>&nbsp;call)</pre>
<div class="block">Returns the scope within which operands to a call are to be validated.
Usually it is this scope, but when the call is to an aggregate function
and this is an aggregating scope, it will be a a different scope.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>call</code> - Call</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Scope within which to validate arguments to call.</dd>
</dl>
</li>
</ul>
<a name="validateExpr-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validateExpr</h4>
<pre>void&nbsp;validateExpr(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;expr)</pre>
<div class="block">Performs any scope-specific validation of an expression. For example, an
aggregating scope requires that expressions are valid aggregations. The
expression has already been validated.</div>
</li>
</ul>
<a name="getTableNamespace-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTableNamespace</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;getTableNamespace(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolveTable-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-org.apache.calcite.sql.validate.SqlValidatorScope.Path-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-"><code>resolveTable(List, SqlNameMatcher, Path, Resolved)</code></a>.</span></div>
</li>
</ul>
<a name="resolveTable-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-org.apache.calcite.sql.validate.SqlValidatorScope.Path-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resolveTable</h4>
<pre>void&nbsp;resolveTable(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>&nbsp;path,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block">Looks up a table in this scope from its name. If found, calls
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html#resolve-java.util.List-org.apache.calcite.sql.validate.SqlNameMatcher-boolean-org.apache.calcite.sql.validate.SqlValidatorScope.Resolved-"><code>resolve(List, SqlNameMatcher, boolean, Resolved)</code></a>.
<code>TableNamespace</code> that wraps it. If the "table" is defined in a
<code>WITH</code> clause it may be a query, not a table after all.
<p>The name matcher is not null, and one typically uses
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorCatalogReader.html#nameMatcher--"><code>SqlValidatorCatalogReader.nameMatcher()</code></a>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>names</code> - Name of table, may be qualified or fully-qualified</dd>
<dd><code>nameMatcher</code> - Name matcher</dd>
<dd><code>path</code> - List of names that we have traversed through so far</dd>
</dl>
</li>
</ul>
<a name="nullifyType-org.apache.calcite.sql.SqlNode-org.apache.calcite.rel.type.RelDataType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>nullifyType</h4>
<pre><a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;nullifyType(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;type)</pre>
<div class="block">Converts the type of an expression to nullable, if the context
warrants it.</div>
</li>
</ul>
<a name="isWithin-org.apache.calcite.sql.validate.SqlValidatorScope-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isWithin</h4>
<pre>default&nbsp;boolean&nbsp;isWithin(<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;scope2)</pre>
<div class="block">Returns whether this scope is enclosed within <code>scope2</code> in such
a way that it can see the contents of <code>scope2</code>.</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.EmptyPath.html" title="class in org.apache.calcite.sql.validate"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/SqlValidatorScope.html" target="_top">Frames</a></li>
<li><a href="SqlValidatorScope.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>