blob: a0ed4ab0fe5d5fff68aadab351f8fe479b1020fa [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ListScope (Apache Calcite API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ListScope (Apache Calcite API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ListScope.html">Use</a></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>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.sql.validate</a></div>
<h2 title="Class ListScope" class="title">Class ListScope</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">org.apache.calcite.sql.validate.DelegatingScope</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.validate.ListScope</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="CollectScope.html" title="class in org.apache.calcite.sql.validate">CollectScope</a></code>, <code><a href="JoinScope.html" title="class in org.apache.calcite.sql.validate">JoinScope</a></code>, <code><a href="MatchRecognizeScope.html" title="class in org.apache.calcite.sql.validate">MatchRecognizeScope</a></code>, <code><a href="OverScope.html" title="class in org.apache.calcite.sql.validate">OverScope</a></code>, <code><a href="SelectScope.html" title="class in org.apache.calcite.sql.validate">SelectScope</a></code>, <code><a href="TableScope.html" title="class in org.apache.calcite.sql.validate">TableScope</a></code>, <code><a href="WithScope.html" title="class in org.apache.calcite.sql.validate">WithScope</a></code></dd>
</dl>
<hr>
<pre>public abstract class <span class="typeNameLabel">ListScope</span>
extends <a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></pre>
<div class="block">Abstract base for a scope which is defined by a list of child namespaces and
which inherits from a parent scope.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.apache.calcite.sql.validate.SqlValidatorScope">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.calcite.sql.validate.<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></h3>
<code><a href="SqlValidatorScope.EmptyPath.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.EmptyPath</a>, <a href="SqlValidatorScope.Path.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Path</a>, <a href="SqlValidatorScope.Resolve.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Resolve</a>, <a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>, <a href="SqlValidatorScope.ResolvedImpl.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.ResolvedImpl</a>, <a href="SqlValidatorScope.Step.html" title="class in org.apache.calcite.sql.validate">SqlValidatorScope.Step</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#children">children</a></span></code></th>
<td class="colLast">
<div class="block">List of child <a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate"><code>SqlValidatorNamespace</code></a> objects and their names.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.calcite.sql.validate.DelegatingScope">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.calcite.sql.validate.<a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></h3>
<code><a href="DelegatingScope.html#parent">parent</a>, <a href="DelegatingScope.html#validator">validator</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.sql.validate.SqlValidatorScope)">ListScope</a></span>&#8203;(<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;parent)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">addChild</a></span>&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.lang.String&nbsp;alias,
boolean&nbsp;nullable)</code></th>
<td class="colLast">
<div class="block">Registers a relation in this scope.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAliases(java.util.Collection)">findAliases</a></span>&#8203;(java.util.Collection&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code></th>
<td class="colLast">
<div class="block">Collects the <a href="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>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findAllColumnNames(java.util.List)">findAllColumnNames</a></span>&#8203;(java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</code></th>
<td class="colLast">
<div class="block">Collects the <a href="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>private <a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findChild(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher)">findChild</a></span>&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">findQualifyingTableName</a></span>&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.String,&#8203;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">findQualifyingTableNames</a></span>&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</code></th>
<td class="colLast">
<div class="block">Finds all table aliases which are implicitly qualifying an unqualified
column name.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>(package private) java.util.List&lt;java.lang.String&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildNames()">getChildNames</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an immutable list of child names.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>java.util.List&lt;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getChildren()">getChildren</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an immutable list of child namespaces.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolve</a></span>&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</code></th>
<td class="colLast">
<div class="block">Looks up a node with a given name.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">resolveColumn</a></span>&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</code></th>
<td class="colLast">
<div class="block">Resolves a single identifier to a column, and returns the datatype of
that column.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql.validate.DelegatingScope">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.calcite.sql.validate.<a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></h3>
<code><a href="DelegatingScope.html#addColumnNames(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.util.List)">addColumnNames</a>, <a href="DelegatingScope.html#fullyQualify(org.apache.calcite.sql.SqlIdentifier)">fullyQualify</a>, <a href="DelegatingScope.html#getMonotonicity(org.apache.calcite.sql.SqlNode)">getMonotonicity</a>, <a href="DelegatingScope.html#getOperandScope(org.apache.calcite.sql.SqlCall)">getOperandScope</a>, <a href="DelegatingScope.html#getOrderList()">getOrderList</a>, <a href="DelegatingScope.html#getParent()">getParent</a>, <a href="DelegatingScope.html#getTableNamespace(java.util.List)">getTableNamespace</a>, <a href="DelegatingScope.html#getValidator()">getValidator</a>, <a href="DelegatingScope.html#lookupWindow(java.lang.String)">lookupWindow</a>, <a href="DelegatingScope.html#nullifyType(org.apache.calcite.sql.SqlNode,org.apache.calcite.rel.type.RelDataType)">nullifyType</a>, <a href="DelegatingScope.html#resolveInNamespace(org.apache.calcite.sql.validate.SqlValidatorNamespace,boolean,java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,org.apache.calcite.sql.validate.SqlValidatorScope.Path,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolveInNamespace</a>, <a href="DelegatingScope.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>, <a href="DelegatingScope.html#validateExpr(org.apache.calcite.sql.SqlNode)">validateExpr</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.calcite.sql.validate.SqlValidatorScope">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.calcite.sql.validate.<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></h3>
<code><a href="SqlValidatorScope.html#getNode()">getNode</a>, <a href="SqlValidatorScope.html#isWithin(org.apache.calcite.sql.validate.SqlValidatorScope)">isWithin</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="children">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>children</h4>
<pre>public final&nbsp;java.util.List&lt;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt; children</pre>
<div class="block">List of child <a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate"><code>SqlValidatorNamespace</code></a> objects and their names.</div>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.calcite.sql.validate.SqlValidatorScope)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ListScope</h4>
<pre>public&nbsp;ListScope&#8203;(<a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a>&nbsp;parent)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addChild&#8203;(<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&nbsp;ns,
java.lang.String&nbsp;alias,
boolean&nbsp;nullable)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">SqlValidatorScope</a></code></span></div>
<div class="block">Registers a relation in this scope.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">addChild</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#addChild(org.apache.calcite.sql.validate.SqlValidatorNamespace,java.lang.String,boolean)">addChild</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<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 id="getChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
<pre class="methodSignature">public&nbsp;java.util.List&lt;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;&nbsp;getChildren()</pre>
<div class="block">Returns an immutable list of child namespaces.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of child namespaces</dd>
</dl>
</li>
</ul>
<a id="getChildNames()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildNames</h4>
<pre class="methodSignature">java.util.List&lt;java.lang.String&gt;&nbsp;getChildNames()</pre>
<div class="block">Returns an immutable list of child names.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of child namespaces</dd>
</dl>
</li>
</ul>
<a id="findChild(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findChild</h4>
<pre class="methodSignature">private&nbsp;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&nbsp;findChild&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</pre>
</li>
</ul>
<a id="findAllColumnNames(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAllColumnNames</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;findAllColumnNames&#8203;(java.util.List&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findAllColumnNames(java.util.List)">SqlValidatorScope</a></code></span></div>
<div class="block">Collects the <a href="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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findAllColumnNames(java.util.List)">findAllColumnNames</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#findAllColumnNames(java.util.List)">findAllColumnNames</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<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 id="findAliases(java.util.Collection)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findAliases</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;findAliases&#8203;(java.util.Collection&lt;<a href="SqlMoniker.html" title="interface in org.apache.calcite.sql.validate">SqlMoniker</a>&gt;&nbsp;result)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findAliases(java.util.Collection)">SqlValidatorScope</a></code></span></div>
<div class="block">Collects the <a href="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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findAliases(java.util.Collection)">findAliases</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#findAliases(java.util.Collection)">findAliases</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<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 id="findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>findQualifyingTableName</h4>
<pre class="methodSignature">public&nbsp;<a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a>&lt;java.lang.String,&#8203;<a href="SqlValidatorNamespace.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorNamespace</a>&gt;&nbsp;findQualifyingTableName&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">findQualifyingTableName</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#findQualifyingTableName(java.lang.String,org.apache.calcite.sql.SqlNode)">findQualifyingTableName</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
</dl>
</li>
</ul>
<a id="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 class="methodSignature">public&nbsp;java.util.Map&lt;java.lang.String,&#8203;<a href="ScopeChild.html" title="class in org.apache.calcite.sql.validate">ScopeChild</a>&gt;&nbsp;findQualifyingTableNames&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">SqlValidatorScope</a></code></span></div>
<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="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="IdentifierNamespace.html" title="class in org.apache.calcite.sql.validate"><code>IdentifierNamespace</code></a>, it throws
<code>UnsupportedOperationException</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">findQualifyingTableNames</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#findQualifyingTableNames(java.lang.String,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.validate.SqlNameMatcher)">findQualifyingTableNames</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<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 id="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 class="methodSignature">public&nbsp;void&nbsp;resolve&#8203;(java.util.List&lt;java.lang.String&gt;&nbsp;names,
<a href="SqlNameMatcher.html" title="interface in org.apache.calcite.sql.validate">SqlNameMatcher</a>&nbsp;nameMatcher,
boolean&nbsp;deep,
<a href="SqlValidatorScope.Resolved.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope.Resolved</a>&nbsp;resolved)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">SqlValidatorScope</a></code></span></div>
<div class="block">Looks up a node with a given name. Returns null if none is found.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolve</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#resolve(java.util.List,org.apache.calcite.sql.validate.SqlNameMatcher,boolean,org.apache.calcite.sql.validate.SqlValidatorScope.Resolved)">resolve</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<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 id="resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>resolveColumn</h4>
<pre class="methodSignature">public&nbsp;<a href="../../rel/type/RelDataType.html" title="interface in org.apache.calcite.rel.type">RelDataType</a>&nbsp;resolveColumn&#8203;(java.lang.String&nbsp;columnName,
<a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a>&nbsp;ctx)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="SqlValidatorScope.html#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">SqlValidatorScope</a></code></span></div>
<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="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SqlValidatorScope.html#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">resolveColumn</a></code>&nbsp;in interface&nbsp;<code><a href="SqlValidatorScope.html" title="interface in org.apache.calcite.sql.validate">SqlValidatorScope</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="DelegatingScope.html#resolveColumn(java.lang.String,org.apache.calcite.sql.SqlNode)">resolveColumn</a></code>&nbsp;in class&nbsp;<code><a href="DelegatingScope.html" title="class in org.apache.calcite.sql.validate">DelegatingScope</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>columnName</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>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ListScope.html">Use</a></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>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>