blob: 03fe045f753f4709ffdd216a9edcbb86d4fddbb6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<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","所有方法"],2:["t2","实例方法"],4:["t3","抽象方法"],16:["t5","默认方法"],32:["t6","已过时的方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</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="org.apache.calcite.sql.validate中的接口"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.EmptyPath.html" title="org.apache.calcite.sql.validate中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/SqlValidatorScope.html" target="_top">框架</a></li>
<li><a href="SqlValidatorScope.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</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="接口 SqlValidatorScope" class="title">接口 SqlValidatorScope</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已知子接口:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/validate/AggregatingScope.html" title="org.apache.calcite.sql.validate中的接口">AggregatingScope</a></dd>
</dl>
<dl>
<dt>所有已知实现类:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/validate/AggregatingSelectScope.html" title="org.apache.calcite.sql.validate中的类">AggregatingSelectScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/DelegatingScope.html" title="org.apache.calcite.sql.validate中的类">DelegatingScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/GroupByScope.html" title="org.apache.calcite.sql.validate中的类">GroupByScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/JoinScope.html" title="org.apache.calcite.sql.validate中的类">JoinScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/ListScope.html" title="org.apache.calcite.sql.validate中的类">ListScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/MatchRecognizeScope.html" title="org.apache.calcite.sql.validate中的类">MatchRecognizeScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/OrderByScope.html" title="org.apache.calcite.sql.validate中的类">OrderByScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/OverScope.html" title="org.apache.calcite.sql.validate中的类">OverScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/ParameterScope.html" title="org.apache.calcite.sql.validate中的类">ParameterScope</a>, <a href="../../../../../org/apache/calcite/sql/validate/SelectScope.html" title="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="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>嵌套类概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="嵌套类概要表, 列表嵌套类和解释">
<caption><span>嵌套类</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">接口和说明</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="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="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="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="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="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="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="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>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">默认方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</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="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="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="java.util中的类或接口">Collection</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="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="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="java.util中的类或接口">List</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="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="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="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="java.lang中的类或接口">String</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="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="java.lang中的类或接口">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;ctx)</code>
<div class="block"><span class="deprecatedLabel">已过时。</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="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="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="java.lang中的类或接口">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;ctx,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="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="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="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="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="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="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="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="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="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="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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names)</code>
<div class="block"><span class="deprecatedLabel">已过时。</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="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="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="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="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="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="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="org.apache.calcite.sql.validate中的接口">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="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="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="java.lang中的类或接口">String</a>&nbsp;name,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="org.apache.calcite.sql.validate中的接口">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Path.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorScope.Path</a>&nbsp;path,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="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="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>方法详细资料</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="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="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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="org.apache.calcite.sql.validate中的接口">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="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">参数:</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="java.lang中的类或接口">@Deprecated</a>
<a href="../../../../../org/apache/calcite/util/Pair.html" title="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="java.lang中的类或接口">String</a>,<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="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="java.lang中的类或接口">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;ctx)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</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="java.util中的类或接口">Map</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="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="java.lang中的类或接口">String</a>&nbsp;columnName,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;ctx,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="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="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="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="java.lang中的类或接口"><code>UnsupportedOperationException</code></a>.</div>
<dl>
<dt><span class="paramLabel">参数:</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">返回:</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="java.util中的类或接口">List</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="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="org.apache.calcite.sql.validate中的接口"><code>SqlMoniker</code></a>s of all possible columns in this scope.</div>
<dl>
<dt><span class="paramLabel">参数:</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="java.util中的类或接口">Collection</a>&lt;<a href="../../../../../org/apache/calcite/sql/validate/SqlMoniker.html" title="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="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">参数:</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="org.apache.calcite.sql.validate中的类">SqlQualified</a>&nbsp;fullyQualify(<a href="../../../../../org/apache/calcite/sql/SqlIdentifier.html" title="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">返回:</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="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="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">参数:</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="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="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="org.apache.calcite.sql.validate中的枚举">SqlMonotonicity</a>&nbsp;getMonotonicity(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="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="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="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="java.lang中的类或接口">String</a>&nbsp;name,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="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">参数:</span></dt>
<dd><code>name</code> - Name of column</dd>
<dd><code>ctx</code> - Context for exception</dd>
<dt><span class="returnLabel">返回:</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="org.apache.calcite.sql.validate中的接口">SqlValidatorScope</a>&nbsp;getOperandScope(<a href="../../../../../org/apache/calcite/sql/SqlCall.html" title="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">参数:</span></dt>
<dd><code>call</code> - Call</dd>
<dt><span class="returnLabel">返回:</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="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="java.lang中的类或接口">@Deprecated</a>
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorNamespace.html" title="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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</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="java.util中的类或接口">List</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&gt;&nbsp;names,
<a href="../../../../../org/apache/calcite/sql/validate/SqlNameMatcher.html" title="org.apache.calcite.sql.validate中的接口">SqlNameMatcher</a>&nbsp;nameMatcher,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Path.html" title="org.apache.calcite.sql.validate中的类">SqlValidatorScope.Path</a>&nbsp;path,
<a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.Resolved.html" title="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">参数:</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="org.apache.calcite.rel.type中的接口">RelDataType</a>&nbsp;nullifyType(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;node,
<a href="../../../../../org/apache/calcite/rel/type/RelDataType.html" title="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="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="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</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="org.apache.calcite.sql.validate中的接口"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/validate/SqlValidatorScope.EmptyPath.html" title="org.apache.calcite.sql.validate中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/validate/SqlValidatorScope.html" target="_top">框架</a></li>
<li><a href="SqlValidatorScope.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">所有类</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>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</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>